2013-03-04 11:55:23 +01:00
|
|
|
# Created by: Nikola Lecic <nikola.lecic@anthesphoria.net>
|
2009-11-22 14:21:29 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ibus-table
|
2014-06-14 07:47:29 +02:00
|
|
|
PORTVERSION= 1.5.0
|
2009-11-22 14:21:29 +01:00
|
|
|
CATEGORIES= textproc
|
2014-06-14 07:47:29 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
2009-11-22 14:21:29 +01:00
|
|
|
|
|
|
|
MAINTAINER= nikola.lecic@anthesphoria.net
|
|
|
|
COMMENT= Table based input method framework for IBus
|
|
|
|
|
2013-03-04 11:55:23 +01:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
|
2014-06-14 07:47:29 +02:00
|
|
|
LIB_DEPENDS= libibus-1.0.so:${PORTSDIR}/textproc/ibus
|
2013-03-04 11:55:23 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
|
2009-11-22 14:21:29 +01:00
|
|
|
|
2013-03-04 11:55:23 +01:00
|
|
|
USE_PYTHON= yes
|
2013-08-31 01:52:24 +02:00
|
|
|
USE_GNOME= pygtk2
|
|
|
|
USES= gmake pkgconfig
|
2009-11-22 14:21:29 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
PROJECTHOST= ibus
|
|
|
|
|
2014-02-21 14:39:48 +01:00
|
|
|
OPTIONS_DEFINE= NLS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2013-05-06 11:26:23 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2009-11-22 14:21:29 +01:00
|
|
|
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>
|