diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-28 06:12:54 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-28 06:12:54 +0000 |
commit | 3babd03858cf96a0c5599ad5de1a0e8d58c1ba42 (patch) | |
tree | 0e0d1d6a4f54bb863caa2e18d0d33e2069be0198 /math | |
parent | 95ed191e4d5af86a51209b974be8e2ae7aca6448 (diff) | |
download | freebsd-ports-3babd03858cf96a0c5599ad5de1a0e8d58c1ba42.zip |
Pythonize.
Submitted by: tg
Diffstat (limited to 'math')
-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 |