aboutsummaryrefslogtreecommitdiff
path: root/textproc/ibus-m17n/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-02-05 07:46:24 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-02-05 07:46:24 +0000
commitff553ed2391166ceecc308c9063b3447b9d13cb0 (patch)
treeeb51803f922b5bacb004d49e92fe10d67d1a7209 /textproc/ibus-m17n/Makefile
parentdf7781d55b580def6b318d4eaa999f10b16f9c41 (diff)
Notes
Diffstat (limited to 'textproc/ibus-m17n/Makefile')
-rw-r--r--textproc/ibus-m17n/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/textproc/ibus-m17n/Makefile b/textproc/ibus-m17n/Makefile
new file mode 100644
index 000000000000..b3ae608caa72
--- /dev/null
+++ b/textproc/ibus-m17n/Makefile
@@ -0,0 +1,36 @@
+# Created by: Nikola Lecic <nikola.lecic@anthesphoria.net>
+# $FreeBSD$
+
+PORTNAME= ibus-m17n
+DISTVERSION= 1.3.4-16
+DISTVERSIONSUFFIX= -g791efdd
+CATEGORIES= textproc
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= m17n IM engine for IBus framework
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libibus-1.0.so:textproc/ibus \
+ libm17n.so:devel/m17n-lib \
+ libfreetype.so:print/freetype2 \
+ libfontconfig.so:x11-fonts/fontconfig
+RUN_DEPENDS= ibus-daemon:textproc/ibus
+
+USES= autoreconf gmake libtool pkgconfig
+GNU_CONFIGURE= yes
+USE_GITHUB= yes
+GH_ACCOUNT= ibus
+USE_GNOME= glib20 gtk20 atk gdkpixbuf2 cairo pango intltool
+
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/share/m17n|$${pkgdatadir}|g' \
+ ${WRKSRC}/src/m17n.xml.in*
+
+.include <bsd.port.mk>