freebsd-ports/japanese/uim-canna/Makefile
2008-10-26 20:30:42 +00:00

39 lines
871 B
Makefile

# New ports collection makefile for: ja-uim-canna
# Date created: 31 August 2003
# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org>
#
# $FreeBSD$
#
PORTREVISION= 1
CATEGORIES= japanese
.if defined(WITHOUT_X11)
PKGNAMESUFFIX= -canna-nox11
.else
PKGNAMESUFFIX= -canna
.endif
COMMENT= Uim plugin using Canna input method
LIB_DEPENDS= canna.1:${PORTSDIR}/japanese/canna-lib \
uim.6:${PORTSDIR}/textproc/uim
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
CONFIGURE_ARGS= --with-canna
UIM_SLAVE= yes
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-uim_Makefile.in
do-build:
(cd ${WRKSRC}/uim && ${GMAKE} libuim-canna.la)
do-install:
(cd ${WRKSRC}/uim && \
${GMAKE} uim_plugin_LTLIBRARIES=libuim-canna.la install-uim_pluginLTLIBRARIES)
post-install:
${LOCALBASE}/bin/uim-module-manager --register canna
.include "${MASTERDIR}/Makefile"