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 | 6fb7984c3da5ee4fa4943d6fc06d59d025aa715a (patch) | |
tree | a34a8143204d20fabd0cefe0ef6ee60774d4a250 /security/pyca | |
parent | 81a3bb031327212af3962f864df1945426bcec7c (diff) | |
download | pkgsrc-6fb7984c3da5ee4fa4943d6fc06d59d025aa715a.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; \ |