2005-12-05 21:49:47 +01:00
|
|
|
# $NetBSD: Makefile,v 1.24 2005/12/05 20:50:24 rillig Exp $
|
2001-03-25 01:25:59 +01:00
|
|
|
#
|
|
|
|
|
2005-05-15 13:53:20 +02:00
|
|
|
BD_BASENAME= j2sdk
|
2002-09-08 12:00:19 +02:00
|
|
|
DISTNAME= ${EXTNAME}-${BLACKDOWN_ARCH}
|
|
|
|
PKGNAME= blackdown-jdk13-1
|
2005-02-27 23:30:43 +01:00
|
|
|
PKGREVISION= 5
|
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
|
|
|
|
2005-12-05 21:49:47 +01: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
|
|
|
# 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"
|