ports/76670: Add pkg-message to java/netbeans
Miguel Mendez
flynn at energyhq.es.eu.org
Tue Jan 25 16:20:27 UTC 2005
>Number: 76670
>Category: ports
>Synopsis: Add pkg-message to java/netbeans
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 25 16:20:00 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Miguel Mendez
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD 5.3-STABLE #1: Tue Dec 28 17:41:55 CET 2004
root at scienide.energyhq.es.eu.org:/usr/obj/usr/src/sys/SCIENIDE
>Description:
As reported in http://www.netbeans.org/issues/show_bug.cgi?id=53851 ,
we need to set the netbeans_jdkhome variable in the config file for netbeans
to function correctly on FreeBSD. This patch adds a pkg-message file explaining
this.
>How-To-Repeat:
>Fix:
--- netbeans.diff begins here ---
diff -ruN netbeans.old/Makefile netbeans/Makefile
--- netbeans.old/Makefile Tue Dec 21 11:41:38 2004
+++ netbeans/Makefile Tue Jan 25 16:42:05 2005
@@ -35,4 +35,7 @@
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/netbeans
@${LN} -sf ${PREFIX}/netbeans/bin/netbeans ${PREFIX}/bin/netbeans
+post-install:
+ @${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g'
+
.include <bsd.port.post.mk>
diff -ruN netbeans.old/pkg-message netbeans/pkg-message
--- netbeans.old/pkg-message Thu Jan 1 01:00:00 1970
+++ netbeans/pkg-message Tue Jan 25 16:45:41 2005
@@ -0,0 +1,11 @@
+
+*** IMPORTANT ***
+
+In order to use netbeans you need to edit
+%%PREFIX%%/netbeans/etc/netbeans.conf and set
+the netbeans_jdkhome variable according to
+the JDK you're using.
+
+For example:
+
+netbeans_jdkhome="%%PREFIX%%/jdk1.4.2"
--- netbeans.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list