Makefile 899 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.14 2013/03/11 11:23:56 espie Exp $
  2. COMMENT= Python interface to the gnuplot plotting program
  3. MODPY_EGG_VERSION= 1.8
  4. DISTNAME= gnuplot-py-${MODPY_EGG_VERSION}
  5. PKGNAME= py-${DISTNAME:S/py-//}
  6. REVISION = 3
  7. CATEGORIES= math graphics
  8. HOMEPAGE= http://gnuplot-py.sourceforge.net/
  9. MAINTAINER= Benoit Lecocq <benoit@openbsd.org>
  10. # LGPL
  11. PERMIT_PACKAGE_CDROM= Yes
  12. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnuplot-py/}
  13. MODULES= lang/python
  14. BUILD_DEPENDS+= math/py-Numeric \
  15. math/py-numpy
  16. RUN_DEPENDS+= math/py-Numeric \
  17. math/gnuplot \
  18. math/py-numpy
  19. NO_TEST= Yes
  20. DOCSDIR= ${PREFIX}/share/doc/py-gnuplot
  21. EXAMPLESDIR= ${PREFIX}/share/examples/py-gnuplot
  22. post-install:
  23. ${INSTALL_DATA_DIR} ${DOCSDIR}
  24. cd ${WRKSRC}/doc; tar cf - . | tar xf - -C ${DOCSDIR}
  25. ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
  26. ${INSTALL_DATA} ${WRKSRC}/test.py ${EXAMPLESDIR}
  27. .include <bsd.port.mk>