aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/libkmfl/Makefile50
-rw-r--r--textproc/libkmfl/distinfo3
-rw-r--r--textproc/libkmfl/pkg-descr10
4 files changed, 64 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 7fca646d7166..46354807f5e7 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -255,6 +255,7 @@
SUBDIR += libcroco
SUBDIR += libebml
SUBDIR += libextractor
+ SUBDIR += libkmfl
SUBDIR += liblingoteach
SUBDIR += liblrdf
SUBDIR += libmrss
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>
diff --git a/textproc/libkmfl/distinfo b/textproc/libkmfl/distinfo
new file mode 100644
index 000000000000..a91e4440dfef
--- /dev/null
+++ b/textproc/libkmfl/distinfo
@@ -0,0 +1,3 @@
+MD5 (kmfl/libkmfl-0.9.6.tar.gz) = eb20513829b64c39deeaa6444cc2e281
+SHA256 (kmfl/libkmfl-0.9.6.tar.gz) = a887a2f5c1e7eec651f354e790ab23c479615d6b3ed358b5b41b45952da42fb8
+SIZE (kmfl/libkmfl-0.9.6.tar.gz) = 324490
diff --git a/textproc/libkmfl/pkg-descr b/textproc/libkmfl/pkg-descr
new file mode 100644
index 000000000000..24991c136261
--- /dev/null
+++ b/textproc/libkmfl/pkg-descr
@@ -0,0 +1,10 @@
+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/