1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/textproc/uim-m17nlib/Makefile
Joe Marcus Clarke 29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00

40 lines
956 B
Makefile

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