Changes between Version 1 and Version 2 of Ticket #41600, comment 4
- Timestamp:
- Dec 9, 2013, 2:23:12 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #41600, comment 4
v1 v2 9 9 {{{ 10 10 --- Portfile.2.7.1 2013-12-09 14:07:38.000000000 +0100 11 +++ Portfile .3.0.2 2013-12-09 14:09:33.000000000 +010011 +++ Portfile 2013-12-09 15:16:52.000000000 +0100 12 12 @@ -1,9 +1,10 @@ 13 13 +# -*- 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 … … 33 33 34 34 depends_lib port:gettext port:m4 port:libiconv 35 @@ -46,10 +47,6 @@ 35 @@ -32,24 +33,33 @@ 36 --mandir=${prefix}/share/man \ 37 --disable-yacc 38 39 +build.args examples/calc++/calc++ \ 40 + examples/mfcalc/mfcalc \ 41 + examples/rpcalc/rpcalc 42 + 43 test.run yes 44 test.target check 45 46 post-destroot { 47 set docdir ${prefix}/share/doc/${name} 48 - xinstall -d ${destroot}${docdir}/examples/calc++ 49 + xinstall -d ${destroot}${docdir} 50 xinstall -m 0444 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS \ 51 THANKS TODO ${destroot}${docdir} 52 + xinstall -d ${destroot}${docdir}/examples/calc++ 53 xinstall -m 444 -W ${worksrcpath}/examples/calc++ \ 54 calc++-driver.cc calc++-driver.hh calc++-parser.cc \ 55 - calc++-parser.hh calc++-parser.stamp calc++-parser.yy \ 56 + calc++-parser.hh calc++-parser.yy \ 36 57 calc++-scanner.cc calc++-scanner.ll calc++.cc location.hh \ 37 position.hh stack.hh test \ 58 - position.hh stack.hh test \ 59 + position.hh stack.hh \ 38 60 ${destroot}${docdir}/examples/calc++ 39 61 - # yacc manpage gets installed even with '--disable-yacc' … … 41 63 - delete ${destroot}${prefix}/share/man/man1/yacc.1 42 64 - } 65 + xinstall -d ${destroot}${docdir}/examples/mfcalc 66 + xinstall -m 444 -W ${worksrcpath}/examples/mfcalc \ 67 + calc.h mfcalc.c mfcalc.h mfcalc.y \ 68 + ${destroot}${docdir}/examples/mfcalc 69 + xinstall -d ${destroot}${docdir}/examples/rpcalc 70 + xinstall -m 444 -W ${worksrcpath}/examples/rpcalc \ 71 + rpcalc.c rpcalc.h rpcalc.y \ 72 + ${destroot}${docdir}/examples/rpcalc 43 73 } 44 74 45 75 variant yacc description "enable yacc compatibility" { 46 @@ -59,4 + 56,3 @@76 @@ -59,4 +69,3 @@ 47 77 livecheck.type regex 48 78 livecheck.url http://ftp.gnu.org/gnu/bison/?C=M&O=D