improved dependency handling

This commit is contained in:
Daichi GOTO 2012-07-03 06:15:28 +00:00
parent df2b727518
commit 371d86fc6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300422

View file

@ -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