diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-09-28 14:12:54 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-09-28 14:12:54 +0800 |
commit | fb113ffbf3bcb30a362bae980825be7ca130ee9e (patch) | |
tree | 645ae5162872d84e597a53c28ad858837813915c /math/py-gnuplot/Makefile | |
parent | 1d0f9fbbd53056c53d6029c7012affe5d4eac726 (diff) | |
download | freebsd-ports-gnome-fb113ffbf3bcb30a362bae980825be7ca130ee9e.tar.gz freebsd-ports-gnome-fb113ffbf3bcb30a362bae980825be7ca130ee9e.tar.zst freebsd-ports-gnome-fb113ffbf3bcb30a362bae980825be7ca130ee9e.zip |
Pythonize.
Submitted by: tg
Diffstat (limited to 'math/py-gnuplot/Makefile')
-rw-r--r-- | math/py-gnuplot/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/math/py-gnuplot/Makefile b/math/py-gnuplot/Makefile index bdfae5e376a6..d374787c8f10 100644 --- a/math/py-gnuplot/Makefile +++ b/math/py-gnuplot/Makefile @@ -13,18 +13,16 @@ DISTNAME= Gnuplot-${PORTVERSION} MAINTAINER= sobomax@FreeBSD.org -BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15 -RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python15 \ - gnuplot:${PORTSDIR}/math/gnuplot \ - ${LOCALBASE}/lib/python1.5/site-packages/Numeric/_numpy.so:${PORTSDIR}/math/numpy +RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \ + ${PYTHON_SITELIBDIR}/Numeric/_numpy.so:${PORTSDIR}/math/numpy + +USE_PYTHON= yes do-build: - @${LOCALBASE}/bin/python \ - ${LOCALBASE}/lib/python1.5/compileall.py ${WRKSRC} + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} do-install: - ${MKDIR} ${PREFIX}/lib/python1.5/site-packages/Gnuplot - ${INSTALL_DATA} ${WRKSRC}/*.py? \ - ${PREFIX}/lib/python1.5/site-packages/Gnuplot + ${MKDIR} ${PYTHON_SITELIBDIR}/Gnuplot + ${INSTALL_DATA} ${WRKSRC}/*.py? ${PYTHON_SITELIBDIR}/Gnuplot .include <bsd.port.mk> |