aboutsummaryrefslogtreecommitdiffstats
path: root/java/netbeans/Makefile
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2009-12-14 17:59:07 +0800
committergahr <gahr@FreeBSD.org>2009-12-14 17:59:07 +0800
commit2a7ff32adffdc55dd2f483896270b86c1d623129 (patch)
treec979cafd9d0f1813ae5370449c7c2ed27d292fea /java/netbeans/Makefile
parent25591e179d58f7270825af26b95f231a0e0cb2f0 (diff)
downloadfreebsd-ports-gnome-2a7ff32adffdc55dd2f483896270b86c1d623129.tar.gz
freebsd-ports-gnome-2a7ff32adffdc55dd2f483896270b86c1d623129.tar.zst
freebsd-ports-gnome-2a7ff32adffdc55dd2f483896270b86c1d623129.zip
- Update to 6.8
Diffstat (limited to 'java/netbeans/Makefile')
-rw-r--r--java/netbeans/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/java/netbeans/Makefile b/java/netbeans/Makefile
index 80b40cd63c31..99d094840718 100644
--- a/java/netbeans/Makefile
+++ b/java/netbeans/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= netbeans
-PORTVERSION= 6.7
+PORTVERSION= 6.8
CATEGORIES= java devel
-MASTER_SITES= http://www.mirrorservice.org/sites/download.netbeans.org/6.7/zip/ \
- http://download.netbeans.org/netbeans/6.7/final/zip/ \
- http://dlc.sun.com.edgesuite.net/netbeans/6.7/final/zip/
-DISTNAME= netbeans-${PORTVERSION}-200906241340-ml
+MASTER_SITES= http://www.mirrorservice.org/sites/download.netbeans.org/6.8/zip/ \
+ http://download.netbeans.org/netbeans/6.8/final/zip/ \
+ http://dlc.sun.com.edgesuite.net/netbeans/6.8/final/zip/
+DISTNAME= netbeans-${PORTVERSION}-200912041610-ml
MAINTAINER= gahr@FreeBSD.org
COMMENT= A full-featured integrated environment for Java
@@ -22,19 +22,19 @@ JAVA_VERSION= 1.5+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/netbeans
+DATADIR= ${PREFIX}/${PORTNAME}${PORTVERSION:S/.//}
post-patch:
@${REINPLACE_CMD} -i "" -e '19s|#||;19s|/path/to/jdk|${JAVA_HOME}|' \
${WRKSRC}/etc/netbeans.conf
@${REINPLACE_CMD} -i "" -e 's|%%GCONFTOOL2%%|${LOCALBASE}/bin/gconftool-2|g; \
s|%%GREP%%|${GREP}|g;s|%%SED%%|${SED}|g;s|%%FGREP%%|`which fgrep`|g;s|%%AWK%%|${AWK}|g' \
- ${WRKSRC}/platform10/lib/nbexec && \
- ${RM} ${WRKSRC}/platform10/lib/nbexec.orig
+ ${WRKSRC}/platform11/lib/nbexec && \
+ ${RM} ${WRKSRC}/platform11/lib/nbexec.orig
do-install:
- @${MKDIR} ${PREFIX}/netbeans67
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${PREFIX}/netbeans67)
- @${CHMOD} ${BINMODE} ${PREFIX}/netbeans67/bin/netbeans
- @${LN} -sf ${PREFIX}/netbeans67/bin/netbeans ${PREFIX}/bin/netbeans67
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR})
+ @${CHMOD} ${BINMODE} ${DATADIR}/bin/netbeans
+ @${LN} -sf ${DATADIR}/bin/netbeans ${PREFIX}/bin/${PORTNAME}${PORTVERSION:S/.//}
.include <bsd.port.mk>