source: trunk/dports/python/py25-ply/Portfile @ 29563

Last change on this file since 29563 was 29563, checked in by nox@…, 10 years ago

py25-ply: New port (copied from py-ply).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 960 bytes
Line 
1# $Id: Portfile 29563 2007-09-29 20:29:24Z nox@macports.org $
2
3PortSystem      1.0
4PortGroup       python25 1.0
5
6name            py25-ply
7set my_name     ply
8version         2.3
9categories-append   lang devel
10platforms       darwin
11maintainers     nox
12description     lex and yacc implementation for Python
13
14long_description \
15    ${description}
16
17homepage        http://www.dabeaz.com/ply/
18master_sites    ${homepage}
19distname        ply-${version}
20
21checksums       md5 e406e5eef98661d395d901f8cc3d1219 \
22                sha1 2e322cb71a2c9c3fc17cc601de7da26156b00792 \
23                rmd160 4157470feabc38cc01c764bfd72d6e1dc70cf12f
24
25post-destroot {
26    set docdir ${prefix}/share/doc/${my_name}-${version}
27    xinstall -d ${destroot}${docdir}/html
28
29    xinstall -m 0644 -W ${worksrcpath} ANNOUNCE CHANGES COPYING README \
30        TODO ${destroot}${docdir}
31
32    xinstall -m 0644 ${worksrcpath}/doc/ply.html \
33        ${destroot}${docdir}/html
34}
35
36livecheck.check regex
37livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
38
Note: See TracBrowser for help on using the repository browser.