aa6c165684
java hangs compiling DDProvider.java
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2007/04/02 00:48:32 pvalchev Exp $
|
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
BROKEN= "java hangs compiling DDProvider.java"
|
|
.endif
|
|
|
|
COMMENT= "NetBeans Java IDE"
|
|
|
|
DISTNAME= netbeans-5_5-ide_sources
|
|
PKGNAME= netbeans-5.5p0
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.netbeans.org/
|
|
|
|
MAINTAINER= Ian Darwin <ian@openbsd.org>
|
|
|
|
# CDDL
|
|
PERMIT_PACKAGE_CDROM= "CDDL"
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= "CDDL"
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://us2-mirror.netbeans.info/download/5_5/mlfcs/200612070100/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
VMEM_WARNING= Yes
|
|
|
|
MODULES= java
|
|
MODJAVA_VER= 1.5+
|
|
|
|
USE_ZIP= Yes
|
|
|
|
BUILD_DEPENDS= :apache-ant->=1.7.0:devel/apache-ant
|
|
|
|
MAKE_ENV= JAVA_HOME=${JAVA_HOME} \
|
|
ANT_HOME=${LOCALBASE}/ant
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
WRKDIST= ${WRKDIR}/netbeans-src
|
|
|
|
do-build:
|
|
@cd ${WRKDIST}/nbbuild && exec ${SETENV} ${MAKE_ENV} ant -v \
|
|
-Dant.build.javac.source="1.5" -Dant.build.javac.target="1.5"
|
|
|
|
do-install:
|
|
@rm -f ${WRKDIST}/nbbuild/netbeans/bin/*.{cmd,exe}
|
|
@tar -czf - -C ${WRKDIST}/nbbuild netbeans | tar xzf - -C ${PREFIX}
|
|
@sed -e "s+%%NETBEANS_HOME%%+${TRUEPREFIX}/netbeans+g" \
|
|
${WRKBUILD}/netbeans.in > ${WRKBUILD}/netbeans.tmp
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/netbeans.tmp ${PREFIX}/bin/netbeans
|
|
|
|
.include <bsd.port.mk>
|