2009-03-25 09:52:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2009/03/25 13:52:31 jasper 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
|
|
|
|
|
|
|
DISTNAME= gnuplot-py-1.7
|
2009-03-25 09:52:31 -04:00
|
|
|
PKGNAME= py-${DISTNAME:S/py-//}p2
|
2004-02-05 18:37:27 -05:00
|
|
|
CATEGORIES= math graphics
|
|
|
|
|
|
|
|
HOMEPAGE= http://gnuplot-py.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
BUILD_DEPENDS+= :py-Numeric-*:math/py-Numeric
|
|
|
|
RUN_DEPENDS+= :py-Numeric-*:math/py-Numeric \
|
|
|
|
:gnuplot-*:math/gnuplot
|
|
|
|
|
|
|
|
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>
|