1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/japanese/uim-anthy/Makefile
MANTANI Nobutaka dc84281c1a textproc/uim: Update to the snapshot on 2021-01-04.
- Use GTK+ 3 as default GUI toolkit.
- textproc/uim-qt5 installs KDE Plasma 5 applet.
- Bump PORTREVISION of ports that depends on textproc/uim
2021-05-01 23:25:40 +09:00

47 lines
1.3 KiB
Makefile

# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
CATEGORIES= japanese
.if defined(WITHOUT_X11)
PKGNAMESUFFIX= -anthy-nox11
.else
PKGNAMESUFFIX= -anthy
.endif
COMMENT= Uim plugin using Anthy input method
.if !defined(WITHOUT_X11)
USE_GNOME= cairo gdkpixbuf2 gtk30
.endif
LIB_DEPENDS= libanthy.so:japanese/anthy \
libfreetype.so:print/freetype2 \
libuim.so:textproc/uim \
libfontconfig.so:x11-fonts/fontconfig
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
CONFIGURE_ARGS= --with-anthy --with-anthy-utf8
.if !defined(WITHOUT_X11)
CONFIGURE_ARGS+= --with-gtk3 --enable-dict
.endif
UIM_SLAVE= yes
do-build:
(cd ${WRKSRC}/uim && ${MAKE_CMD} libuim-anthy.la)
(cd ${WRKSRC}/uim && ${MAKE_CMD} libuim-anthy-utf8.la)
.if !defined(WITHOUT_X11)
(cd ${WRKSRC}/gtk3/dict && ${MAKE_CMD} uim-dict-gtk3)
.endif
do-install:
(cd ${WRKSRC}/uim && \
${MAKE_CMD} DESTDIR=${STAGEDIR} uim_plugin_LTLIBRARIES=libuim-anthy.la install-uim_pluginLTLIBRARIES && \
${MAKE_CMD} DESTDIR=${STAGEDIR} uim_plugin_LTLIBRARIES=libuim-anthy-utf8.la install-uim_pluginLTLIBRARIES)
.if !defined(WITHOUT_X11)
(cd ${WRKSRC}/gtk3/dict && ${MAKE_CMD} DESTDIR=${STAGEDIR} bin_PROGRAMS=uim-dict-gtk3 install-binPROGRAMS install-uim_dict_uiDATA)
.endif
.include "${MASTERDIR}/Makefile"