diff options
author | drochner <drochner@pkgsrc.org> | 2004-04-15 18:10:06 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2004-04-15 18:10:06 +0000 |
commit | 10002238d32e57ad1090e2e9f9c86fc3a0b471c7 (patch) | |
tree | a34a8143204d20fabd0cefe0ef6ee60774d4a250 /security/pyca | |
parent | 52d2ff4035f12ecc64054e9bcdf4e36d42363b30 (diff) | |
download | pkgsrc-10002238d32e57ad1090e2e9f9c86fc3a0b471c7.tar.gz |
-remove NO_CONFIGURE, PYTHON_PATCH_SCRIPTS is executed pre-configure
-replace non-functional PYTHON_PATCH_SCRIPT_SED override
Diffstat (limited to 'security/pyca')
-rw-r--r-- | security/pyca/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/security/pyca/Makefile b/security/pyca/Makefile index f5ba6a604d0..0da32251d44 100644 --- a/security/pyca/Makefile +++ b/security/pyca/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2003/11/12 03:39:43 jschauma Exp $ +# $NetBSD: Makefile,v 1.6 2004/04/15 18:10:06 drochner Exp $ # Date-based distfile name for pre-releases leading to 0.6.6. DISTNAME= pyca-20031021 @@ -12,7 +12,6 @@ HOMEPAGE= http://www.pyca.de/ COMMENT= Administration tools for X.509/PKIX CA USE_BUILDLINK2= # defined -NO_CONFIGURE= # defined NO_BUILD= # defined .include "../../mk/bsd.prefs.mk" @@ -25,12 +24,22 @@ PKG_SYSCONFDIR.openssl?= /etc/openssl .endif PYTHON_PATCH_SCRIPTS= bin/*.py cgi-bin/*.py sbin/*.py -PYTHON_PATCH_SCRIPT_SED= \ + +PYCA_SCRIPT_FIXUP_SED= \ -e "s|/usr/local/pyca/pylib|${PREFIX}/lib/pyca|g" \ -e "s|/etc/openssl/openssl.cnf|${PKG_SYSCONFDIR}/openssl.cnf|g" \ -e "s|/home/.*/openssl.cnf|${PKG_SYSCONFDIR}/openssl.cnf|g" \ -e "s|/home/.*/pylib|${PREFIX}/lib/pyca|g" +pyca-script-fixup: + cd ${WRKSRC}; for file in ${PYTHON_PATCH_SCRIPTS}; do \ + ${SED} ${PYCA_SCRIPT_FIXUP_SED} \ + <$${file} >$${file}.fixed; \ + ${MV} $${file}.fixed $${file}; \ + done + +post-configure: pyca-script-fixup + do-install: cd ${WRKSRC}; for file in bin/*.py; do \ ${INSTALL_SCRIPT} $${file} ${PREFIX}/bin; \ |