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

Last change on this file was 130937, checked in by larryv@…, 3 years ago

py24-yenc: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 982 bytes
Line 
1# $Id: Portfile 130937 2015-01-04 03:49:02Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python 1.0
5
6name                    py-yenc
7version                 0.2
8revision                1
9platforms               darwin
10license                 GPL-2
11maintainers             nomaintainer
12description             provides raw yEnc encoding/decoding with crc32 calculation
13long_description        py-yenc provides (only) raw yEnc encoding/decoding \
14                                with builitin crc32 calculation.
15
16homepage                http://www.golug.it/yenc.html
17master_sites    http://www.golug.it/pub/yenc/
18distname                yenc-${version}
19checksums               md5 2f1162447da3a25feb321e6776bdbb0a
20
21python.versions 27
22
23if {${name} ne ${subport}} {
24    patchfiles          patch-yenc.c.diff \
25                    patch-yenc.h.diff \
26                    patch-yenc_wrap.c.diff
27   
28    post-destroot       {
29        xinstall -m 644 -W ${worksrcpath} CHANGES COPYING README TODO \
30            ${destroot}${prefix}/share/doc/${subport}
31        xinstall -m 644 -W ${worksrcpath}/examples logo.gif logo.yenc \
32            ydecode.py yencode.py \
33            ${destroot}${prefix}/share/doc/${subport}/examples
34    }
35}
Note: See TracBrowser for help on using the repository browser.