diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-03 16:05:42 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-03 16:05:42 +0000 |
commit | db6bd6448b600fb72a220975ebc70441a25f0837 (patch) | |
tree | 9c1fe9de66e59427fbd58ecfa1a9b3e56d0a5640 /devel/libdbusmenu | |
parent | 858f1058e5ada36fcfcc3f1001859ca429e25bde (diff) | |
download | ports-db6bd6448b600fb72a220975ebc70441a25f0837.tar.gz ports-db6bd6448b600fb72a220975ebc70441a25f0837.zip |
Notes
Diffstat (limited to 'devel/libdbusmenu')
-rw-r--r-- | devel/libdbusmenu/Makefile | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/devel/libdbusmenu/Makefile b/devel/libdbusmenu/Makefile index 499f34190a69..5852833b5ea8 100644 --- a/devel/libdbusmenu/Makefile +++ b/devel/libdbusmenu/Makefile @@ -26,6 +26,7 @@ USE_XORG= x11 USE_LDCONFIG= yes PLIST_SUB= VERSION="0.4" +OPTIONS_SUB= yes OPTIONS_SINGLE= GTK OPTIONS_SINGLE_GTK= GTK2 GTK3 @@ -39,22 +40,13 @@ CONFIGURE_ARGS= --disable-scrollkeeper \ --disable-nls \ --enable-vala \ --without-omf-dir \ - --without-help-dir - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MGTK2} -USE_GNOME+= gtk20 -CONFIGURE_ARGS+=--enable-gtk --with-gtk=2 -PLIST_SUB+= GTK2="" -PLIST_SUB+= GTK3="@comment " -.endif - -.if ${PORT_OPTIONS:MGTK3} -USE_GNOME+= gtk30 -CONFIGURE_ARGS+=--enable-gtk --with-gtk=3 -PLIST_SUB+= GTK2="@comment " -PLIST_SUB+= GTK3="" -.endif + --without-help-dir \ + --enable-gtk + +GTK2_USE= GNOME=gtk20 +GTK2_CONFIGURE_ON= --with-gtk=2 + +GTK3_USE= GNOME=gtk30 +GTK3_CONFIGURE_ON= --with-gtk=3 .include <bsd.port.mk> |