diff options
author | olgeni <olgeni@FreeBSD.org> | 2006-03-21 03:32:56 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2006-03-21 03:32:56 +0800 |
commit | 864f75846e90a173d90879291abfb5a66a7dee29 (patch) | |
tree | 0e5720dad9d5d1d2c4712f507f1ecc0e3bb1323f /java/netbeans/Makefile | |
parent | 603a2196d88c151052ffac05f3783fefa6ae939c (diff) | |
download | freebsd-ports-gnome-864f75846e90a173d90879291abfb5a66a7dee29.tar.gz freebsd-ports-gnome-864f75846e90a173d90879291abfb5a66a7dee29.tar.zst freebsd-ports-gnome-864f75846e90a173d90879291abfb5a66a7dee29.zip |
Automatically detect netbeans_jdkhome.
Submitted by: hq
Diffstat (limited to 'java/netbeans/Makefile')
-rw-r--r-- | java/netbeans/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/netbeans/Makefile b/java/netbeans/Makefile index 41afc35d98ec..2fc4dcb3a44a 100644 --- a/java/netbeans/Makefile +++ b/java/netbeans/Makefile @@ -30,6 +30,9 @@ DOWNLOAD_URL?= http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bs IGNORE= you must manually fetch the source distribution (${DISTFILES}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again .endif +do-configure: + @${REINPLACE_CMD} 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/etc/netbeans.conf + do-install: @${MKDIR} ${PREFIX}/netbeans @${CP} -r ${WRKSRC}/* ${PREFIX}/netbeans |