2003-02-11 05:23:14 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2003/02/11 04:23:15 jlam Exp $
|
2001-03-25 01:25:59 +01:00
|
|
|
#
|
|
|
|
|
2002-09-08 12:00:19 +02:00
|
|
|
BASENAME= j2sdk
|
|
|
|
DISTNAME= ${EXTNAME}-${BLACKDOWN_ARCH}
|
|
|
|
PKGNAME= blackdown-jdk13-1
|
2003-02-11 05:23:14 +01:00
|
|
|
PKGREVISION= 2
|
2002-09-08 12:00:19 +02:00
|
|
|
COMMENT= Linux port of the Blackdown Java(tm) Runtime Environment
|
2002-08-08 14:20:18 +02:00
|
|
|
|
2002-09-08 12:00:19 +02:00
|
|
|
DEPENDS= blackdown-jre13>=1:../../lang/blackdown-jre13
|
2001-03-25 01:25:59 +01:00
|
|
|
|
2002-11-25 15:08:22 +01:00
|
|
|
.include "../../lang/blackdown-jre13/Makefile.common"
|
|
|
|
|
2003-01-29 12:02:58 +01:00
|
|
|
PLIST_SRC= # empty
|
2002-11-25 15:08:22 +01:00
|
|
|
.if ${BLACKDOWN_ARCH} == "i386"
|
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.i386
|
2002-11-23 20:56:08 +01:00
|
|
|
.endif
|
2003-01-29 12:02:58 +01:00
|
|
|
PLIST_SRC+= ${PKGDIR}/PLIST
|
2002-11-23 20:56:08 +01:00
|
|
|
|
2003-01-29 12:02:58 +01:00
|
|
|
# Remove parts that are in common with the JRE.
|
|
|
|
#
|
2002-10-13 09:41:57 +02:00
|
|
|
post-extract:
|
2003-01-29 12:02:58 +01:00
|
|
|
common=`${SED} -e "s,\\$${BLACKDOWN_ARCH},${BLACKDOWN_ARCH},g" ${FILESDIR}/common | ${AWK} '/^#.*/ { next } /^$$/ { next } { print }'`; \
|
|
|
|
cd ${WRKSRC}; for i in $$common; do \
|
|
|
|
if [ -d $$i ]; then \
|
2002-11-25 15:08:22 +01:00
|
|
|
${RM} -rf $$i; \
|
2003-01-29 12:02:58 +01:00
|
|
|
else \
|
|
|
|
${RM} -f $$i; \
|
|
|
|
fi; \
|
2002-11-25 15:08:22 +01:00
|
|
|
done
|
2003-02-11 05:23:14 +01:00
|
|
|
${LN} -sf . ${WRKSRC}/jre
|
2001-03-25 01:25:59 +01:00
|
|
|
|
2002-11-25 15:08:22 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|
2002-10-13 09:41:57 +02:00
|
|
|
|
|
|
|
PREFIX= ${JVM_HOME}
|