source: trunk/dports/python/py-ply/Portfile

Last change on this file was 148324, checked in by khindenburg@…, 15 months ago

py-ply: add py35 #51285

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
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: Portfile 148324 2016-05-04 02:35:44Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7set my_name         ply
8name                py-${my_name}
9version             3.8
10revision            0
11categories-append   lang devel
12platforms           darwin
13license             BSD
14supported_archs     noarch
15
16python.versions     27 34 35
17
18maintainers         nomaintainer
19
20description         lex and yacc implementation for Python
21long_description    ${description}
22
23homepage            http://www.dabeaz.com/ply/
24master_sites        ${homepage}
25
26distname            ${my_name}-${version}
27
28checksums           rmd160  028af8e860568c10f55321c830cbe8343aaa7012 \
29                    sha256  e7d1bdff026beb159c9942f7a17e102c375638d9478a7ecd4cc0c76afd8de0b8
30
31if {${name} ne ${subport}} {
32    post-destroot {
33        set docdir ${prefix}/share/doc/${subport}
34        xinstall -d ${destroot}${docdir}/html
35
36        xinstall -m 644 -W $worksrcpath ANNOUNCE CHANGES \
37            TODO ${destroot}${docdir}
38
39        xinstall -m 644 $worksrcpath/doc/ply.html \
40            ${destroot}${docdir}/html
41    }
42
43    livecheck.type      none
44} else {
45    livecheck.type      regex
46    livecheck.regex     ${my_name}-(\\d+(?:\\.\\d+)*)
47}
Note: See TracBrowser for help on using the repository browser.