summaryrefslogtreecommitdiffstats
path: root/java/netbeans/Makefile
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2003-06-02 15:51:50 +0000
committerolgeni <olgeni@FreeBSD.org>2003-06-02 15:51:50 +0000
commitea467a613f8d6fe0840a410a613f5330e0c93e68 (patch)
tree1ff79966e6b62f956a213419dcf1573e59e41f4d /java/netbeans/Makefile
parent705e43eacd011d45796f6db59e41315777771d73 (diff)
downloadFreeBSD-ports-ea467a613f8d6fe0840a410a613f5330e0c93e68.zip
FreeBSD-ports-ea467a613f8d6fe0840a410a613f5330e0c93e68.tar.gz
Merge some fixes from ports/44275 and ports/49100:
* Mark as RESTRICTED * Use java >= 1.3 * Add better package description PR: ports/44275 Submitted by: Stefan Schmidt <stefan.schmidt@twest.de> PR: ports/49100 Submitted by: Angel Todorov <angel.todorov@-u.de>
Diffstat (limited to 'java/netbeans/Makefile')
-rw-r--r--java/netbeans/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/java/netbeans/Makefile b/java/netbeans/Makefile
index abc4bae..fa06c10 100644
--- a/java/netbeans/Makefile
+++ b/java/netbeans/Makefile
@@ -8,22 +8,31 @@
PORTNAME= netbeans
PORTVERSION= 3.4.1
CATEGORIES= java devel
-MASTER_SITES= http://www.netbeans.org/download/release341/night/build200301202341/
+MASTER_SITES= # http://www.netbeans.org/download/release341/night/build200301202341/
DISTNAME= NetBeansIDE-release341
MAINTAINER= olgeni@FreeBSD.org
COMMENT= A full-featured integrated environment for Java
USE_BZIP2= yes
-USE_JAVA= 1.2+
+USE_JAVA= 1.3+
NO_BUILD= yes
+RESTRICTED= "Restrictive license"
WRKSRC= ${WRKDIR}/netbeans
+DOWNLOAD_URL?= http://www.netbeans.org/download/dev/daily/build200306020100/platform-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
+
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
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud