summaryrefslogtreecommitdiff
path: root/textproc/swath
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-04-06 11:43:39 +0000
committerobache <obache@pkgsrc.org>2011-04-06 11:43:39 +0000
commite31c4fc678d554ee352a1f9554988e4098697bd6 (patch)
treea29d87c06852d32dff86199a50e7a706e6693f92 /textproc/swath
parent3b0361fa0e41bf974d1a4a0a114518e5bdbb7e67 (diff)
downloadpkgsrc-e31c4fc678d554ee352a1f9554988e4098697bd6.tar.gz
Import swath-0.4.1 as textproc/swath.
Swath is a general-purpose utility to workaround the lack of such capability in applications. It analyzes the given Thai text by consulting a Thai word list for word boundaries, before outputting the same text with the predefined word delimitors inserted. It can read many kinds of input, including plain text and structured documents like HTML, RTF, LaTeX and Lambda (Unicode version of LaTeX with Omega typesetter kernel).
Diffstat (limited to 'textproc/swath')
-rw-r--r--textproc/swath/DESCR8
-rw-r--r--textproc/swath/Makefile22
-rw-r--r--textproc/swath/PLIST4
-rw-r--r--textproc/swath/distinfo5
4 files changed, 39 insertions, 0 deletions
diff --git a/textproc/swath/DESCR b/textproc/swath/DESCR
new file mode 100644
index 00000000000..a6dc8a79bb1
--- /dev/null
+++ b/textproc/swath/DESCR
@@ -0,0 +1,8 @@
+Swath is a general-purpose utility to workaround the lack of such capability
+in applications. It analyzes the given Thai text by consulting a Thai word
+list for word boundaries, before outputting the same text with the predefined
+word delimitors inserted.
+
+It can read many kinds of input, including plain text and structured documents
+like HTML, RTF, LaTeX and Lambda (Unicode version of LaTeX with Omega
+typesetter kernel).
diff --git a/textproc/swath/Makefile b/textproc/swath/Makefile
new file mode 100644
index 00000000000..7f9ec9628cf
--- /dev/null
+++ b/textproc/swath/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/04/06 11:43:39 obache Exp $
+#
+
+DISTNAME= swath-0.4.1
+CATEGORIES= textproc
+MASTER_SITES= ftp://linux.thai.net/pub/ThaiLinux/software/swath/ \
+ http://linux.thai.net/pub/ThaiLinux/software/swath/
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://linux.thai.net/projects/thailatex
+COMMENT= Smart Word Analysis for THai
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+USE_TOOLS+= pkg-config
+
+.include "../../devel/libdatrie/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/swath/PLIST b/textproc/swath/PLIST
new file mode 100644
index 00000000000..699e5792ccd
--- /dev/null
+++ b/textproc/swath/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/04/06 11:43:39 obache Exp $
+bin/swath
+man/man1/swath.1
+share/swath/swathdic.tri
diff --git a/textproc/swath/distinfo b/textproc/swath/distinfo
new file mode 100644
index 00000000000..ed946a4cad8
--- /dev/null
+++ b/textproc/swath/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/04/06 11:43:39 obache Exp $
+
+SHA1 (swath-0.4.1.tar.gz) = a94bcdc905c13aef7dcb4bd420792598e800c662
+RMD160 (swath-0.4.1.tar.gz) = 38e224d7e48d7d518d7a6562edb3c10155a51494
+Size (swath-0.4.1.tar.gz) = 441022 bytes