Ticket #37552: Portfile.diff
File Portfile.diff, 1.6 KB (added by mndavidoff (Monte Davidoff), 12 years ago) |
---|
-
Portfile
old new 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 1 2 # $Id: Portfile 101224 2013-01-06 14:16:15Z jmr@macports.org $ 2 3 3 4 PortSystem 1.0 4 5 PortGroup python 1.0 5 6 6 7 name py-roundup 7 version 1. 3.38 version 1.4.21 8 9 categories-append www 9 10 license MIT PSF ZPL-2 10 11 maintainers nomaintainer … … 20 21 platforms darwin 21 22 supported_archs noarch 22 23 23 homepage http:// roundup.sf.net/24 homepage http://www.roundup-tracker.org/ 24 25 master_sites http://cheeseshop.python.org/packages/source/r/roundup/ 25 26 distname roundup-${version} 26 27 27 checksums sha1 76242a43974e33ec1fcc711cf3bdd91c18aa46fe 28 checksums rmd160 0e16e797235c26be1a27987c5bdb8a1506a4759f \ 29 sha256 3cb940e7e9063f8c821952796eee3997a8fd944bf570025ccc9a02e19c9ab644 28 30 29 python.versions 2 431 python.versions 25 26 27 30 32 31 33 if {$subport != $name} { 32 pre-build { 33 reinplace "s|man/man1|share/man/man1|" ${worksrcpath}/setup.py 34 } 35 36 post-destroot { 37 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} 38 eval file copy [glob ${worksrcpath}/doc/*] \ 39 ${destroot}${prefix}/share/doc/${subport} 40 eval reinplace "s|${destroot}${prefix}|${prefix}|g" \ 41 [glob ${destroot}${prefix}/bin/*] 42 } 34 depends_build port:py${python.version}-sphinx 43 35 }