# $Id: Portfile 29563 2007-09-29 20:29:24Z nox@macports.org $ PortSystem 1.0 PortGroup python25 1.0 name py25-ply set my_name ply version 2.3 categories-append lang devel platforms darwin maintainers nox description lex and yacc implementation for Python long_description \ ${description} homepage http://www.dabeaz.com/ply/ master_sites ${homepage} distname ply-${version} checksums md5 e406e5eef98661d395d901f8cc3d1219 \ sha1 2e322cb71a2c9c3fc17cc601de7da26156b00792 \ rmd160 4157470feabc38cc01c764bfd72d6e1dc70cf12f post-destroot { set docdir ${prefix}/share/doc/${my_name}-${version} xinstall -d ${destroot}${docdir}/html xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES COPYING README \ TODO ${destroot}${docdir} xinstall -m 0644 ${worksrcpath}/doc/ply.html \ ${destroot}${docdir}/html } livecheck.check regex livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)