# $Id: Portfile,v 1.2 2005/07/27 16:50:18 ben Exp $ PortSystem 1.0 name py-biggles version 1.6.4 categories python maintainers ben@opendarwin.org 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 configure { reinplace "s|/usr/local|${prefix}|g" \ ${worksrcpath}/make.inc reinplace "s|#NUMERIC_CPPFLAGS|NUMERIC_CPPFLAGS|g" \ ${worksrcpath}/make.inc reinplace "s|-I\$(PYINCLUDE)|-I\$(PYINCLUDE) \ -I${prefix}/include/python\$(PYVERSION)/Numeric|g" \ ${worksrcpath}/make.inc reinplace "s|\$(PYPREFIX)/lib|${prefix}/lib|g" \ ${worksrcpath}/make.inc reinplace "s|\$(BIGGLESDIR)|\$(DESTDIR)\$(BIGGLESDIR)|g" \ ${worksrcpath}/Makefile reinplace "s|mkdir |mkdir -p |g" \ ${worksrcpath}/Makefile }