pkgsrc/devel/netbeans-ide/Makefile
joerg 3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00

46 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2008/05/26 02:13:17 joerg Exp $
#
DISTNAME= NetBeansIDE-release351
PKGNAME= netbeans-ide-3.5.1
PKGREVISION= 2
CATEGORIES= editors
MASTER_SITES= http://www.netbeans.org/download/release351/night/build200307252351/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= drue@users.sourceforge.net
HOMEPAGE= http://www.netbeans.org/
COMMENT= NetBeans Java IDE
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= pax
USE_JAVA= run
PKG_JVMS_ACCEPTED= sun-jdk13 sun-jdk14 jdk14 sun-jdk15 jdk15 sun-jdk6 jdk6
NO_CONFIGURE= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/netbeans
SHAREDIR= ${PREFIX}/share/${PKGBASE}
DOCDIR= ${PREFIX}/share/doc/html/${PKGBASE}
INSTALLATION_DIRS= bin
pre-install:
cd ${WRKSRC}/bin && ${RM} -rf *.exe *.cmd *.com \
runide_exe_defaults unsupported
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
${INSTALL_DATA_DIR} ${DESTDIR}${SHAREDIR}
cd ${WRKSRC}/docs && pax -rwpm . ${DESTDIR}${DOCDIR}
for f in CHANGES.html CREDITS.html README.html netbeans.css; \
do \
${INSTALL_DATA} ${WRKSRC}/$${f} ${DESTDIR}${DOCDIR}; \
done
cd ${WRKSRC} && pax -rwpm beans bin lib modules system \
tomcat406 update_tracking ${DESTDIR}${SHAREDIR}
${LN} -sf ${SHAREDIR}/bin/runide.sh ${DESTDIR}${PREFIX}/bin/netbeans
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"