aboutsummaryrefslogtreecommitdiff
path: root/java/netbeans61/Makefile
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2006-03-20 19:32:56 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2006-03-20 19:32:56 +0000
commit5ec3ec70402d2091b5cba47f2ee8658987458ce5 (patch)
tree807e2ac29cfd379f6c150180ebb8d2055705c356 /java/netbeans61/Makefile
parentb2888bd127e0613e349b56910a9430f632a34446 (diff)
Automatically detect netbeans_jdkhome.
Submitted by: hq
Notes
Notes: svn path=/head/; revision=157774
Diffstat (limited to 'java/netbeans61/Makefile')
-rw-r--r--java/netbeans61/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/netbeans61/Makefile b/java/netbeans61/Makefile
index 41afc35d98ec..2fc4dcb3a44a 100644
--- a/java/netbeans61/Makefile
+++ b/java/netbeans61/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