summaryrefslogtreecommitdiff
path: root/security/py-ecdsa
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-01-27 18:42:11 +0000
committerwiz <wiz@pkgsrc.org>2014-01-27 18:42:11 +0000
commit750851ea667767369e77c81a398f854b39cbbf9a (patch)
tree189587f723ce9d88f64730d176dadd452a1f4473 /security/py-ecdsa
parenta8ce86997e0153e277ba6f540fddb593c3f19f44 (diff)
downloadpkgsrc-750851ea667767369e77c81a398f854b39cbbf9a.tar.gz
Use REPLACE_PYTHON instead of reimplementing it.
Diffstat (limited to 'security/py-ecdsa')
-rw-r--r--security/py-ecdsa/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/security/py-ecdsa/Makefile b/security/py-ecdsa/Makefile
index d7df601bacc..8e7dad4ad12 100644
--- a/security/py-ecdsa/Makefile
+++ b/security/py-ecdsa/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2014/01/27 18:41:14 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2014/01/27 18:42:11 wiz Exp $
DISTNAME= python-ecdsa-0.10
PKGNAME= ${PYPKGPREFIX}-ecdsa-0.10
@@ -15,10 +15,8 @@ LICENSE= mit
WRKSRC= ${WRKDIR}/python-ecdsa-${DISTNAME}
USE_LANGUAGES= # none
-REPLACE_INTERPRETER+= python
-REPLACE.python.old= /usr/bin/env python
-REPLACE.python.new= ${PYTHONBIN}
-REPLACE_FILES.python= ecdsa/ecdsa.py ecdsa/ellipticcurve.py ecdsa/numbertheory.py
+REPLACE_PYTHON= ecdsa/ecdsa.py ecdsa/ellipticcurve.py ecdsa/numbertheory.py
+.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"