Date: Mon, 9 Apr 2012 10:54:52 GMT From: Hardy Schumacher <hardy.schumacher@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/166785: [PATCH] java/netbeans: add desktop entry Message-ID: <201204091054.q39Asqn0090204@red.freebsd.org> Resent-Message-ID: <201204091100.q39B0OxK029766@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204091054.q39Asqn0090204>