pkgsrc/lang/blackdown-jdk13/Makefile
tv 85570525d2 Fix the "jre" symlink in the various Sun-based JDK packages; it was wrong
for quite some time after the ${PREFIX}/java migration.  Since pkgsrc now
has proper symlink handling in pkg_install, this can now be a simple
PLIST entry rather than an @exec/@unexec pair.
2004-10-11 14:07:36 +00:00

33 lines
868 B
Makefile

# $NetBSD: Makefile,v 1.20 2004/10/11 14:07:36 tv Exp $
#
BASENAME= j2sdk
DISTNAME= ${EXTNAME}-${BLACKDOWN_ARCH}
PKGNAME= blackdown-jdk13-1
PKGREVISION= 4
COMMENT= Linux port of the Blackdown Java(tm) Runtime Environment
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
.endif
PLIST_SRC+= ${PKGDIR}/PLIST
# 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"