summaryrefslogtreecommitdiffstats
path: root/x11/libxfce4menu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libxfce4menu/Makefile')
-rw-r--r--x11/libxfce4menu/Makefile63
1 files changed, 21 insertions, 42 deletions
diff --git a/x11/libxfce4menu/Makefile b/x11/libxfce4menu/Makefile
index c637be7..e993300 100644
--- a/x11/libxfce4menu/Makefile
+++ b/x11/libxfce4menu/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libxfce4menu
-PORTVERSION= 4.10.0
-PORTREVISION= 5
+PORTVERSION= 4.12.0
CATEGORIES= x11 xfce
MASTER_SITES= ${MASTER_SITE_XFCE}
DISTNAME= libxfce4ui-${PORTVERSION}
@@ -12,49 +11,29 @@ DIST_SUBDIR= xfce4
MAINTAINER= xfce@FreeBSD.org
COMMENT= Widgets library for the Xfce desktop environment
+LICENSE= GPLv2
+
GNU_CONFIGURE= yes
USE_GNOME= glib20 gtk20 intltool intlhack
USE_LDCONFIG= yes
-USE_XFCE= configenv libutil xfconf
+USE_XFCE= xfconf
INSTALLS_ICONS= yes
-USES= gmake libtool:keepla pathfix pkgconfig tar:bzip2
-
-CONFIGURE_ARGS= --with-vendor-info=FreeBSD
-
-OPTIONS_DEFINE= DOCS NLS NOTIFY GLADE
-OPTIONS_DEFAULT= NOTIFY
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-CONFIGURE_ARGS+=--with-html-dir=${PREFIX}/share/gtk-doc/html
-PLIST_SUB+= APIDOCS=""
-.else
-CONFIGURE_ARGS+=--without-html-dir
-PLIST_SUB+= APIDOCS="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-CONFIGURE_ARGS+=--enable-nls
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MNOTIFY}
-LIB_DEPENDS+= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
-CONFIGURE_ARGS+=--enable-startup-notification
-.else
-CONFIGURE_ARGS+=--disable-startup-notification
-.endif
-
-.if ${PORT_OPTIONS:MGLADE}
-LIB_DEPENDS+= libgladeui-1.so:${PORTSDIR}/devel/glade3
-CONFIGURE_ARGS+=--enable-gladeui
-.else
-CONFIGURE_ARGS+=--disable-gladeui
-.endif
+USES= gmake libtool pathfix pkgconfig gettext-tools \
+ xfce tar:bzip2
+
+CONFIGURE_ARGS= --with-vendor-info=${OPSYS} --without-html-dir
+
+OPTIONS_DEFINE= GLADE GTK3 NLS STARTUP
+OPTIONS_DEFAULT= GTK3 STARTUP
+STARTUP_DESC= Startup notification
+STARTUP_LIB_DEPENDS= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification
+STARTUP_CONFIGURE_ENABLE= startup-notification
+NLS_USES= gettext-runtime
+NLS_CONFIGURE_ENABLE= nls
+GLADE_LIB_DEPENDS= libgladeui-1.so:${PORTSDIR}/devel/glade3
+GLADE_CONFIGURE_ENABLE= gladeui
+GTK3_USE= gnome=gtk30
+GTK3_CONFIGURE_ENABLE= gtk3
+OPTIONS_SUB= yes
.include <bsd.port.mk>
OpenPOWER on IntegriCloud