summaryrefslogtreecommitdiffstats
path: root/devel/py-mxStack
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-09-12 11:54:11 +0000
committertg <tg@FreeBSD.org>2000-09-12 11:54:11 +0000
commit0caafb3a6c9d91f7737addb392f2fbd749edffbb (patch)
tree3bd77773d5709e6b5c4dc4c2fc5531210285ce26 /devel/py-mxStack
parent54d1e69edb725b40cbb7f9314fcfeb1db0528d4f (diff)
downloadFreeBSD-ports-0caafb3a6c9d91f7737addb392f2fbd749edffbb.zip
FreeBSD-ports-0caafb3a6c9d91f7737addb392f2fbd749edffbb.tar.gz
Use bsd.python.mk.
Diffstat (limited to 'devel/py-mxStack')
-rw-r--r--devel/py-mxStack/Makefile15
-rw-r--r--devel/py-mxStack/pkg-plist30
2 files changed, 22 insertions, 23 deletions
diff --git a/devel/py-mxStack/Makefile b/devel/py-mxStack/Makefile
index ddb18f7..51923cc 100644
--- a/devel/py-mxStack/Makefile
+++ b/devel/py-mxStack/Makefile
@@ -13,24 +13,23 @@ PKGNAMEPREFIX= py-
MAINTAINER= tg@FreeBSD.org
-BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
-RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python15
-
+USE_PYTHON= yes
USE_ZIP= yes
EXTRACT_BEFORE_ARGS= -aq
WRKSRC= ${WRKDIR}/Stack/mxStack
+CONFIGURE_ENV= PYTHON=${PYTHON_CMD}
ALL_TARGET= sharedmods
-PYTHONSCRIPTDIR= ${PREFIX}/lib/python1.5
-STACKDIR= ${PYTHONSCRIPTDIR}/site-packages/Stack
+STACKDIR= ${PYTHON_SITELIBDIR}/Stack
DOCDIR= ${PREFIX}/share/doc/py-mxStack
EXAMPLEDIR= ${PREFIX}/share/examples/py-mxStack
post-extract:
@${CP} ${FILESDIR}/Setup ${WRKSRC}
+ @${CP} ${PYTHON_LIBDIR}/config/Makefile.pre.in ${WRKSRC}
do-configure:
- @(cd ${WRKSRC} && ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot)
+ @(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${MAKE} -f Makefile.pre.in boot)
do-install:
@${MKDIR} ${STACKDIR}
@@ -39,8 +38,8 @@ do-install:
.for file in __init__.py mxStack.so
${INSTALL_DATA} ${WRKDIR}/Stack/mxStack/${file} ${STACKDIR}/mxStack
.endfor
- @${PREFIX}/bin/python ${PYTHONSCRIPTDIR}/compileall.py ${STACKDIR}
- @${PREFIX}/bin/python -O ${PYTHONSCRIPTDIR}/compileall.py ${STACKDIR}
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${STACKDIR}
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${STACKDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKDIR}/Stack/Doc/* ${DOCDIR}
diff --git a/devel/py-mxStack/pkg-plist b/devel/py-mxStack/pkg-plist
index 3900659..565b2a9 100644
--- a/devel/py-mxStack/pkg-plist
+++ b/devel/py-mxStack/pkg-plist
@@ -1,17 +1,17 @@
-lib/python1.5/site-packages/Stack/UserStack.py
-lib/python1.5/site-packages/Stack/UserStack.pyc
-lib/python1.5/site-packages/Stack/UserStack.pyo
-lib/python1.5/site-packages/Stack/__init__.py
-lib/python1.5/site-packages/Stack/__init__.pyc
-lib/python1.5/site-packages/Stack/__init__.pyo
-lib/python1.5/site-packages/Stack/mxStack/__init__.py
-lib/python1.5/site-packages/Stack/mxStack/__init__.pyc
-lib/python1.5/site-packages/Stack/mxStack/__init__.pyo
-lib/python1.5/site-packages/Stack/mxStack/mxStack.so
-@dirrm lib/python1.5/site-packages/Stack/mxStack
-lib/python1.5/site-packages/Stack/stackbench.py
-lib/python1.5/site-packages/Stack/stackbench.pyc
-lib/python1.5/site-packages/Stack/stackbench.pyo
-@dirrm lib/python1.5/site-packages/Stack
+lib/%%PYTHON_VERSION%%/site-packages/Stack/UserStack.py
+lib/%%PYTHON_VERSION%%/site-packages/Stack/UserStack.pyc
+lib/%%PYTHON_VERSION%%/site-packages/Stack/UserStack.pyo
+lib/%%PYTHON_VERSION%%/site-packages/Stack/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/Stack/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/Stack/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/Stack/mxStack/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/Stack/mxStack/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/Stack/mxStack/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/Stack/mxStack/mxStack.so
+lib/%%PYTHON_VERSION%%/site-packages/Stack/stackbench.py
+lib/%%PYTHON_VERSION%%/site-packages/Stack/stackbench.pyc
+lib/%%PYTHON_VERSION%%/site-packages/Stack/stackbench.pyo
share/doc/py-mxStack/mxStack.html
@dirrm share/doc/py-mxStack
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/Stack/mxStack
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/Stack
OpenPOWER on IntegriCloud