Revision: 100777 https://trac.macports.org/changeset/100777 Author: jmr@macports.org Date: 2012-12-23 23:11:36 -0800 (Sun, 23 Dec 2012) Log Message: ----------- py-tpg: use unified portgroup, update homepage, license, noarch Modified Paths: -------------- trunk/dports/python/py-tpg/Portfile Modified: trunk/dports/python/py-tpg/Portfile =================================================================== --- trunk/dports/python/py-tpg/Portfile 2012-12-24 07:03:42 UTC (rev 100776) +++ trunk/dports/python/py-tpg/Portfile 2012-12-24 07:11:36 UTC (rev 100777) @@ -1,12 +1,13 @@ # $Id$ PortSystem 1.0 -PortGroup python24 1.0 +PortGroup python 1.0 name py-tpg version 3.0.4 -categories python +license LGPL-2.1+ platforms darwin freebsd +supported_archs noarch maintainers nomaintainer description lexical and syntactic parser generator for Python long_description Toy Parser Generator is a lexical and syntactic parser \ @@ -21,19 +22,23 @@ can also add Python code directly into grammar rules \ and build abstract syntax trees while parsing. -homepage http://christophe.delord.free.fr/en/tpg/ -master_sites http://christophe.delord.free.fr/soft/tpg/ +homepage http://cdsoft.fr/tpg/ +master_sites ${homepage} http://distfiles.macports.org/python distname TPG-${version} checksums md5 050352f0c70f627ab843a8b3eae25552 -post-destroot { - xinstall -m 644 -W ${worksrcpath}/doc cmmi10-19.png cmsy10-21.png \ - cmtt10-20.png tpg.css tpg.html tpg11.html tpg13.html \ - tpg14.html tpg19.html tpg6.html tpg7.html tpg8.html tpg9.html \ - tpgch1.html tpgch10.html tpgch11.html tpgch2.html tpgch3.html \ - tpgch4.html tpgch5.html tpgch6.html tpgch7.html tpgch8.html \ - tpgch9.html tpgli1.html tpgli2.html tpgpa1.html tpgpa2.html \ - tpgpa3.html ${destroot}${prefix}/share/doc/${name} - xinstall -m 644 -W ${worksrcpath} ChangeLog License.txt README THANKS \ - ${destroot}${prefix}/share/doc/${name} +python.versions 24 + +if {$subport != $name} { + post-destroot { + xinstall -m 644 -W ${worksrcpath}/doc cmmi10-19.png cmsy10-21.png \ + cmtt10-20.png tpg.css tpg.html tpg11.html tpg13.html \ + tpg14.html tpg19.html tpg6.html tpg7.html tpg8.html tpg9.html \ + tpgch1.html tpgch10.html tpgch11.html tpgch2.html tpgch3.html \ + tpgch4.html tpgch5.html tpgch6.html tpgch7.html tpgch8.html \ + tpgch9.html tpgli1.html tpgli2.html tpgpa1.html tpgpa2.html \ + tpgpa3.html ${destroot}${prefix}/share/doc/${subport} + xinstall -m 644 -W ${worksrcpath} ChangeLog License.txt README THANKS \ + ${destroot}${prefix}/share/doc/${subport} + } }
participants (1)
-
jmr@macports.org