diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2010-10-18 09:42:19 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2010-10-18 09:42:19 +0000 |
commit | db9a1185a4b478ef1cac1841ceed2c0ea19ed81e (patch) | |
tree | 11ad994e5750706d11b5ba7834d91341eab38866 /java/netbeans/Makefile | |
parent | 122e131282c5f0880cee6e6a61d7ca70097bc7f2 (diff) | |
download | ports-db9a1185a4b478ef1cac1841ceed2c0ea19ed81e.tar.gz ports-db9a1185a4b478ef1cac1841ceed2c0ea19ed81e.zip |
Notes
Diffstat (limited to 'java/netbeans/Makefile')
-rw-r--r-- | java/netbeans/Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/java/netbeans/Makefile b/java/netbeans/Makefile index 99d094840718..cafc4fdba49e 100644 --- a/java/netbeans/Makefile +++ b/java/netbeans/Makefile @@ -1,3 +1,4 @@ +# ex:ts=8 # New ports collection makefile for: netbeans # Date Created: 2 Jun 2003 # Whom: olgeni@FreeBSD.org @@ -6,35 +7,36 @@ # PORTNAME= netbeans -PORTVERSION= 6.8 +PORTVERSION= 6.9.1 CATEGORIES= java devel -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 +MASTER_SITES= http://download.netbeans.org/netbeans/6.9.1/final/zip/ \ + http://dlc.sun.com.edgesuite.net/netbeans/6.9.1/final/zip/ +DISTNAME= netbeans-${PORTVERSION}-201007282301-ml MAINTAINER= gahr@FreeBSD.org COMMENT= A full-featured integrated environment for Java USE_ZIP= yes USE_JAVA= yes -JAVA_VERSION= 1.5+ +JAVA_VERSION= 1.6+ NO_BUILD= yes WRKSRC= ${WRKDIR}/netbeans -DATADIR= ${PREFIX}/${PORTNAME}${PORTVERSION:S/.//} +DATADIR= ${PREFIX}/${PORTNAME}-${PORTVERSION} + +PLIST_SUB+= PORTVERSION=${PORTVERSION} 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}/platform11/lib/nbexec && \ - ${RM} ${WRKSRC}/platform11/lib/nbexec.orig + ${WRKSRC}/platform/lib/nbexec && \ + ${RM} ${WRKSRC}/platform/lib/nbexec.orig do-install: @(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR}) @${CHMOD} ${BINMODE} ${DATADIR}/bin/netbeans - @${LN} -sf ${DATADIR}/bin/netbeans ${PREFIX}/bin/${PORTNAME}${PORTVERSION:S/.//} + @${LN} -sf ${DATADIR}/bin/netbeans ${PREFIX}/bin/${PORTNAME}-${PORTVERSION} .include <bsd.port.mk> |