|
Lines 24-30
Link Here
|
| 24 |
|
24 |
|
| 25 |
MASTERDIR= ${.CURDIR}/../../textproc/uim |
25 |
MASTERDIR= ${.CURDIR}/../../textproc/uim |
| 26 |
PKGDIR= ${.CURDIR} |
26 |
PKGDIR= ${.CURDIR} |
| 27 |
CONFIGURE_ARGS= --with-anthy |
27 |
CONFIGURE_ARGS= --with-anthy --with-anthy-utf8 |
| 28 |
|
28 |
|
| 29 |
.if !defined(WITHOUT_X11) |
29 |
.if !defined(WITHOUT_X11) |
| 30 |
CONFIGURE_ARGS+= --with-gtk2 --enable-dict |
30 |
CONFIGURE_ARGS+= --with-gtk2 --enable-dict |
|
Lines 37-54
Link Here
|
| 37 |
|
37 |
|
| 38 |
do-build: |
38 |
do-build: |
| 39 |
(cd ${WRKSRC}/uim && ${GMAKE} libuim-anthy.la) |
39 |
(cd ${WRKSRC}/uim && ${GMAKE} libuim-anthy.la) |
|
|
40 |
(cd ${WRKSRC}/uim && ${GMAKE} libuim-anthy-utf8.la) |
| 40 |
.if !defined(WITHOUT_X11) |
41 |
.if !defined(WITHOUT_X11) |
| 41 |
(cd ${WRKSRC}/helper && ${GMAKE} uim-dict-gtk) |
42 |
(cd ${WRKSRC}/helper && ${GMAKE} uim-dict-gtk) |
| 42 |
.endif |
43 |
.endif |
| 43 |
|
44 |
|
| 44 |
do-install: |
45 |
do-install: |
| 45 |
(cd ${WRKSRC}/uim && \ |
46 |
(cd ${WRKSRC}/uim && \ |
| 46 |
${GMAKE} uim_plugin_LTLIBRARIES=libuim-anthy.la install-uim_pluginLTLIBRARIES) |
47 |
${GMAKE} uim_plugin_LTLIBRARIES=libuim-anthy.la install-uim_pluginLTLIBRARIES && \ |
|
|
48 |
${GMAKE} uim_plugin_LTLIBRARIES=libuim-anthy-utf8.la install-uim_pluginLTLIBRARIES) |
| 47 |
.if !defined(WITHOUT_X11) |
49 |
.if !defined(WITHOUT_X11) |
| 48 |
(cd ${WRKSRC}/helper && ${GMAKE} bin_PROGRAMS=uim-dict-gtk install-binPROGRAMS install-uim_dict_uiDATA) |
50 |
(cd ${WRKSRC}/helper && ${GMAKE} bin_PROGRAMS=uim-dict-gtk install-binPROGRAMS install-uim_dict_uiDATA) |
| 49 |
.endif |
51 |
.endif |
| 50 |
|
52 |
|
| 51 |
post-install: |
53 |
post-install: |
| 52 |
${LOCALBASE}/bin/uim-module-manager --register anthy |
54 |
${LOCALBASE}/bin/uim-module-manager --register anthy |
|
|
55 |
${LOCALBASE}/bin/uim-module-manager --register anthy-utf8 |
| 53 |
|
56 |
|
| 54 |
.include "${MASTERDIR}/Makefile" |
57 |
.include "${MASTERDIR}/Makefile" |