ports/166785: [PATCH] java/netbeans: add desktop entry
Hardy Schumacher
hardy.schumacher at gmx.de
Mon Apr 9 11:00:24 UTC 2012
>Number: 166785
>Category: ports
>Synopsis: [PATCH] java/netbeans: add desktop entry
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 09 11:00:24 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Hardy Schumacher
>Release: FreeBSD-9.0 i386
>Organization:
>Environment:
FreeBSD gamma.low.org 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Jan 27 22:10:15 CET 2012 root at gamma.low.org:/usr/obj/usr/src/sys/LOW_GAMMA i386
>Description:
Add a desktop entry for NetBeans to the start menu.
>How-To-Repeat:
n/a
>Fix:
See attachment.
Patch attached with submission follows:
diff -ruN /usr/ports/java/netbeans/Makefile ./netbeans/Makefile
--- /usr/ports/java/netbeans/Makefile 2012-03-20 18:09:28.000000000 +0100
+++ ./netbeans/Makefile 2012-04-09 12:47:22.000000000 +0200
@@ -26,6 +26,13 @@
PLIST_SUB+= PORTVERSION=${PORTVERSION}
+DESKTOP_ENTRIES="NetBeans" \
+ "NetBeans IDE" \
+ ${DATADIR}/nb/netbeans.png \
+ ${PORTNAME}-${PORTVERSION} \
+ "Development;" \
+ ${FALSE}
+
post-patch:
@${REINPLACE_CMD} -i "" -e '19s|#||;19s|/path/to/jdk|${JAVA_HOME}|' \
${WRKSRC}/etc/netbeans.conf
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list