Ticket #34236: py-biggles.diff
File py-biggles.diff, 4.6 KB (added by jmroot (Joshua Root), 13 years ago) |
---|
-
python/py-biggles/Portfile
1 1 # $Id$ 2 2 3 3 PortSystem 1.0 4 PortGroup python 241.04 PortGroup python 1.0 5 5 6 6 name py-biggles 7 version 1.6.5 8 revision 1 7 version 1.6.6 9 8 categories python graphics math science 10 9 platforms darwin 11 10 maintainers deric … … 13 12 long_description Biggles is a Python module for the creation of \ 14 13 publication-quality 2D scientific plots. 15 14 homepage http://biggles.sourceforge.net/ 16 master_sites sourceforge: biggles15 master_sites sourceforge:project/biggles/biggles/${version} 17 16 distname python2-biggles-${version} 18 checksums md5 be1ba7a98cd58ce875e181bd60930b63\19 sha1 067f7fd2803bbdf148a29c48da10a667cf304aed\20 rmd160 227ea00cbd73e3d2c502bd3398438fe5420559f617 checksums md5 5a9cfdf9d8401e1705fce43e4e4adaca \ 18 sha1 d2bcd0141845657189ef5834516e50e6cb777702 \ 19 rmd160 a6b16ddfba224402693eca086666fbd6b51ce413 21 20 22 depends_lib lib:libplot.2.2:plotutils port:py24-numpy port:xorg-libXaw 21 python.versions 24 25 26 27 23 22 24 build.target build_ext 25 build.args -I${prefix}/include 26 27 post-extract { 28 # edit setup.py in accordance with INSTALL so that libplot_prefix points to MacPorts prefix 29 system "sed \"s/\\/usr\\/local/[regsub -all {/} $prefix {\/}]/\" ${worksrcpath}/setup.py > ${worksrcpath}/setup.py.tmp" 30 system "mv ${worksrcpath}/setup.py.tmp ${worksrcpath}/setup.py" 23 if {$subport != $name} { 24 depends_lib port:plotutils port:py${python.version}-numpy port:xorg-libXaw 25 26 build.target build_ext 27 build.args -I${prefix}/include 31 28 } -
python/py25-biggles/Portfile
1 # $Id$2 3 PortSystem 1.04 PortGroup python25 1.05 6 name py25-biggles7 version 1.6.58 revision 19 categories python graphics math science10 platforms darwin11 maintainers macports.org:deric12 description Creates 2D scientific plots13 long_description Biggles is a Python module for the creation of \14 publication-quality 2D scientific plots.15 homepage http://biggles.sourceforge.net/16 master_sites sourceforge:biggles17 distname python2-biggles-${version}18 checksums md5 be1ba7a98cd58ce875e181bd60930b63 \19 sha1 067f7fd2803bbdf148a29c48da10a667cf304aed \20 rmd160 227ea00cbd73e3d2c502bd3398438fe5420559f621 22 23 depends_lib lib:libplot.2.2:plotutils port:py25-numpy port:xorg-libXaw24 25 build.target build_ext26 build.args -I${prefix}/include27 28 post-extract {29 # edit setup.py in accordance with INSTALL so that libplot_prefix points to MacPorts prefix30 system "sed \"s/\\/usr\\/local/[regsub -all {/} $prefix {\/}]/\" ${worksrcpath}/setup.py > ${worksrcpath}/setup.py.tmp"31 system "mv ${worksrcpath}/setup.py.tmp ${worksrcpath}/setup.py"32 } -
python/py26-biggles/Portfile
1 # $Id$2 3 PortSystem 1.04 PortGroup python26 1.05 6 name py26-biggles7 version 1.6.58 revision 19 categories python graphics math science10 platforms darwin11 maintainers deric12 description Creates 2D scientific plots13 long_description Biggles is a Python module for the creation of \14 publication-quality 2D scientific plots.15 homepage http://biggles.sourceforge.net/16 master_sites sourceforge:biggles17 distname python2-biggles-${version}18 checksums md5 be1ba7a98cd58ce875e181bd60930b63 \19 sha1 067f7fd2803bbdf148a29c48da10a667cf304aed \20 rmd160 227ea00cbd73e3d2c502bd3398438fe5420559f621 22 23 depends_lib lib:libplot.2.2:plotutils port:py26-numpy port:xorg-libXaw24 25 build.target build_ext26 build.args -I${prefix}/include27 28 post-extract {29 # edit setup.py in accordance with INSTALL so that libplot_prefix points to MacPorts prefix30 system "sed \"s/\\/usr\\/local/[regsub -all {/} $prefix {\/}]/\" ${worksrcpath}/setup.py > ${worksrcpath}/setup.py.tmp"31 system "mv ${worksrcpath}/setup.py.tmp ${worksrcpath}/setup.py"32 }