aboutsummaryrefslogtreecommitdiffstats
path: root/java/netbeans/Makefile
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2006-11-22 06:58:56 +0800
committerolgeni <olgeni@FreeBSD.org>2006-11-22 06:58:56 +0800
commita012c186b9230ffd3abe9ba7e011741eacf3d466 (patch)
treed69b66a3834b9a30fcf9447e919e332290cb30a0 /java/netbeans/Makefile
parent9cc80ea43b96a9030b740e781e3d7325f12e7307 (diff)
downloadfreebsd-ports-gnome-a012c186b9230ffd3abe9ba7e011741eacf3d466.tar.gz
freebsd-ports-gnome-a012c186b9230ffd3abe9ba7e011741eacf3d466.tar.zst
freebsd-ports-gnome-a012c186b9230ffd3abe9ba7e011741eacf3d466.zip
Update port to version 5.5 and remove pkg-plist.
(add support for empty directories and bin/netbeans symlink to ports/105254) PR: ports/105254 Submitted by: David Sledge <dsledge(at)appriss.com>
Diffstat (limited to 'java/netbeans/Makefile')
-rw-r--r--java/netbeans/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/java/netbeans/Makefile b/java/netbeans/Makefile
index 7cdceefa5548..40f1de9995d1 100644
--- a/java/netbeans/Makefile
+++ b/java/netbeans/Makefile
@@ -6,30 +6,26 @@
#
PORTNAME= netbeans
-PORTVERSION= 5.0
+PORTVERSION= 5.5
CATEGORIES= java devel
-MASTER_SITES=
-DISTNAME= netbeans-5_0
+MASTER_SITES= http://us1.mirror.netbeans.org/download/5_5/fcs/200610171010/ \
+ http://us2.mirror.netbeans.org/download/5_5/fcs/200610171010/
+DISTNAME= netbeans-5_5
MAINTAINER= olgeni@FreeBSD.org
COMMENT= A full-featured integrated environment for Java
USE_BZIP2= yes
USE_JAVA= yes
-JAVA_VERSION= 1.4+
+JAVA_VERSION= 1.5+
NO_BUILD= yes
-RESTRICTED= Restrictive license
WRKSRC= ${WRKDIR}/netbeans
-DOWNLOAD_URL?= http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bsd&os=1&lang=1&rv=5.0&b_bt=2
+SUB_FILES= pkg-install pkg-deinstall
.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
@@ -42,5 +38,8 @@ do-install:
@${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans
@${LN} -sf ${PREFIX}/netbeans/bin/netbeans ${PREFIX}/bin/netbeans
+ @(cd ${WRKDIR}; ${FIND} -s netbeans -not -type d) >> ${TMPPLIST}
+ @(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d) | ${SED} -ne 's,^,@dirrm ,p' >> ${TMPPLIST}
+ @(cd ${WRKDIR}; ${FIND} -s -d netbeans -type d -empty) | ${SED} -ne 's,^,@exec mkdir -p %D/,p' >> ${TMPPLIST}
.include <bsd.port.post.mk>