aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2012-07-03 14:15:28 +0800
committerdaichi <daichi@FreeBSD.org>2012-07-03 14:15:28 +0800
commitcf25d9c7bdb8737afba7cc9e480eb195efd91dc1 (patch)
tree0d040d86e10371d084d4b7eb63d233ee908111bf /japanese
parent056fba376ba28900b311192ce1097e4fad10f12c (diff)
downloadfreebsd-ports-gnome-cf25d9c7bdb8737afba7cc9e480eb195efd91dc1.tar.gz
freebsd-ports-gnome-cf25d9c7bdb8737afba7cc9e480eb195efd91dc1.tar.zst
freebsd-ports-gnome-cf25d9c7bdb8737afba7cc9e480eb195efd91dc1.zip
improved dependency handling
Diffstat (limited to 'japanese')
-rw-r--r--japanese/mozc-server/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/japanese/mozc-server/Makefile b/japanese/mozc-server/Makefile
index 35dc84ed35d5..9dd58f1e1b73 100644
--- a/japanese/mozc-server/Makefile
+++ b/japanese/mozc-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mozc
PORTVERSION= 1.5.1090.102
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX?= ja-
@@ -19,9 +19,7 @@ COMMENT?= Mozc server for IBus, SCIM and others
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
gtest.0:${PORTSDIR}/devel/googletest \
protobuf.7:${PORTSDIR}/devel/protobuf \
- zinnia.0:${PORTSDIR}/japanese/zinnia \
- glib-2.0:${PORTSDIR}/devel/glib20 \
- gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20
+ zinnia.0:${PORTSDIR}/japanese/zinnia
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
USE_BZIP2= yes
@@ -33,12 +31,12 @@ USE_OPENSSL= yes
BUILD_MOZC_LIST?= mozc_server
.if ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool"
-USE_QT4= gui dbus qmake_build moc_build uic_build rcc_build
-.endif
-.if ${BUILD_MOZC_LIST:Mibus_mozc} == "ibus_mozc" || ${BUILD_MOZC_LIST:Mscim_mozc} == "scim_mozc"
-USE_GNOME= pygtk2
-.endif
-.if ${BUILD_MOZC_LIST:Mmozc-el} == "mozc-el"
+USE_QT4+= gui dbus qmake_build moc_build uic_build rcc_build
+.elif ${BUILD_MOZC_LIST:Mibus_mozc} == "ibus_mozc" || ${BUILD_MOZC_LIST:Mscim_mozc} == "scim_mozc"
+USE_GNOME+= pygtk2
+.elif ${BUILD_MOZC_LIST:Mfcitx_mozc} == "fcitx_mozc"
+USE_GNOME+= glib20 gtk20
+.elif ${BUILD_MOZC_LIST:Mmozc-el} == "mozc-el"
USE_EMACS= yes
.endif