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 | |
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
-rw-r--r-- | math/py-gnuplot/Makefile | 16 | ||||
-rw-r--r-- | math/py-gnuplot/pkg-plist | 18 |
2 files changed, 16 insertions, 18 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> diff --git a/math/py-gnuplot/pkg-plist b/math/py-gnuplot/pkg-plist index 64f03f589ecc..df14b0cd98db 100644 --- a/math/py-gnuplot/pkg-plist +++ b/math/py-gnuplot/pkg-plist @@ -1,9 +1,9 @@ -lib/python1.5/site-packages/Gnuplot/__init__.pyc -lib/python1.5/site-packages/Gnuplot/demo.pyc -lib/python1.5/site-packages/Gnuplot/gnuplot_Suites.pyc -lib/python1.5/site-packages/Gnuplot/gp.pyc -lib/python1.5/site-packages/Gnuplot/gp_mac.pyc -lib/python1.5/site-packages/Gnuplot/gp_win32.pyc -lib/python1.5/site-packages/Gnuplot/oldplot.pyc -lib/python1.5/site-packages/Gnuplot/test.pyc -@dirrm lib/python1.5/site-packages/Gnuplot +lib/%%PYTHON_VERSION%%/site-packages/Gnuplot/__init__.pyc +lib/%%PYTHON_VERSION%%/site-packages/Gnuplot/demo.pyc +lib/%%PYTHON_VERSION%%/site-packages/Gnuplot/gnuplot_Suites.pyc +lib/%%PYTHON_VERSION%%/site-packages/Gnuplot/gp.pyc +lib/%%PYTHON_VERSION%%/site-packages/Gnuplot/gp_mac.pyc +lib/%%PYTHON_VERSION%%/site-packages/Gnuplot/gp_win32.pyc +lib/%%PYTHON_VERSION%%/site-packages/Gnuplot/oldplot.pyc +lib/%%PYTHON_VERSION%%/site-packages/Gnuplot/test.pyc +@dirrm lib/%%PYTHON_VERSION%%/site-packages/Gnuplot |