a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20374 2006-11-02 19:37:36Z blair@macports.org $
PortSystem 1.0
PortGroup python24 1.0
name py-biggles
version 1.6.4
revision 1
categories python
maintainers deric at caveo.se
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 e07bc9e22d830ada274ea71bc6d12556
depends_lib lib:libplot.2.2:plotutils port:py-numeric
post-extract {
# edit setup.py in accordance with INSTALL so that libplot_prefix points to DarwinPorts 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"
}