[93970] trunk/dports/devel/bison/Portfile
mww at macports.org
mww at macports.org
Tue Jun 5 11:25:07 PDT 2012
Revision: 93970
https://trac.macports.org/changeset/93970
Author: mww at macports.org
Date: 2012-06-05 11:25:07 -0700 (Tue, 05 Jun 2012)
Log Message:
-----------
bison: ordering/whitespace changes only
Modified Paths:
--------------
trunk/dports/devel/bison/Portfile
Modified: trunk/dports/devel/bison/Portfile
===================================================================
--- trunk/dports/devel/bison/Portfile 2012-06-05 18:19:08 UTC (rev 93969)
+++ trunk/dports/devel/bison/Portfile 2012-06-05 18:25:07 UTC (rev 93970)
@@ -2,13 +2,14 @@
PortSystem 1.0
-name bison
-version 2.5.1
-categories devel
-maintainers mww
-license GPL-3+
-installs_libs no
-description general-purpose parser generator
+name bison
+version 2.5.1
+categories devel
+maintainers mww
+license GPL-3+
+platforms darwin
+installs_libs no
+description general-purpose parser generator
long_description \
Bison is a general-purpose parser generator that converts a grammar \
description for an LALR context-free grammar into a C program to \
@@ -16,44 +17,43 @@
it to develop a wide range of language parsers, from those used in \
simple desk calculators to complex programming languages.
-homepage http://www.gnu.org/software/bison/
-platforms darwin
-master_sites gnu
+homepage http://www.gnu.org/software/bison/
+master_sites gnu
checksums rmd160 45c2c6fa232bf9697e73653722d51759f284bbd4 \
sha256 fec90caed650270484955ba6ee73ddb01186608799a27fcaaf868e5274c030d8
-use_xz yes
+use_xz yes
-depends_lib port:gettext port:m4 port:libiconv
+depends_lib port:gettext port:m4 port:libiconv
-configure.args --infodir=${prefix}/share/info \
- --mandir=${prefix}/share/man \
- --disable-yacc
+configure.args --infodir=${prefix}/share/info \
+ --mandir=${prefix}/share/man \
+ --disable-yacc
-test.run yes
-test.target check
+test.run yes
+test.target check
post-destroot {
- set docdir ${prefix}/share/doc/${name}
- xinstall -d ${destroot}${docdir}/examples/calc++
- xinstall -m 0444 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS \
- THANKS TODO ${destroot}${docdir}
- xinstall -m 444 -W ${worksrcpath}/examples/calc++ \
- calc++-driver.cc calc++-driver.hh calc++-parser.cc \
- calc++-parser.hh calc++-parser.stamp calc++-parser.yy \
- calc++-scanner.cc calc++-scanner.ll calc++.cc location.hh \
- position.hh stack.hh test \
- ${destroot}${docdir}/examples/calc++
- # yacc manpage gets installed even with '--disable-yacc'
- if {! [variant_isset yacc]} {
- delete ${destroot}${prefix}/share/man/man1/yacc.1
- }
+ set docdir ${prefix}/share/doc/${name}
+ xinstall -d ${destroot}${docdir}/examples/calc++
+ xinstall -m 0444 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS \
+ THANKS TODO ${destroot}${docdir}
+ xinstall -m 444 -W ${worksrcpath}/examples/calc++ \
+ calc++-driver.cc calc++-driver.hh calc++-parser.cc \
+ calc++-parser.hh calc++-parser.stamp calc++-parser.yy \
+ calc++-scanner.cc calc++-scanner.ll calc++.cc location.hh \
+ position.hh stack.hh test \
+ ${destroot}${docdir}/examples/calc++
+ # yacc manpage gets installed even with '--disable-yacc'
+ if {! [variant_isset yacc]} {
+ delete ${destroot}${prefix}/share/man/man1/yacc.1
+ }
}
-livecheck.type regex
-livecheck.url http://ftp.gnu.org/gnu/bison/?C=M&O=D
-livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
-
variant yacc description "enable yacc compatibility" {
configure.args-delete --disable-yacc
}
+livecheck.type regex
+livecheck.url http://ftp.gnu.org/gnu/bison/?C=M&O=D
+livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120605/420acb92/attachment.html>
More information about the macports-changes
mailing list