pkgsrc/lang/blackdown-jdk13/Makefile

36 lines
892 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.18 2003/02/11 04:23:15 jlam Exp $
#
BASENAME= j2sdk
DISTNAME= ${EXTNAME}-${BLACKDOWN_ARCH}
PKGNAME= blackdown-jdk13-1
PKGREVISION= 2
COMMENT= Linux port of the Blackdown Java(tm) Runtime Environment
2002-08-08 14:20:18 +02:00
DEPENDS= blackdown-jre13>=1:../../lang/blackdown-jre13
.include "../../lang/blackdown-jre13/Makefile.common"
PLIST_SRC= # empty
.if ${BLACKDOWN_ARCH} == "i386"
PLIST_SRC+= ${PKGDIR}/PLIST.i386
2002-11-23 20:56:08 +01:00
.endif
PLIST_SRC+= ${PKGDIR}/PLIST
2002-11-23 20:56:08 +01:00
# Remove parts that are in common with the JRE.
#
post-extract:
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 \
${RM} -rf $$i; \
else \
${RM} -f $$i; \
fi; \
done
${LN} -sf . ${WRKSRC}/jre
.include "../../mk/bsd.pkg.mk"
PREFIX= ${JVM_HOME}