Ticket #19388: Portfile

File Portfile, 1.1 KB (added by michal@…, 16 years ago)
Line 
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
4PortSystem      1.0
5PortGroup       python26 1.0
6
7name            py26-ply
8set my_name     ply
9version         3.2
10categories-append   lang devel
11platforms       darwin
12maintainers     nox openmaintainer
13description     lex and yacc implementation for Python
14
15long_description \
16    ${description}
17
18homepage        http://www.dabeaz.com/ply/
19master_sites    ${homepage}
20distname        $my_name-$version
21
22checksums       md5     afc9dcfc3284e3a8269c97cc4802cb53\
23                sha1    55cf9c25b00fa49e807a2dcac5431fd12c9c61fb \
24                rmd160  ba5c4111a84347f7b3da4289cddd1a9b2c2ae6de
25
26post-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
37universal_variant   no
38
39livecheck.check regex
40livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)