Ticket #40028: Portfile.diff
File Portfile.diff, 1.2 KB (added by mndavidoff (Monte Davidoff), 11 years ago) |
---|
-
Portfile
old new 6 6 7 7 name py-gmpy2 8 8 epoch 1 9 version 2.0. 09 version 2.0.1 10 10 maintainers alluvialsw.com:md14-macports openmaintainer 11 11 license LGPL-2.1+ 12 12 platforms darwin … … 21 21 master_sites googlecode:gmpy 22 22 distname gmpy2-${version} 23 23 use_zip yes 24 checksums rmd160 f46c4ee9af8828bce476c940878616003bc06519\25 sha256 ecaccceb8fa4f75e631ae0211fd1e1ca1c24d8cdcc371e961052d1d038ac577a24 checksums rmd160 b0ccb003b8733f2413647592fc2a34695b717a83 \ 25 sha256 dee3515909ddcce704d666cd9716d04ed345e6368b77a7a0121e95c2dc86ab74 26 26 27 27 python.versions 26 27 31 32 33 28 28 29 29 if {$subport != $name} { 30 30 depends_lib-append port:gmp port:libmpc port:mpfr 31 31 32 patchfiles patch-setup.py.diff 33 34 post-patch { 35 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py 36 } 37 32 38 post-destroot { 33 39 xinstall -m 644 -W ${worksrcpath} README \ 34 40 ${destroot}${prefix}/share/doc/${subport}