aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libkmfl/Makefile
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2007-10-19 00:05:36 +0800
committergarga <garga@FreeBSD.org>2007-10-19 00:05:36 +0800
commit0e11c0a386a89e1bc992ca29cbc8668c190f6579 (patch)
tree1b66cafcc67470fc2a07fa781aae972680cd1a7f /textproc/libkmfl/Makefile
parente85bdfbcee18efb1f435ce1166df2214ca207a11 (diff)
downloadfreebsd-ports-gnome-0e11c0a386a89e1bc992ca29cbc8668c190f6579.tar.gz
freebsd-ports-gnome-0e11c0a386a89e1bc992ca29cbc8668c190f6579.tar.zst
freebsd-ports-gnome-0e11c0a386a89e1bc992ca29cbc8668c190f6579.zip
This library provides an engine to interpret compiled
(textproc/kmflcomp) KMFL keyboard tables written in Keyman keyboard language for use with SCIM KMFL IMEngine (textproc/scim-kmfl-imengine). KMFL aims to bring Tavultesoft Keyman functionality to *nix operating systems. KMFL is being jointly developed by SIL International (http://www.sil.org) and Tavultesoft (http://www.tavultesoft.com). WWW: http://kmfl.sourceforge.net/ PR: ports/117169 Submitted by: Nikola Lecic <nikola.lecic at anthesphoria.net>
Diffstat (limited to 'textproc/libkmfl/Makefile')
-rw-r--r--textproc/libkmfl/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/textproc/libkmfl/Makefile b/textproc/libkmfl/Makefile
new file mode 100644
index 000000000000..094fd721b290
--- /dev/null
+++ b/textproc/libkmfl/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: libkmfl
+# Date created: 10 October 2007
+# Whom: Nikola Lecic <nikola.lecic@anthesphoria.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libkmfl
+PORTVERSION= 0.9.6
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
+ http://anthesphoria.net/files/distribution/
+MASTER_SITE_SUBDIR= kmfl
+DIST_SUBDIR= kmfl
+
+MAINTAINER= nikola.lecic@anthesphoria.net
+COMMENT= An engine to interpret compiled KMFL keyboard tables
+
+LIB_DEPENDS= kmflcomp:${PORTSDIR}/textproc/kmflcomp
+
+USE_LDCONFIG= yes
+USE_GETTEXT= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+DOCSDIR= ${PREFIX}/share/doc/kmfl/${PORTNAME}
+PORTDOCS= AUTHORS COPYING ChangeLog
+
+PLIST_FILES= include/kmfl/libkmfl.h \
+ lib/libkmfl.a \
+ lib/libkmfl.la \
+ lib/libkmfl.so \
+ lib/libkmfl.so.0
+
+post-patch:
+ @${REINPLACE_CMD} \
+ 's|^install-data-am: install-libkmfldocDATA|install-data-am:|' \
+ ${WRKSRC}/Makefile.in
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+. for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+. endfor
+.endif
+
+.include <bsd.port.mk>