2010-08-30 13:11:35 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2010/08/30 17:11:35 fgsch Exp $
|
2004-02-05 18:37:27 -05:00
|
|
|
|
2007-09-15 14:44:36 -04:00
|
|
|
COMMENT= Python interface to the gnuplot plotting program
|
2004-02-05 18:37:27 -05:00
|
|
|
|
2009-05-19 09:56:11 -04:00
|
|
|
MODPY_EGG_VERSION= 1.8
|
|
|
|
DISTNAME= gnuplot-py-${MODPY_EGG_VERSION}
|
2010-07-18 06:50:11 -04:00
|
|
|
PKGNAME= py-${DISTNAME:S/py-//}
|
2010-08-30 13:11:35 -04:00
|
|
|
REVISION = 1
|
2009-05-19 09:56:11 -04:00
|
|
|
CATEGORIES= math graphics
|
2004-02-05 18:37:27 -05:00
|
|
|
|
2009-05-19 09:56:11 -04:00
|
|
|
HOMEPAGE= http://gnuplot-py.sourceforge.net/
|
2004-02-05 18:37:27 -05:00
|
|
|
|
2009-05-19 09:56:11 -04:00
|
|
|
MAINTAINER= Benoit Lecocq <benoit@openbsd.org>
|
2004-02-05 18:37:27 -05:00
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot-py/}
|
|
|
|
|
2004-08-04 15:46:14 -04:00
|
|
|
MODULES= lang/python
|
2004-02-05 18:37:27 -05:00
|
|
|
|
2009-05-19 09:56:11 -04:00
|
|
|
BUILD_DEPENDS+= :py-Numeric-*:math/py-Numeric \
|
|
|
|
::math/py-numpy
|
2004-02-05 18:37:27 -05:00
|
|
|
RUN_DEPENDS+= :py-Numeric-*:math/py-Numeric \
|
2009-10-05 02:58:07 -04:00
|
|
|
:gnuplot-*:math/gnuplot \
|
|
|
|
::math/py-numpy
|
2004-02-05 18:37:27 -05:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-gnuplot
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-gnuplot
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/doc; tar cf - . | tar xf - -C ${DOCSDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/test.py ${EXAMPLESDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|