summaryrefslogtreecommitdiff
path: root/converters/TECkit
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2008-11-24 02:09:31 +0000
committerminskim <minskim@pkgsrc.org>2008-11-24 02:09:31 +0000
commitaa8f59600c2a7b78d5b91665dd99974dc66dc9b7 (patch)
treeba68277b8dc8b47d78a3de9d5b032ee77fdc1fc2 /converters/TECkit
parent4c41d9c250e736e0c9ef40249ebd339448d0a7f0 (diff)
downloadpkgsrc-aa8f59600c2a7b78d5b91665dd99974dc66dc9b7.tar.gz
Import TECkit.
TECkit is a low-level toolkit intended to be used by other applications that need to perform encoding conversions (e.g., when importing legacy data into a Unicode-based application). The primary component of the TECkit package is therefore a library that performs conversions; this is the "TECkit engine". The engine relies on mapping tables in a specific binary format (for which documentation is available); there is a compiler that creates such tables from a human-readable mapping description (a simple text file).
Diffstat (limited to 'converters/TECkit')
-rw-r--r--converters/TECkit/DESCR8
-rw-r--r--converters/TECkit/Makefile17
-rw-r--r--converters/TECkit/PLIST10
-rw-r--r--converters/TECkit/buildlink3.mk21
-rw-r--r--converters/TECkit/distinfo5
5 files changed, 61 insertions, 0 deletions
diff --git a/converters/TECkit/DESCR b/converters/TECkit/DESCR
new file mode 100644
index 00000000000..0dcc8eef9cb
--- /dev/null
+++ b/converters/TECkit/DESCR
@@ -0,0 +1,8 @@
+TECkit is a low-level toolkit intended to be used by other
+applications that need to perform encoding conversions (e.g., when
+importing legacy data into a Unicode-based application). The primary
+component of the TECkit package is therefore a library that performs
+conversions; this is the "TECkit engine". The engine relies on
+mapping tables in a specific binary format (for which documentation is
+available); there is a compiler that creates such tables from a
+human-readable mapping description (a simple text file).
diff --git a/converters/TECkit/Makefile b/converters/TECkit/Makefile
new file mode 100644
index 00000000000..bdd30d3bf3a
--- /dev/null
+++ b/converters/TECkit/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/11/24 02:09:31 minskim Exp $
+
+DISTNAME= TECkit_2_5_1
+PKGNAME= ${DISTNAME:S/_/-/:S/_/./g}
+CATEGORIES= converters
+MASTER_SITES= http://scripts.sil.org/svn-view/teckit/TAGS/
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&cat_id=TECkit
+COMMENT= Low-level toolkit to perform encoding conversions
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/TECkit/PLIST b/converters/TECkit/PLIST
new file mode 100644
index 00000000000..c7ea89adefc
--- /dev/null
+++ b/converters/TECkit/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/11/24 02:09:31 minskim Exp $
+bin/sfconv
+bin/teckit_compile
+bin/txtconv
+include/teckit/TECkit_Common.h
+include/teckit/TECkit_Compiler.h
+include/teckit/TECkit_Engine.h
+lib/libTECkit.la
+lib/libTECkit_Compiler.la
+@dirrm include/teckit
diff --git a/converters/TECkit/buildlink3.mk b/converters/TECkit/buildlink3.mk
new file mode 100644
index 00000000000..c1ff7b4841f
--- /dev/null
+++ b/converters/TECkit/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/11/24 02:09:31 minskim Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+TECKIT_BUILDLINK3_MK:= ${TECKIT_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= TECkit
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NTECkit}
+BUILDLINK_PACKAGES+= TECkit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}TECkit
+
+.if ${TECKIT_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.TECkit+= TECkit>=2.5.1
+BUILDLINK_PKGSRCDIR.TECkit?= ../../converters/TECkit
+.endif # TECKIT_BUILDLINK3_MK
+
+.include "../../devel/zlib/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/converters/TECkit/distinfo b/converters/TECkit/distinfo
new file mode 100644
index 00000000000..339aeedad1d
--- /dev/null
+++ b/converters/TECkit/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/11/24 02:09:31 minskim Exp $
+
+SHA1 (TECkit_2_5_1.tar.gz) = 4c43541d11e82c88a56b69d9d077aa3b60e6bb5c
+RMD160 (TECkit_2_5_1.tar.gz) = 4f19b293878329b7eec76b77b322ea2155e34f2f
+Size (TECkit_2_5_1.tar.gz) = 2630207 bytes