[47636] trunk/dports/python

deric at macports.org deric at macports.org
Mon Mar 2 08:26:50 PST 2009


Revision: 47636
          http://trac.macports.org/changeset/47636
Author:   deric at macports.org
Date:     2009-03-02 08:26:50 -0800 (Mon, 02 Mar 2009)
Log Message:
-----------
Biggles 1.6.5 for python25.

Added Paths:
-----------
    trunk/dports/python/py25-biggles/
    trunk/dports/python/py25-biggles/Portfile

Added: trunk/dports/python/py25-biggles/Portfile
===================================================================
--- trunk/dports/python/py25-biggles/Portfile	                        (rev 0)
+++ trunk/dports/python/py25-biggles/Portfile	2009-03-02 16:26:50 UTC (rev 47636)
@@ -0,0 +1,32 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python25 1.0
+
+name             py25-biggles
+version          1.6.5
+revision         1
+categories       python graphics math science
+platforms        darwin
+maintainers      macports.org:deric
+description      Creates 2D scientific plots
+long_description Biggles is a Python module for the creation of \
+                  publication-quality 2D scientific plots.
+homepage         http://biggles.sourceforge.net/
+master_sites     sourceforge:biggles
+distname         python2-biggles-${version}
+checksums        md5     be1ba7a98cd58ce875e181bd60930b63 \
+                 sha1    067f7fd2803bbdf148a29c48da10a667cf304aed \
+                 rmd160  227ea00cbd73e3d2c502bd3398438fe5420559f6
+
+
+depends_lib      lib:libplot.2.2:plotutils port:py25-numpy
+
+build.target       build_ext
+build.args         -I/opt/local/include
+
+post-extract {
+     # edit setup.py in accordance with INSTALL so that libplot_prefix points to MacPorts prefix
+     system "sed \"s/\\/usr\\/local/[regsub -all {/} $prefix {\/}]/\" ${worksrcpath}/setup.py > ${worksrcpath}/setup.py.tmp"
+     system "mv ${worksrcpath}/setup.py.tmp ${worksrcpath}/setup.py"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090302/31c18968/attachment.html>


More information about the macports-changes mailing list