diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
commit | 31597853cc377bc7f255d79b8cbdba990fd506a1 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /lang/sun-jre14/Makefile | |
parent | d9176ab5ada46cb1a5d0b147d1c9ac9ba38136d0 (diff) | |
download | pkgsrc-31597853cc377bc7f255d79b8cbdba990fd506a1.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'lang/sun-jre14/Makefile')
-rw-r--r-- | lang/sun-jre14/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lang/sun-jre14/Makefile b/lang/sun-jre14/Makefile index dce8f7f67ff..8574f928f86 100644 --- a/lang/sun-jre14/Makefile +++ b/lang/sun-jre14/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2008/03/05 21:50:22 tnn Exp $ +# $NetBSD: Makefile,v 1.48 2008/04/12 22:43:03 jlam Exp $ # Note: Regen distinfo with PKG_DEFAULT_OPTIONS+=sun-jre-jce @@ -42,9 +42,10 @@ PKG_SUPPORTED_OPTIONS= sun-jre-jce .include "../../mk/bsd.options.mk" +PLIST_VARS+= jce .if !empty(PKG_OPTIONS:Msun-jre-jce) DISTFILES= ${DISTNAME}${EXTRACT_SUFX} jce_policy-1_4_2.zip -PLIST_SUBST+= SUN_JRE14_USE_JCE="" +PLIST.jce= yes END_MESSAGE= \ "" \ @@ -53,8 +54,6 @@ END_MESSAGE= \ "" \ "Under 'Other Downloads' / 'Java Cryptography Extension'" \ "click 'Download' and choose the .zip file." -.else -PLIST_SUBST+= SUN_JRE14_USE_JCE="@comment " .endif # Some of the binaries require libX11, so ensure that requirement is |