freebsd-ports/textproc/uim-m17nlib/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

38 lines
1 KiB
Makefile

# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
.if defined(WITHOUT_X11)
PKGNAMESUFFIX= -m17nlib-nox11
.else
PKGNAMESUFFIX= -m17nlib
.endif
COMMENT= Uim plugin using m17n library input method
BUILD_DEPENDS= m17n-db:devel/m17n-db
LIB_DEPENDS= libm17n.so:devel/m17n-lib \
libuim.so:textproc/uim
RUN_DEPENDS= m17n-db:devel/m17n-db
.if !defined(WITHOUT_M17NCONTRIB)
RUN_DEPENDS+= ${LOCALBASE}/share/m17n/icons/as-phonetic.png:devel/m17n-db
.endif
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
CONFIGURE_ARGS= --with-m17nlib
UIM_SLAVE= yes
do-build:
(cd ${WRKSRC}/uim && ${MAKE_CMD} libuim-m17nlib.la)
do-install:
(cd ${WRKSRC}/uim && \
${MAKE_CMD} DESTDIR=${STAGEDIR} uim_plugin_LTLIBRARIES=libuim-m17nlib.la install-uim_pluginLTLIBRARIES && \
${MKDIR} ${STAGEDIR}${PREFIX}/share/uim/pixmaps && \
DESTDIR="${STAGEDIR}" ${SH} ../pixmaps/uim-m17nlib-relink-icons)
post-install:
@${FIND} ${LOCALBASE}/share/m17n/icons/ -name '*.png' -execdir ${ECHO} share/uim/pixmaps/m17n-{} \; >>${TMPPLIST}
.include "${MASTERDIR}/Makefile"