aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/libxfce4menu/Makefile19
-rw-r--r--x11/libxfce4menu/files/patch-configure11
-rw-r--r--x11/libxfce4menu/pkg-plist2
3 files changed, 17 insertions, 15 deletions
diff --git a/x11/libxfce4menu/Makefile b/x11/libxfce4menu/Makefile
index 8ac2246679ce..832543525cfe 100644
--- a/x11/libxfce4menu/Makefile
+++ b/x11/libxfce4menu/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libxfce4menu
PORTVERSION= 4.10.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11 xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
DISTNAME= libxfce4ui-${PORTVERSION}
@@ -15,14 +15,13 @@ COMMENT= Widgets library for the Xfce desktop environment
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GNOME= glib20 gnomehack gtk20 intltool intlhack desktopfileutils
+USE_GNOME= glib20 gtk20 intltool intlhack
USE_LDCONFIG= yes
USE_XFCE= configenv libutil xfconf
INSTALLS_ICONS= yes
-USES= pkgconfig
+USES= pathfix pkgconfig
-CONFIGURE_ARGS= --disable-gtk-doc-html \
- --with-vendor-info=FreeBSD
+CONFIGURE_ARGS= --with-vendor-info=FreeBSD
OPTIONS_DEFINE= DOCS NLS NOTIFY GLADE
OPTIONS_DEFAULT= NOTIFY
@@ -47,23 +46,17 @@ PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MNOTIFY}
-LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification
+LIB_DEPENDS+= startup-notification-1:${PORTSDIR}/x11/startup-notification
CONFIGURE_ARGS+=--enable-startup-notification
.else
CONFIGURE_ARGS+=--disable-startup-notification
.endif
.if ${PORT_OPTIONS:MGLADE}
-LIB_DEPENDS+= gladeui-1.10:${PORTSDIR}/devel/glade3
+LIB_DEPENDS+= gladeui-1:${PORTSDIR}/devel/glade3
CONFIGURE_ARGS+=--enable-gladeui
.else
CONFIGURE_ARGS+=--disable-gladeui
.endif
-post-patch:
-.if empty(PORT_OPTIONS:MNLS)
- @${REINPLACE_CMD} -e 's|docs \\|docs|' \
- -e 's|po||' ${WRKSRC}/Makefile.in
-.endif
-
.include <bsd.port.mk>
diff --git a/x11/libxfce4menu/files/patch-configure b/x11/libxfce4menu/files/patch-configure
new file mode 100644
index 000000000000..5b1fb9578d2e
--- /dev/null
+++ b/x11/libxfce4menu/files/patch-configure
@@ -0,0 +1,11 @@
+--- ./configure.orig 2012-04-28 19:46:56.000000000 +0000
++++ ./configure 2013-05-05 20:32:05.000000000 +0000
+@@ -13430,7 +13430,7 @@
+
+ fi
+ fi
+- USE_NLS=yes
++# USE_NLS=yes
+
+
+ gt_cv_have_gettext=no
diff --git a/x11/libxfce4menu/pkg-plist b/x11/libxfce4menu/pkg-plist
index 3e935fc6b75a..d250c19ecb54 100644
--- a/x11/libxfce4menu/pkg-plist
+++ b/x11/libxfce4menu/pkg-plist
@@ -125,5 +125,3 @@ share/icons/hicolor/48x48/apps/xfce4-logo.png
@dirrmtry etc/xdg/xfce4/xfconf
@dirrmtry etc/xdg/xfce4
@dirrmtry etc/xdg
-@exec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || /usr/bin/true