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.
26 lines
665 B
Makefile
26 lines
665 B
Makefile
# $NetBSD: Makefile,v 1.58 2005/01/30 23:18:38 jmmv Exp $
|
|
#
|
|
|
|
.include "Makefile.common"
|
|
|
|
PKGREVISION= 6
|
|
|
|
CONFLICTS+= kaffe-nox11-[0-9]*
|
|
|
|
JAVA_WRAPPERS= appletviewer jar java javac javadoc javah javakey \
|
|
javap jdb rmic rmiregistry serialver
|
|
|
|
SUPPORT_FILES= ${JAVA_HOME}/jre/lib/security/java.security.default \
|
|
${JAVA_HOME}/jre/lib/security/java.security
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PRINT_PLIST_AWK+= /^java\/kaffe\/jre\/lib\/security\/java.security$$/ \
|
|
{ next; }
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/license.terms ${JAVA_HOME}
|
|
|
|
.include "../../devel/libltdl/convenience.mk"
|
|
.include "../../mk/java-env.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|