213551bd50
to install and use this NetBSD/i386 JRE/JDK distribution. * Make the scsl-* packages look more like the sun-* JRE and JDK packages. * The scsl-jre15 package was built on NetBSD-2.0.x and needs libstdc++.5.0, so require netbsd>=2.0. Bump the PKGREVISION of scsl-jre15 to 1 to reflect the potential new dependencies on the compat20 and compat30 packages. This addresses part of PR pkg/36797.
33 lines
867 B
Makefile
33 lines
867 B
Makefile
# $NetBSD: Makefile,v 1.3 2007/08/30 17:52:48 jlam Exp $
|
|
|
|
DISTNAME= jdk-${DIST_VER}-${DIST_ARCH}
|
|
PKGNAME= scsl-jdk15-${PKG_VER}
|
|
MASTER_SITES= # empty
|
|
|
|
SHORT_NAME= JDK
|
|
|
|
DEPENDS+= ${PKGNAME_NOREV:S/jdk/jre/:C/p.*$/p/}*:../../lang/scsl-jre15
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/-//:S/_/./g:C/-.*$//}
|
|
JAVA_WRAPPERS= appletviewer apt extcheck idlj jar jarsigner \
|
|
javac javadoc javah javap jdb rmic serialver
|
|
|
|
.include "../../lang/scsl-jre15/Makefile.common"
|
|
|
|
# Remove parts that are in common with the JRE
|
|
#
|
|
post-extract:
|
|
set -e; \
|
|
cd ${WRKSRC}; \
|
|
common=`${AWK} '/^#.*/ { next } /^$$/ { next } { print }' ${FILESDIR}/common`; \
|
|
for i in $$common; do \
|
|
if [ -d "$$i" ]; then \
|
|
${RM} -rf "$$i"; \
|
|
else \
|
|
${RM} -f "$$i"; \
|
|
fi; \
|
|
done
|
|
${RM} -f ${WRKSRC}/jre
|
|
${LN} -s . ${WRKSRC}/jre
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|