diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-03-20 11:07:47 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-03-20 11:07:47 +0000 |
commit | c57105121911cbb9284d90e32667292c93b48c8e (patch) | |
tree | e0561c3c30187fa493ec21cdfbe4d58cc7d646af /java | |
parent | 35f3aa43bb4c3a434c0a2232d39a79b2354eaef6 (diff) | |
download | ports-c57105121911cbb9284d90e32667292c93b48c8e.tar.gz ports-c57105121911cbb9284d90e32667292c93b48c8e.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/Makefile | 1 | ||||
-rw-r--r-- | java/netbeans5/Makefile | 36 | ||||
-rw-r--r-- | java/netbeans5/distinfo | 6 | ||||
-rw-r--r-- | java/netbeans5/files/pkg-deinstall.in | 2 | ||||
-rw-r--r-- | java/netbeans5/files/pkg-install.in | 2 |
5 files changed, 22 insertions, 25 deletions
diff --git a/java/Makefile b/java/Makefile index 17dc85267aa5..a8d653c61bc1 100644 --- a/java/Makefile +++ b/java/Makefile @@ -134,6 +134,7 @@ SUBDIR += netbeans SUBDIR += netbeans3 SUBDIR += netbeans4 + SUBDIR += netbeans5 SUBDIR += netcomponents SUBDIR += netrexx SUBDIR += openjit diff --git a/java/netbeans5/Makefile b/java/netbeans5/Makefile index e52dfe12f90e..e506bc525352 100644 --- a/java/netbeans5/Makefile +++ b/java/netbeans5/Makefile @@ -1,18 +1,18 @@ # New ports collection makefile for: netbeans -# Date Created: 2 Jun 2003 -# Whom: olgeni@FreeBSD.org +# Date Created: 15 May 2007 +# Whom: Nemo Liu <nemoliu@gmail.com> # # $FreeBSD$ # -PORTNAME= netbeans4 -PORTVERSION= 4.1 +PORTNAME= netbeans5 +PORTVERSION= 5 CATEGORIES= java devel -MASTER_SITES= -DISTNAME= netbeans-4_1 +MASTER_SITES= http://us1.mirror.netbeans.org/download/5_0/fcs/200601251500/ +DISTNAME= netbeans-5_0 -MAINTAINER= olgeni@FreeBSD.org -COMMENT= A full-featured integrated environment for Java +MAINTAINER= nemoliu@gmail.com +COMMENT= A free and open-source IDE for Java USE_BZIP2= yes USE_JAVA= yes @@ -24,14 +24,10 @@ WRKSRC= ${WRKDIR}/netbeans SUB_FILES= pkg-install pkg-deinstall -DOWNLOAD_URL?= http://www.netbeans.info/downloads/download.php?p=1&a=bd&os=1&lang=1&rv=4.1&b_bt=2 +DOWNLOAD_URL?= http://www.netbeans.info/downloads/index.php?rs=2 .include <bsd.port.pre.mk> -.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING) -IGNORE= you must manually fetch the source distribution (${DISTFILES}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again -.endif - post-patch: @${RM} ${WRKSRC}/etc/netbeans.conf.orig @@ -40,12 +36,12 @@ do-configure: @${RM} ${WRKSRC}/etc/netbeans.conf.bak do-install: - @${MKDIR} ${PREFIX}/netbeans4 - @${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans4 - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans4 - @${LN} -sf ${PREFIX}/netbeans4/bin/netbeans ${PREFIX}/bin/netbeans4 - @(cd ${WRKDIR}; ${FIND} -s netbeans -not -type d) | ${SED} -ne 's,^netbeans,netbeans4,p' >> ${TMPPLIST} - @(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d) | ${SED} -ne 's,^netbeans,netbeans4,' -ne 's,^,@dirrm ,p' >> ${TMPPLIST} - @(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d -empty) | ${SED} -ne 's,^netbeans,netbeans4,' -ne 's,^,@exec mkdir -p %D/,p' >> ${TMPPLIST} + @${MKDIR} ${PREFIX}/netbeans5 + @${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans5 + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans5 + @${LN} -sf ${PREFIX}/netbeans5/bin/netbeans ${PREFIX}/bin/netbeans5 + @(cd ${WRKDIR}; ${FIND} -s netbeans -not -type d) | ${SED} -ne 's,^netbeans,netbeans5,p' >> ${TMPPLIST} + @(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d) | ${SED} -ne 's,^netbeans,netbeans5,' -ne 's,^,@dirrm ,p' >> ${TMPPLIST} + @(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d -empty) | ${SED} -ne 's,^netbeans,netbeans5,' -ne 's,^,@exec ${MKDIR} %D/,p' >> ${TMPPLIST} .include <bsd.port.post.mk> diff --git a/java/netbeans5/distinfo b/java/netbeans5/distinfo index 3b7ade6c7120..f405b1eb59ad 100644 --- a/java/netbeans5/distinfo +++ b/java/netbeans5/distinfo @@ -1,3 +1,3 @@ -MD5 (netbeans-4_1.tar.bz2) = dcb45827c75aad703bc0a14b67e0aa45 -SHA256 (netbeans-4_1.tar.bz2) = 4396dbd219e2014ccd9047d12784b9a5924283eada32236c517a263a90279d9f -SIZE (netbeans-4_1.tar.bz2) = 40884468 +MD5 (netbeans-5_0.tar.bz2) = ad2646c47b79a9a5a832f1f24ff84e69 +SHA256 (netbeans-5_0.tar.bz2) = d1e7e3fad3a75b8b9543426efc79a6508b06510b12b43aca02f2429e6112cc49 +SIZE (netbeans-5_0.tar.bz2) = 50819931 diff --git a/java/netbeans5/files/pkg-deinstall.in b/java/netbeans5/files/pkg-deinstall.in index b3e12ecc15aa..659486389c35 100644 --- a/java/netbeans5/files/pkg-deinstall.in +++ b/java/netbeans5/files/pkg-deinstall.in @@ -2,7 +2,7 @@ case "$2" in DEINSTALL) - rm -f %%PREFIX%%/bin/netbeans4 + rm -f %%PREFIX%%/bin/netbeans5 ;; esac diff --git a/java/netbeans5/files/pkg-install.in b/java/netbeans5/files/pkg-install.in index acd47288e68f..6cf764bb1322 100644 --- a/java/netbeans5/files/pkg-install.in +++ b/java/netbeans5/files/pkg-install.in @@ -2,7 +2,7 @@ case "$2" in POST-INSTALL) - ln -sf %%PREFIX%%/netbeans4/bin/netbeans %%PREFIX%%/bin/netbeans4 + ln -sf %%PREFIX%%/netbeans4/bin/netbeans %%PREFIX%%/bin/netbeans5 ;; esac |