freebsd-ports/textproc/ibus-table/Makefile
Alex Kozlov e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00

39 lines
996 B
Makefile

# Created by: Nikola Lecic <nikola.lecic@anthesphoria.net>
# $FreeBSD$
PORTNAME= ibus-table
PORTVERSION= 1.3.9.20110827
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
http://anthesphoria.net/FreeBSD/ports/distfiles/
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= ibus-1.0:${PORTSDIR}/textproc/ibus
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
USE_PYTHON= yes
USE_GNOME= pkgconfig pygtk2
GNU_CONFIGURE= yes
USE_GMAKE= yes
PROJECTHOST= ibus
.if !defined(WITHOUT_NLS)
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>