summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-10-11 15:49:48 +0000
committertv <tv@pkgsrc.org>2005-10-11 15:49:48 +0000
commitc96f4ef63a15ee51e7c747a83e4201bd0bef791c (patch)
treea861b6236b62d2259f0b6e634bc4c7ebd9cb2616 /lang
parentd612c80a79582dc5794834499164041f33db8312 (diff)
downloadpkgsrc-c96f4ef63a15ee51e7c747a83e4201bd0bef791c.tar.gz
Move PLIST twiddling to pre-install step where it belongs.
Diffstat (limited to 'lang')
-rw-r--r--lang/sun-jre14/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/sun-jre14/Makefile b/lang/sun-jre14/Makefile
index 395e369e148..dd6222a3c99 100644
--- a/lang/sun-jre14/Makefile
+++ b/lang/sun-jre14/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2005/10/03 21:36:59 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2005/10/11 15:49:48 tv Exp $
# Note: Regen distinfo with PKG_DEFAULT_OPTIONS+=sun-jre-jce
@@ -49,6 +49,8 @@ do-configure:
cd ${WRKSRC}/lib; for file in ${SFILES}; do \
${MV} -f $$file $$file.default; \
done
+
+pre-install:
.if !empty(PKG_OPTIONS:Msun-jre-jce)
cd ${WRKDIR}/jce ; pax -rw -pe -v . ${WRKSRC}/lib/security
${SED} 's/@SUN_JRE14_USE_JCE@//' ${PKGDIR}/PLIST > ${PLIST_SRC}