1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/textproc/ibus-table/Makefile
Martin Wilke d7027c76a2 * add stage support
* update to 1.5.0
* correct use of LIB_DEPENDS
* reduce MASTER_SITES

PR:		190911
2014-06-14 05:47:29 +00:00

42 lines
974 B
Makefile

# Created by: Nikola Lecic <nikola.lecic@anthesphoria.net>
# $FreeBSD$
PORTNAME= ibus-table
PORTVERSION= 1.5.0
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= nikola.lecic@anthesphoria.net
COMMENT= Table based input method framework for IBus
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
LIB_DEPENDS= libibus-1.0.so:${PORTSDIR}/textproc/ibus
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
USE_PYTHON= yes
USE_GNOME= pygtk2
USES= gmake pkgconfig
GNU_CONFIGURE= yes
PROJECTHOST= ibus
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|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "s|/usr/|${PREFIX}/|g" ${WRKSRC}/engine/*.py
.include <bsd.port.mk>