2003-06-02 14:18:17 +02:00
|
|
|
# New ports collection makefile for: netbeans
|
|
|
|
# Date Created: 2 Jun 2003
|
|
|
|
# Whom: olgeni@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= netbeans
|
2003-06-11 23:23:58 +02:00
|
|
|
PORTVERSION= 3.5
|
2003-06-02 14:18:17 +02:00
|
|
|
CATEGORIES= java devel
|
2003-06-11 23:23:58 +02:00
|
|
|
MASTER_SITES= # http://www.netbeans.org/download/release35/night/build200306022350/
|
|
|
|
DISTNAME= NetBeansIDE-release35
|
2003-06-02 14:18:17 +02:00
|
|
|
|
|
|
|
MAINTAINER= olgeni@FreeBSD.org
|
|
|
|
COMMENT= A full-featured integrated environment for Java
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2003-06-02 17:51:50 +02:00
|
|
|
USE_JAVA= 1.3+
|
2003-06-02 14:18:17 +02:00
|
|
|
NO_BUILD= yes
|
2003-06-02 17:51:50 +02:00
|
|
|
RESTRICTED= "Restrictive license"
|
2003-06-02 14:18:17 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/netbeans
|
|
|
|
|
2003-06-11 23:23:58 +02:00
|
|
|
DOWNLOAD_URL?= http://www.netbeans.org/download/release35/night/build200306022350/release35-build-tar-bz2.html
|
2003-06-02 17:51:50 +02:00
|
|
|
|
|
|
|
.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
|
|
|
|
|
2003-06-07 21:55:11 +02:00
|
|
|
.if ${OSVERSION} >= 500000
|
|
|
|
post-patch:
|
|
|
|
@${CAT} ${FILESDIR}/bin_runide.sh.diff | ${PATCH} ${WRKSRC}/bin/runide.sh
|
|
|
|
.endif
|
|
|
|
|
2003-06-02 14:18:17 +02:00
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/netbeans
|
|
|
|
@${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans
|
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans
|
|
|
|
@${LN} -sf ${PREFIX}/netbeans/bin/runide.sh ${PREFIX}/bin/netbeans
|
|
|
|
|
2003-06-02 17:51:50 +02:00
|
|
|
.include <bsd.port.post.mk>
|