aboutsummaryrefslogtreecommitdiff
path: root/deskutils/global-menu/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2011-03-17 17:24:07 +0000
committerPav Lucistnik <pav@FreeBSD.org>2011-03-17 17:24:07 +0000
commitcacee09125b036d683bbe60c343f0b2e46d43522 (patch)
tree0c7bb3a5e689e23eff5cd9fb135e1ab563b8a611 /deskutils/global-menu/Makefile
parent3614912d5ef7e9bcf1a8dfdc2216401cf6571f76 (diff)
- Update to 0.7.10
PR: ports/152678 Submitted by: Ivan Klymenko <fidaj@ukr.net> Approved by: maintainer
Notes
Notes: svn path=/head/; revision=271151
Diffstat (limited to 'deskutils/global-menu/Makefile')
-rw-r--r--deskutils/global-menu/Makefile19
1 files changed, 16 insertions, 3 deletions
diff --git a/deskutils/global-menu/Makefile b/deskutils/global-menu/Makefile
index 08030a5fbce7..01e7d2545c44 100644
--- a/deskutils/global-menu/Makefile
+++ b/deskutils/global-menu/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gnome-globalmenu
-PORTVERSION= 0.7.5
-PORTREVISION= 6
+PORTVERSION= 0.7.10
CATEGORIES= deskutils
MASTER_SITES= http://gnome2-globalmenu.googlecode.com/files/
@@ -27,11 +26,25 @@ INSTALLS_ICONS= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+
+OPTIONS= XFCE4_PANEL "Xfce panel applet" Off
+
+.include <bsd.port.options.mk>
+
+.if defined(WITHOUT_XFCE4_PANEL)
+CONFIGURE_ARGS+= --without-xfce4-panel
+PLIST_SUB+= XFCE4_PANEL="@comment "
+.else
+LIB_DEPENDS+= libxfce4panel-1.0:${PORTSDIR}/x11-wm/xfce4-panel
+CONFIGURE_ARGS+= --with-xfce4-panel
+PLIST_SUB+= XFCE4_PANEL=""
+.endif
+
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
-CONFIGURE_ARGS+=--disable-nls
+CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif