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

Last change on this file since 5325 was 5325, checked in by mww, 17 years ago

prefer xinstall over file copy/mkdir

  • Property svn:eol-style set to native
File size: 1010 bytes
Line 
1# $Id: Portfile,v 1.2 2004/02/08 13:24:56 mww Exp $
2
3PortSystem 1.0
4
5name            py-yenc
6version         0.2
7categories      python
8platforms       darwin
9maintainers     mww@opendarwin.org
10description     provides raw yEnc encoding/decoding with crc32 calculation
11long_description        py-yenc provides (only) raw yEnc encoding/decoding \
12                        with builitin crc32 calculation.
13
14homepage        http://golug.cc.uniud.it/yenc.html
15master_sites    http://golug.cc.uniud.it/pub/yenc/
16distname        yenc-${version}
17checksums       md5 2f1162447da3a25feb321e6776bdbb0a
18
19depends_lib     bin:python:python
20
21use_configure   no
22
23build.cmd       python setup.py
24build.target    build
25
26destroot.cmd    python setup.py
27destroot.destdir        --prefix=${destroot}${prefix}
28
29post-destroot   {
30        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples
31        xinstall -m 644 -W ${worksrcpath} CHANGES COPYING README TODO \
32                ${destroot}${prefix}/share/doc/${name}
33        xinstall -m 644 -W ${worksrcpath}/examples logo.gif logo.yenc \
34                ydecode.py yencode.py \
35                ${destroot}${prefix}/share/doc/${name}/examples
36}
Note: See TracBrowser for help on using the repository browser.