aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorscheidell <scheidell@FreeBSD.org>2012-08-23 17:12:26 +0800
committerscheidell <scheidell@FreeBSD.org>2012-08-23 17:12:26 +0800
commita2aa68d8e838bf0a6a84f277abd2a695ee88be84 (patch)
treecd5a6199a1d791b857e4215ecb6fa8f410ededde /misc
parent98deb07720a4657998cca2437b0eaaff3d884cc9 (diff)
downloadfreebsd-ports-gnome-a2aa68d8e838bf0a6a84f277abd2a695ee88be84.tar.gz
freebsd-ports-gnome-a2aa68d8e838bf0a6a84f277abd2a695ee88be84.tar.zst
freebsd-ports-gnome-a2aa68d8e838bf0a6a84f277abd2a695ee88be84.zip
- Makefile changed
- OptionsNG - Removed script from Makefile PR: ports/170755 Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
Diffstat (limited to 'misc')
-rw-r--r--misc/xdg-menu/Makefile20
-rw-r--r--misc/xdg-menu/files/xdg-menu.in7
2 files changed, 18 insertions, 9 deletions
diff --git a/misc/xdg-menu/Makefile b/misc/xdg-menu/Makefile
index c0d76ea2b184..17d787b26f59 100644
--- a/misc/xdg-menu/Makefile
+++ b/misc/xdg-menu/Makefile
@@ -5,12 +5,12 @@
# $FreeBSD$
#
-PORTNAME= menu
+PORTNAME= xdg-menu
PORTVERSION= 1.5
+PORTREVISION= 1
CATEGORIES= misc
-MASTER_SITES= SF/xdg-menu/xdg-menu/${PORTVERSION}
-PKGNAMEPREFIX= xdg-
-DISTNAME= XDG-Menu-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
+DISTNAME= XDG-Menu-${DISTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= nemysis@gmx.ch
@@ -30,11 +30,14 @@ USE_PYTHON= yes
ALL_TARGET=
NO_BUILD= yes
-OPTIONS= ROX "Enable ROX panel applet support" no
+OPTIONS_DEFINE= ROX
+ROX_DESC= Enable ROX panel applet support
+
+SUB_FILES= ${PORTNAME}
.include <bsd.port.options.mk>
-.if defined(WITHOUT_ROX)
+.if !${PORT_OPTIONS:MROX}
post-patch:
@${REINPLACE_CMD} -i '' '/if not rox.confirm/,/sys.exit/s/^/#/' ${WRKSRC}/AppRun
@${ECHO_MSG}
@@ -45,9 +48,8 @@ post-patch:
do-install:
# Scripts
- @${PRINTF} "#!/bin/sh\n\ncd ${DATADIR} &&\
- ./AppRun\n" > ${WRKDIR}/xdg-menu.sh
- @${INSTALL_SCRIPT} ${WRKDIR}/xdg-menu.sh ${PREFIX}/bin/xdg-menu
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+
# Executable and Data
${MKDIR} ${DATADIR}
@cd ${WRKSRC} && ${FIND} . | ${CPIO} -pdmu ${DATADIR}
diff --git a/misc/xdg-menu/files/xdg-menu.in b/misc/xdg-menu/files/xdg-menu.in
new file mode 100644
index 000000000000..c485e187cafa
--- /dev/null
+++ b/misc/xdg-menu/files/xdg-menu.in
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# $FreeBSD$
+
+echo "XDG-Menu: Starting up..."
+cd "%%DATADIR%%"
+./AppRun
ail/libetpan?h=gnome-3.24&id=368c75a7f2d83743b8b9032ac773f8bfb99d48a5'>Update to 0.45.netchild2006-04-092-8/+4 * Fix an include in an installed header. This fixes the configure stepnetchild2006-04-021-1/+4 * upgrade to 0.44ijliao2006-03-243-126/+12 * Conversion to a single libtool environment.ade2006-02-232-0/+2 * Update to 0.42.netchild2006-01-312-6/+5 * Chase gnutls update.novel2006-01-101-1/+2 * Update to 0.41.lawrance2005-12-183-6/+5 * - Add SHA256pav2005-11-251-0/+1 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1 * Update to 0.40.netchild2005-11-093-5/+5 * Update to 0.39mnag2005-09-253-4/+5 * Fix dependency on cyrus-sasl2vs2005-07-281-1/+1 * Update to 0.38.novel2005-07-224-5/+11 * - Update to version 0.37novel2005-07-042-4/+11 * At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1 * Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1