aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2006-09-07 10:16:34 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2006-09-07 10:16:34 +0000
commit22b04f49dcdc1190928795b1b4012e457b74e2a5 (patch)
tree9b1e1e2c2f48915186b0d93202c3810769b4f9c8 /java
parent32f0b9e01285f0d6dee910a79b92ea5a0b67132d (diff)
downloadports-22b04f49dcdc1190928795b1b4012e457b74e2a5.tar.gz
ports-22b04f49dcdc1190928795b1b4012e457b74e2a5.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/netbeans/Makefile4
-rw-r--r--java/netbeans/pkg-plist1
-rw-r--r--java/netbeans61/Makefile4
-rw-r--r--java/netbeans61/pkg-plist1
4 files changed, 8 insertions, 2 deletions
diff --git a/java/netbeans/Makefile b/java/netbeans/Makefile
index a2daa7fe466b..7cdceefa5548 100644
--- a/java/netbeans/Makefile
+++ b/java/netbeans/Makefile
@@ -30,8 +30,12 @@ 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
+post-patch:
+ @${RM} ${WRKSRC}/etc/netbeans.conf.orig
+
do-configure:
@${REINPLACE_CMD} 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/etc/netbeans.conf
+ @${RM} ${WRKSRC}/etc/netbeans.conf.bak
do-install:
@${MKDIR} ${PREFIX}/netbeans
diff --git a/java/netbeans/pkg-plist b/java/netbeans/pkg-plist
index 448f70b9080c..073563b8d49b 100644
--- a/java/netbeans/pkg-plist
+++ b/java/netbeans/pkg-plist
@@ -508,7 +508,6 @@ netbeans/enterprise2/update_tracking/org-netbeans-modules-websvc-registry.xml
netbeans/enterprise2/update_tracking/org-netbeans-modules-websvc-websvcapi.xml
netbeans/enterprise2/update_tracking/org-netbeans-modules-xml-multiview.xml
netbeans/etc/netbeans.conf
-netbeans/etc/netbeans.conf.orig
netbeans/harness/README
netbeans/harness/build.xml
netbeans/harness/common.xml
diff --git a/java/netbeans61/Makefile b/java/netbeans61/Makefile
index a2daa7fe466b..7cdceefa5548 100644
--- a/java/netbeans61/Makefile
+++ b/java/netbeans61/Makefile
@@ -30,8 +30,12 @@ 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
+post-patch:
+ @${RM} ${WRKSRC}/etc/netbeans.conf.orig
+
do-configure:
@${REINPLACE_CMD} 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/etc/netbeans.conf
+ @${RM} ${WRKSRC}/etc/netbeans.conf.bak
do-install:
@${MKDIR} ${PREFIX}/netbeans
diff --git a/java/netbeans61/pkg-plist b/java/netbeans61/pkg-plist
index 448f70b9080c..073563b8d49b 100644
--- a/java/netbeans61/pkg-plist
+++ b/java/netbeans61/pkg-plist
@@ -508,7 +508,6 @@ netbeans/enterprise2/update_tracking/org-netbeans-modules-websvc-registry.xml
netbeans/enterprise2/update_tracking/org-netbeans-modules-websvc-websvcapi.xml
netbeans/enterprise2/update_tracking/org-netbeans-modules-xml-multiview.xml
netbeans/etc/netbeans.conf
-netbeans/etc/netbeans.conf.orig
netbeans/harness/README
netbeans/harness/build.xml
netbeans/harness/common.xml