summaryrefslogtreecommitdiff
path: root/security/py-amkCrypto
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2001-05-14 16:22:35 +0000
committerdrochner <drochner@pkgsrc.org>2001-05-14 16:22:35 +0000
commitc8124ca977bd5c829566c6e6174611dc6d51decc (patch)
treeca3c50873ca24dd7fe9510f3383a5801ec5bbae4 /security/py-amkCrypto
parent52bc4f9c70cd1412da350979380f903982ad6fd8 (diff)
downloadpkgsrc-c8124ca977bd5c829566c6e6174611dc6d51decc.tar.gz
use USE_PYTHON
Diffstat (limited to 'security/py-amkCrypto')
-rw-r--r--security/py-amkCrypto/Makefile20
1 files changed, 5 insertions, 15 deletions
diff --git a/security/py-amkCrypto/Makefile b/security/py-amkCrypto/Makefile
index b88c1617a99..d89cc2e6cfb 100644
--- a/security/py-amkCrypto/Makefile
+++ b/security/py-amkCrypto/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/05/07 00:56:48 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2001/05/14 16:22:36 drochner Exp $
#
DISTNAME= amkCrypto-0.1.3
@@ -14,9 +14,10 @@ COMMENT= cryptographic and hash functions for Python
DEPENDS+= python-2.*:../../lang/python
USE_SSL= YES
-PLIST_SRC= ${WRKDIR}/PLIST
-# we borrow py-Scientific's printpypath
-FILESDIR= ${.CURDIR}/../../math/py-Scientific/files
+USE_PYTHON= yes
+PYBINMODULE= yes
+PYDISTUTILSPKG= yes
+
MAKE_ENV+= SSLBASE="${SSLBASE}"
do-configure:
@@ -24,15 +25,4 @@ do-configure:
${WRKSRC}/setup.py > ${WRKSRC}/setup.py.tmp
${MV} -f ${WRKSRC}/setup.py.tmp ${WRKSRC}/setup.py
-do-build:
- cd ${WRKSRC} && ${LOCALBASE}/bin/python setup.py build
-
-post-build:
- eval `${LOCALBASE}/bin/python ${FILESDIR}/printpypath.py` && \
- ${SED} "s|PYINC|$${PYINC}|g;s|PYSITELIB|$${PYSITELIB}|g" \
- ${PKGDIR}/PLIST >${PLIST_SRC}
-
-do-install:
- cd ${WRKSRC} && ${LOCALBASE}/bin/python setup.py install
-
.include "../../mk/bsd.pkg.mk"