aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2015-08-09 23:51:33 +0800
committerolivierd <olivierd@FreeBSD.org>2015-08-09 23:51:33 +0800
commit156ae60832067c4147823db11b8b6802cfa3dda6 (patch)
tree99a4a777e72e3f5f1bc5f053e0fb59b1b6dcba66 /x11
parent564d0b53bb0b1d070d38f7bf8841dd6792723273 (diff)
downloadfreebsd-ports-gnome-156ae60832067c4147823db11b8b6802cfa3dda6.tar.gz
freebsd-ports-gnome-156ae60832067c4147823db11b8b6802cfa3dda6.tar.zst
freebsd-ports-gnome-156ae60832067c4147823db11b8b6802cfa3dda6.zip
Rewrite options helper
Obtained from: Xfce devel repo
Diffstat (limited to 'x11')
-rw-r--r--x11/xfce4-taskmanager/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/x11/xfce4-taskmanager/Makefile b/x11/xfce4-taskmanager/Makefile
index de069d0bffe3..50b9a4173521 100644
--- a/x11/xfce4-taskmanager/Makefile
+++ b/x11/xfce4-taskmanager/Makefile
@@ -16,20 +16,17 @@ LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= gettext gmake pkgconfig tar:bzip2
-USE_GNOME= glib20 cairo intltool intlhack
+USE_GNOME= gtk20 glib20 cairo intltool intlhack
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-OPTIONS_SINGLE= GTK
-OPTIONS_SINGLE_GTK= GTK2 GTK3
-OPTIONS_DEFAULT= GTK2
-
-GTK2_USE= GNOME=gtk20,libwnck
-GTK2_CONFIGURE_ON= --enable-wnck --disable-wnck3
-GTK3_USE= GNOME=gtk20,gtk30,libwnck3
+OPTIONS_DEFINE= GTK3
+GTK3_USE= gnome=gtk30,libwnck3
GTK3_CONFIGURE_ON= --enable-gtk3 --enable-wnck3 --disable-wnck
+GTK3_USE_OFF= gnome=libwnck
+GTK3_CONFIGURE_OFF= --enable-wnck --disable-wnck3
-CONFIGURE_ARGS= --disable-gksu
+CONFIGURE_ARGS+= --disable-gksu
post-patch:
@${REINPLACE_CMD} -e 's|prefix)/$$(DATADIRNAME)|datadir)|' \