diff options
author | bapt <bapt@FreeBSD.org> | 2014-12-25 09:26:27 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-12-25 09:26:27 +0800 |
commit | 92656ef6e7b663d3422d3d02889cb380430f3329 (patch) | |
tree | 37a87014b9a05cef9c980ae7503f3825ead92df5 /chinese | |
parent | 5ad9d5e23a20792f762296117771442810668e7f (diff) | |
download | freebsd-ports-gnome-92656ef6e7b663d3422d3d02889cb380430f3329.tar.gz freebsd-ports-gnome-92656ef6e7b663d3422d3d02889cb380430f3329.tar.zst freebsd-ports-gnome-92656ef6e7b663d3422d3d02889cb380430f3329.zip |
Remove gnomehack which was unused anyway
While here:
- Use OPTIONS_SUB
- Use OPTIONS_SINGLE
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/fcitx-configtool/Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/chinese/fcitx-configtool/Makefile b/chinese/fcitx-configtool/Makefile index ddc7e1146c7c..ab257be293dd 100644 --- a/chinese/fcitx-configtool/Makefile +++ b/chinese/fcitx-configtool/Makefile @@ -15,32 +15,26 @@ BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso- ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib LIB_DEPENDS= libfcitx-config.so:${PORTSDIR}/chinese/fcitx -USE_GNOME= intltool gnomehack +USE_GNOME= intltool USES= cmake gettext pkgconfig tar:xz -OPTIONS_DEFINE= GTK2 GTK3 +OPTIONS_SINGLE= UI +UI_DESC= Gtk version to use +OPTIONS_SINGLE_UI= GTK2 GTK3 OPTIONS_DEFAULT=GTK2 +OPTIONS_SUB= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MGTK2} CMAKE_ARGS+= -DENABLE_GTK2=ON USE_GNOME+= gtk20 -PLIST_SUB+= GTK2="" -.else -PLIST_SUB+= GTK2="@comment " .endif .if ${PORT_OPTIONS:MGTK3} USE_GNOME+= gtk30 -PLIST_SUB+= GTK3="" .else CMAKE_ARGS+= -DENABLE_GTK3=OFF -PLIST_SUB+= GTK3="@comment " -.endif - -.if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} -IGNORE= a GUI is required .endif .include <bsd.port.mk> |