# Created by: Nikola Lecic # $FreeBSD$ PORTNAME= m17n-im-config PORTVERSION= 0.9.0 PORTREVISION= 9 CATEGORIES= textproc MASTER_SITES= http://www.m17n.org/common/im-config/ \ http://anthesphoria.net/FreeBSD/ports/distfiles/ MAINTAINER= nikola.lecic@anthesphoria.net COMMENT= GUI for per-user configuration of m17n-lib input methods LIB_DEPENDS= libm17n.so:${PORTSDIR}/devel/m17n-lib MAKE_JOBS_UNSAFE= yes USE_GNOME= gtk20 intltool intlhack glib20 USES= gettext pkgconfig libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip DESKTOP_ENTRIES="M17N-IM Configuration" \ "${COMMENT}" \ "" \ "m17n-im-config" \ "Settings;" \ true OPTIONS_DEFINE= NLS .include .if ${PORT_OPTIONS:MNLS} USES+= gettext CONFIGURE_ARGS+= --enable-nls PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|^pkgconfigdir = $${libdir}/pkgconfig|pkgconfigdir = $${prefix}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile.in .include