2005-04-18 17:39:04 +02:00
|
|
|
# $NetBSD: Makefile,v 1.24 2005/04/18 15:39:04 jschauma Exp $
|
2004-07-06 13:32:49 +02:00
|
|
|
|
|
|
|
# Note: Regen distinfo with SUN_JRE14_USE_JCE=YES
|
2002-05-14 20:00:54 +02:00
|
|
|
|
2005-04-18 17:39:04 +02:00
|
|
|
DISTNAME= j2re-1_4_2_08-linux-i586
|
|
|
|
PKGNAME= sun-jre14-2.8
|
|
|
|
PKGREVISION= # none
|
2003-01-29 12:13:28 +01:00
|
|
|
MASTER_SITES= # empty
|
2002-05-14 20:00:54 +02:00
|
|
|
|
2003-08-13 05:29:53 +02:00
|
|
|
COMMENT= Sun's Java(tm) 2 Runtime Environment 1.4.2
|
2002-05-14 20:00:54 +02:00
|
|
|
|
2003-12-12 18:17:19 +01:00
|
|
|
SHORT= JRE
|
|
|
|
|
2005-04-18 17:39:04 +02:00
|
|
|
WRKSRC= ${WRKDIR}/j2re1.4.2_08
|
2003-01-29 12:13:28 +01:00
|
|
|
USE_PKGINSTALL= yes
|
2004-10-06 00:09:23 +02:00
|
|
|
JAVA_WRAPPERS= java keytool orbd policytool rmid rmiregistry \
|
|
|
|
servertool tnameserv
|
2004-05-22 23:32:34 +02:00
|
|
|
OWN_DIRS= ${JAVA_HOME}
|
|
|
|
OWN_DIRS+= ${JAVA_HOME}/lib
|
|
|
|
OWN_DIRS+= ${JAVA_HOME}/lib/applet
|
|
|
|
OWN_DIRS+= ${JAVA_HOME}/lib/images
|
|
|
|
OWN_DIRS+= ${JAVA_HOME}/lib/images/cursors
|
|
|
|
OWN_DIRS+= ${JAVA_HOME}/lib/security
|
2003-01-29 12:13:28 +01:00
|
|
|
SFILES= content-types.properties flavormap.properties
|
2004-03-17 23:01:43 +01:00
|
|
|
SFILES+= font.properties.Redhat6.1 font.properties
|
|
|
|
SFILES+= font.properties.ja.Redhat6.1 font.properties.ja.Redhat6.2
|
|
|
|
SFILES+= font.properties.ja.Turbo font.properties.ja.Turbo6.0
|
|
|
|
SFILES+= font.properties.ja font.properties.zh.Turbo
|
2003-01-29 12:13:28 +01:00
|
|
|
SFILES+= images/cursors/cursors.properties i386/jvm.cfg
|
|
|
|
SFILES+= logging.properties psfont.properties.ja
|
|
|
|
SFILES+= psfontj2d.properties security/java.security
|
|
|
|
SUPPORT_FILES= # empty
|
|
|
|
.for FILE in ${SFILES}
|
2004-05-22 23:32:34 +02:00
|
|
|
SUPPORT_FILES+= ${JAVA_HOME}/lib/${FILE}.default ${JAVA_HOME}/lib/${FILE}
|
2003-01-29 12:13:28 +01:00
|
|
|
.endfor
|
|
|
|
|
2004-07-06 13:32:49 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
BUILD_DEFS+= SUN_JRE14_USE_JCE
|
|
|
|
PLIST_SRC= ${WRKDIR}/PLIST
|
|
|
|
|
|
|
|
.if !empty(SUN_JRE14_USE_JCE:M[Yy][Ee][Ss])
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} jce_policy-1_4_2.zip
|
|
|
|
.endif
|
|
|
|
|
2003-01-29 12:13:28 +01:00
|
|
|
do-configure:
|
|
|
|
cd ${WRKSRC}/lib; for file in ${SFILES}; do \
|
|
|
|
${MV} -f $$file $$file.default; \
|
|
|
|
done
|
2004-07-06 13:32:49 +02:00
|
|
|
.if !empty(SUN_JRE14_USE_JCE:M[Yy][Ee][Ss])
|
|
|
|
cd ${WRKDIR}/jce ; pax -rw -pe -v . ${WRKSRC}/lib/security
|
|
|
|
${SED} 's/@SUN_JRE14_USE_JCE@//' ${PKGDIR}/PLIST > ${PLIST_SRC}
|
|
|
|
.else
|
|
|
|
${SED} '/@SUN_JRE14_USE_JCE@/d' ${PKGDIR}/PLIST > ${PLIST_SRC}
|
|
|
|
.endif
|
2003-01-29 12:13:28 +01:00
|
|
|
|
2002-07-28 00:17:45 +02:00
|
|
|
.include "../../lang/sun-jre14/Makefile.common"
|