Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= mozc |
8 |
PORTNAME= mozc |
9 |
PORTVERSION= 1.5.1090.102 |
9 |
PORTVERSION= 1.5.1090.102 |
10 |
PORTREVISION= 5 |
10 |
PORTREVISION= 6 |
11 |
CATEGORIES= japanese |
11 |
CATEGORIES= japanese |
12 |
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} |
12 |
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} |
13 |
PKGNAMEPREFIX?= ja- |
13 |
PKGNAMEPREFIX?= ja- |
Lines 30-38
Link Here
|
30 |
|
30 |
|
31 |
BUILD_MOZC_LIST?= mozc_server |
31 |
BUILD_MOZC_LIST?= mozc_server |
32 |
|
32 |
|
33 |
.if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server" |
33 |
.if ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool" |
34 |
USE_GNOME+= glib20 gtk20 |
|
|
35 |
.elif ${BUILD_MOZC_LIST:Mmozc_tool} == "mozc_tool" |
36 |
USE_GNOME+= gtk20 |
34 |
USE_GNOME+= gtk20 |
37 |
USE_QT4+= gui dbus qmake_build moc_build uic_build rcc_build |
35 |
USE_QT4+= gui dbus qmake_build moc_build uic_build rcc_build |
38 |
.elif ${BUILD_MOZC_LIST:Mibus_mozc} == "ibus_mozc" || \ |
36 |
.elif ${BUILD_MOZC_LIST:Mibus_mozc} == "ibus_mozc" || \ |
Lines 77-86
Link Here
|
77 |
.endfor |
75 |
.endfor |
78 |
|
76 |
|
79 |
BUILD_CMD= ${SETENV} ${MAKE_ENV} ${GMAKE} |
77 |
BUILD_CMD= ${SETENV} ${MAKE_ENV} ${GMAKE} |
|
|
78 |
.if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server" |
79 |
GYP_DEFINES= "use_libprotobuf=1 enable_gtk_renderer=0" |
80 |
.else |
81 |
GYP_DEFINES= "use_libprotobuf=1" |
82 |
.endif |
80 |
BUILD_MOZC_CMD= cd ${BUILD_WRKSRC} && \ |
83 |
BUILD_MOZC_CMD= cd ${BUILD_WRKSRC} && \ |
81 |
${SETENV} BUILD_COMMAND="${WRKSRC}/mozcmake" \ |
84 |
${SETENV} BUILD_COMMAND="${WRKSRC}/mozcmake" \ |
82 |
PYTHONPATH=${WRKSRC}/third_party/gyp/local/lib/python${PYTHON_VER}/site-packages \ |
85 |
PYTHONPATH=${WRKSRC}/third_party/gyp/local/lib/python${PYTHON_VER}/site-packages \ |
83 |
GYP_DEFINES="use_libprotobuf=1" \ |
86 |
GYP_DEFINES=${GYP_DEFINES} \ |
84 |
${PYTHON_CMD} build_mozc.py |
87 |
${PYTHON_CMD} build_mozc.py |
85 |
BUILD_GYP_CMD= cd ${WRKSRC}/third_party/gyp && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} |
88 |
BUILD_GYP_CMD= cd ${WRKSRC}/third_party/gyp && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} |
86 |
|
89 |
|
Lines 111-117
Link Here
|
111 |
|
114 |
|
112 |
# mozc_server |
115 |
# mozc_server |
113 |
.if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server" |
116 |
.if ${BUILD_MOZC_LIST:Mmozc_server} == "mozc_server" |
114 |
LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo |
|
|
115 |
PLIST_FILES+= bin/mozc_server |
117 |
PLIST_FILES+= bin/mozc_server |
116 |
|
118 |
|
117 |
do-build-mozc_server: |
119 |
do-build-mozc_server: |