Date: Thu, 25 Dec 2014 01:26:28 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375505 - head/chinese/fcitx-configtool Message-ID: <201412250126.sBP1QSYH071721@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu Dec 25 01:26:27 2014 New Revision: 375505 URL: https://svnweb.freebsd.org/changeset/ports/375505 QAT: https://qat.redports.org/buildarchive/r375505/ Log: Remove gnomehack which was unused anyway While here: - Use OPTIONS_SUB - Use OPTIONS_SINGLE Modified: head/chinese/fcitx-configtool/Makefile Modified: head/chinese/fcitx-configtool/Makefile ============================================================================== --- head/chinese/fcitx-configtool/Makefile Thu Dec 25 01:17:49 2014 (r375504) +++ head/chinese/fcitx-configtool/Makefile Thu Dec 25 01:26:27 2014 (r375505) @@ -15,32 +15,26 @@ BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgc ${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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412250126.sBP1QSYH071721>