1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/textproc/ibus-m17n/Makefile
Martin Wilke 294ea8e2d5 * add stage support
* correct use of LIB_DEPENDS
* reduce MASTER_SITES

PR:		190910
Submitted by:	maintainer
2014-06-14 06:02:26 +00:00

39 lines
801 B
Makefile

# Created by: Nikola Lecic <nikola.lecic@anthesphoria.net>
# $FreeBSD$
PORTNAME= ibus-m17n
PORTVERSION= 1.3.3
PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= The m17n IMEngine for IBus framework
LIB_DEPENDS= libibus-1.0.so:${PORTSDIR}/textproc/ibus \
libm17n.so:${PORTSDIR}/devel/m17n-lib
RUN_DEPENDS= ibus-daemon:${PORTSDIR}/textproc/ibus
PROJECTHOST= ibus
USES= gmake pkgconfig
GNU_CONFIGURE= yes
OPTIONS_DEFINE= NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/m17n|$${pkgdatadir}|g' \
${WRKSRC}/src/m17n.xml.in*
.include <bsd.port.mk>