c78881e844
conflicts with java/netbeans.
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# New ports collection makefile for: netbeans
|
|
# Date Created: 2 Jun 2003
|
|
# Whom: olgeni@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= netbeans3
|
|
PORTVERSION= 3.6
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= # http://www.netbeans.org/download/release36/promoted/FCS/
|
|
DISTNAME= netbeans-3_6
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
COMMENT= A full-featured integrated environment for Java
|
|
|
|
USE_BZIP2= yes
|
|
USE_JAVA= 1.4+
|
|
NO_BUILD= yes
|
|
RESTRICTED= "Restrictive license"
|
|
|
|
WRKSRC= ${WRKDIR}/netbeans
|
|
|
|
DOWNLOAD_URL?= http://www.netbeans.org/download/release36/promoted/FCS/release36-build-tar-bz2.html
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
|
IGNORE= You must manually fetch the source distribution (${DISTFILES}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
|
|
.endif
|
|
|
|
.if ${OSVERSION} >= 500000
|
|
post-patch:
|
|
@${CAT} ${FILESDIR}/bin_runide.sh.diff | ${PATCH} ${WRKSRC}/bin/runide.sh
|
|
@${RM} ${WRKSRC}/bin/runide.sh.orig
|
|
.endif
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/netbeans3
|
|
@${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans3
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans3
|
|
@${LN} -sf ${PREFIX}/netbeans3/bin/runide.sh ${PREFIX}/bin/netbeans3
|
|
|
|
.include <bsd.port.post.mk>
|