Ticket #41600: bison.diff
File bison.diff, 2.8 KB (added by akimd (Akim Demaille), 11 years ago) |
---|
-
Portfile.
old new 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id: Portfile 108830 2013-08-02 22:11:18Z jeremyhu@macports.org $ 2 3 3 4 PortSystem 1.0 4 5 5 6 name bison 6 version 2.7.17 version 3.0.2 7 8 epoch 1 8 9 categories devel 9 10 maintainers mww … … 20 21 21 22 homepage http://www.gnu.org/software/bison/ 22 23 master_sites gnu 23 checksums rmd160 933257e61c1098160d4fd71063f340b2ee304671\24 sha256 b409adcbf245baadb68d2f66accf6fdca5e282cafec1b865f4b5e963ba8ea7fb24 checksums rmd160 0a945ce5710a79332fbe594255305f244c24dd74 \ 25 sha256 a2c3e8528bdb50567d6fa26deeb493dc5ccd7e277b865251608a9e43ac928f3c 25 26 use_xz yes 26 27 27 28 depends_lib port:gettext port:m4 port:libiconv … … 32 33 --mandir=${prefix}/share/man \ 33 34 --disable-yacc 34 35 36 build.args examples/calc++/calc++ \ 37 examples/mfcalc/mfcalc \ 38 examples/rpcalc/rpcalc 39 35 40 test.run yes 36 41 test.target check 37 42 38 43 post-destroot { 39 44 set docdir ${prefix}/share/doc/${name} 40 xinstall -d ${destroot}${docdir} /examples/calc++45 xinstall -d ${destroot}${docdir} 41 46 xinstall -m 0444 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS \ 42 47 THANKS TODO ${destroot}${docdir} 48 xinstall -d ${destroot}${docdir}/examples/calc++ 43 49 xinstall -m 444 -W ${worksrcpath}/examples/calc++ \ 44 50 calc++-driver.cc calc++-driver.hh calc++-parser.cc \ 45 calc++-parser.hh calc++-parser. stamp calc++-parser.yy \51 calc++-parser.hh calc++-parser.yy \ 46 52 calc++-scanner.cc calc++-scanner.ll calc++.cc location.hh \ 47 position.hh stack.hh test\53 position.hh stack.hh \ 48 54 ${destroot}${docdir}/examples/calc++ 49 # yacc manpage gets installed even with '--disable-yacc' 50 if {! [variant_isset yacc]} { 51 delete ${destroot}${prefix}/share/man/man1/yacc.1 52 } 55 xinstall -d ${destroot}${docdir}/examples/mfcalc 56 xinstall -m 444 -W ${worksrcpath}/examples/mfcalc \ 57 calc.h mfcalc.c mfcalc.h mfcalc.y \ 58 ${destroot}${docdir}/examples/mfcalc 59 xinstall -d ${destroot}${docdir}/examples/rpcalc 60 xinstall -m 444 -W ${worksrcpath}/examples/rpcalc \ 61 rpcalc.c rpcalc.h rpcalc.y \ 62 ${destroot}${docdir}/examples/rpcalc 53 63 } 54 64 55 65 variant yacc description "enable yacc compatibility" { … … 59 69 livecheck.type regex 60 70 livecheck.url http://ftp.gnu.org/gnu/bison/?C=M&O=D 61 71 livecheck.regex ${name}-(\\d+(?:\\.\\d+)*) 62