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