pkgsrc/lang/sun-jre13/Makefile
jmmv da5adc365e Convert the Java related packages to use the alternatives system. To do
this, we only need some simple logic in java-env.mk to automatically
generate an ALTERNATIVES file for us.

There are two exceptions, though: fastjar and jikes (pointed out by tv@),
which do not use this file; they have to be handled manually.

Bump PKGREVISION for all affected packages.

While doing this, remove the java-wrapper package, obsoleted by the new
functionality provided by pkg_alternatives.
2005-01-30 23:18:37 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.39 2005/01/30 23:18:38 jmmv Exp $
DISTNAME= j2re-1_3_1_15-linux-i586
PKGNAME= sun-jre13-1.0.15
PKGREVISION= 1
MASTER_SITES= # empty
COMMENT= Sun's Java(tm) Runtime Environment 1.3.1
SHORT= JRE
JAVA_WRAPPERS= java keytool policytool rmid rmiregistry tnameserv
WRKSRC= ${WRKDIR}/jre1.3.1_15
USE_PKGINSTALL= yes
OWN_DIRS= ${JAVA_HOME}
OWN_DIRS+= ${JAVA_HOME}/lib
OWN_DIRS+= ${JAVA_HOME}/lib/images
OWN_DIRS+= ${JAVA_HOME}/lib/images/cursors
OWN_DIRS+= ${JAVA_HOME}/lib/security
SFILES= content-types.properties flavormap.properties
SFILES+= font.properties font.properties.ja
SFILES+= font.properties.zh images/cursors/cursors.properties
SFILES+= jvm.cfg psfont.properties.ja
SFILES+= psfontj2d.properties security/java.security
SUPPORT_FILES= # empty
.for FILE in ${SFILES}
SUPPORT_FILES+= ${JAVA_HOME}/lib/${FILE}.default ${JAVA_HOME}/lib/${FILE}
.endfor
do-configure:
cd ${WRKSRC}/lib; for file in ${SFILES}; do \
${MV} -f $$file $$file.default; \
done
.include "../../lang/sun-jre13/Makefile.common"