1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python26 1.0 |
---|
6 | |
---|
7 | name py26-ply |
---|
8 | set my_name ply |
---|
9 | version 3.2 |
---|
10 | categories-append lang devel |
---|
11 | platforms darwin |
---|
12 | maintainers nox openmaintainer |
---|
13 | description lex and yacc implementation for Python |
---|
14 | |
---|
15 | long_description \ |
---|
16 | ${description} |
---|
17 | |
---|
18 | homepage http://www.dabeaz.com/ply/ |
---|
19 | master_sites ${homepage} |
---|
20 | distname $my_name-$version |
---|
21 | |
---|
22 | checksums md5 afc9dcfc3284e3a8269c97cc4802cb53\ |
---|
23 | sha1 55cf9c25b00fa49e807a2dcac5431fd12c9c61fb \ |
---|
24 | rmd160 ba5c4111a84347f7b3da4289cddd1a9b2c2ae6de |
---|
25 | |
---|
26 | post-destroot { |
---|
27 | set docdir ${prefix}/share/doc/${my_name}-${version} |
---|
28 | xinstall -d ${destroot}${docdir}/html |
---|
29 | |
---|
30 | xinstall -m 644 -W $worksrcpath ANNOUNCE CHANGES README \ |
---|
31 | TODO ${destroot}${docdir} |
---|
32 | |
---|
33 | xinstall -m 644 $worksrcpath/doc/ply.html \ |
---|
34 | ${destroot}${docdir}/html |
---|
35 | } |
---|
36 | |
---|
37 | universal_variant no |
---|
38 | |
---|
39 | livecheck.check regex |
---|
40 | livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*) |
---|