aboutsummaryrefslogtreecommitdiff
path: root/chinese/fcitx-configtool
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2012-10-15 19:13:59 +0000
committerXin LI <delphij@FreeBSD.org>2012-10-15 19:13:59 +0000
commita60cd375c2de49ac4fa1c452cac465687764d293 (patch)
tree16cd520a07b02578778912e3222a2c4b34a8413e /chinese/fcitx-configtool
parent592cf5e025e24ad002de597b6d5cec6818176c8a (diff)
Notes
Diffstat (limited to 'chinese/fcitx-configtool')
-rw-r--r--chinese/fcitx-configtool/Makefile18
-rw-r--r--chinese/fcitx-configtool/distinfo4
2 files changed, 9 insertions, 13 deletions
diff --git a/chinese/fcitx-configtool/Makefile b/chinese/fcitx-configtool/Makefile
index 669cae3bde5b..397ea32a76d8 100644
--- a/chinese/fcitx-configtool/Makefile
+++ b/chinese/fcitx-configtool/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: fcitx-configtool
-# Date created: 09 Nov 2011
-# Whom: Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$
-#
PORTNAME= fcitx-configtool
-PORTVERSION= 0.4.5
+PORTVERSION= 0.4.5.1
CATEGORIES= chinese x11
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DIST_SUBDIR= fcitx
@@ -23,12 +19,12 @@ USE_GNOME= intltool gnomehack
USE_GETTEXT= yes
USE_CMAKE= yes
-OPTIONS= GTK2 "Enable Gtk2 Version" on \
- GTK3 "Enable Gtk3 Version" off
+OPTIONS_DEFINE= GTK2 GTK3
+OPTIONS_DEFAULT=GTK2
.include <bsd.port.options.mk>
-.if defined(WITH_GTK2)
+.if ${PORT_OPTIONS:MGTK2}
CMAKE_ARGS+= -DENABLE_GTK2=ON
USE_GNOME+= gtk20
PLIST_SUB+= GTK2=""
@@ -36,7 +32,7 @@ PLIST_SUB+= GTK2=""
PLIST_SUB+= GTK2="@comment "
.endif
-.if defined(WITH_GTK3)
+.if ${PORT_OPTIONS:MGTK3}
USE_GNOME+= gtk30
PLIST_SUB+= GTK3=""
.else
@@ -44,7 +40,7 @@ CMAKE_ARGS+= -DENABLE_GTK3=OFF
PLIST_SUB+= GTK3="@comment "
.endif
-.if defined(WITHOUT_GTK2) && defined(WITHOUT_GTK3)
+.if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3}
IGNORE= a GUI is required
.endif
diff --git a/chinese/fcitx-configtool/distinfo b/chinese/fcitx-configtool/distinfo
index 30a4bf47d3a2..704c019d3ca5 100644
--- a/chinese/fcitx-configtool/distinfo
+++ b/chinese/fcitx-configtool/distinfo
@@ -1,2 +1,2 @@
-SHA256 (fcitx/fcitx-configtool-0.4.5.tar.xz) = 474ff8635e29e29b6b6f37efe698e2b4264efaba55448a13d0b46d696887c8c1
-SIZE (fcitx/fcitx-configtool-0.4.5.tar.xz) = 42036
+SHA256 (fcitx/fcitx-configtool-0.4.5.1.tar.xz) = bde3097a073dba733633c33d9b4834acdb46295fed7fc5d95dda3a2260f91e28
+SIZE (fcitx/fcitx-configtool-0.4.5.1.tar.xz) = 42468