1 # $NetBSD: options.mk,v 1.2 2011/08/03 13:28:35 obache Exp $
3 PKG_OPTIONS_VAR
= PKG_OPTIONS.openjdk7
4 PKG_SUPPORTED_OPTIONS
= sun-jre-jce
# jdk-zero-vm
5 PKG_SUGGESTED_OPTIONS
= #
7 .
include "../../mk/bsd.options.mk"
10 ### Java(TM) Cryptography Extension (JCE)
12 .if
!empty
(PKG_OPTIONS
:Msun-jre-jce
)
13 JCE_DISTFILE
= UnlimitedJCEPolicyJDK7.zip
14 DISTFILES
+= ${JCE_DISTFILE}
15 EXTRACT_ONLY
+= ${JCE_DISTFILE}
19 .if
!exists
(${DISTDIR}/${DIST_SUBDIR}/${JCE_DISTFILE})
20 FETCH_MESSAGE
+= "Please download the Java(TM) Cryptography Extension (JCE) Unlimited"
21 FETCH_MESSAGE
+= "Strength Jurisdiction Policy Files 7 '${JCE_DISTFILE}' from:"
22 FETCH_MESSAGE
+= " http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html"
23 FETCH_MESSAGE
+= " and place it in:"
24 FETCH_MESSAGE
+= " ${DISTDIR}/${DIST_SUBDIR}/${JCE_DISTFILE}"
26 FETCH_MESSAGE
+= " Then resume this build by running '"${MAKE
:Q
}"' again."
30 cd
${WRKDIR}/UnlimitedJCEPolicy
&& pax
-rw
-pp .
${DESTDIR}${JAVA_HOME}/jre
/lib
/security
33 # this option builds a JVM without assembly optimisation. Useful for porting.
34 # NOTE: This is work in progress.
35 .if
!empty
(PKG_OPTIONS
:Mjdk-zero-vm
)
36 MAKE_ENV
+= ZERO_BUILD
=true
37 .
include "../../devel/libffi/buildlink3.mk"