summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-02-11 02:20:44 +0000
committerobache <obache@pkgsrc.org>2008-02-11 02:20:44 +0000
commit99f4f81d7943d655e562b41429a6f94bb388ed16 (patch)
treece5f4638831dd13a951edac7929afb0e1cd2dc33 /devel
parent91c47e57e5fe94ff6cf314bfc5ce000d66b6e4ea (diff)
downloadpkgsrc-99f4f81d7943d655e562b41429a6f94bb388ed16.tar.gz
Import libthai version 0.1.9.
LibThai is a set of Thai language support routines aimed to ease developers' tasks to incorporate Thai language support in their applications. It includes important Thai-specific functions e.g. word breaking, input and output methods as well as basic.
Diffstat (limited to 'devel')
-rw-r--r--devel/libthai/DESCR4
-rw-r--r--devel/libthai/Makefile23
-rw-r--r--devel/libthai/PLIST25
-rw-r--r--devel/libthai/buildlink3.mk21
-rw-r--r--devel/libthai/distinfo5
5 files changed, 78 insertions, 0 deletions
diff --git a/devel/libthai/DESCR b/devel/libthai/DESCR
new file mode 100644
index 00000000000..a25bbb824d1
--- /dev/null
+++ b/devel/libthai/DESCR
@@ -0,0 +1,4 @@
+LibThai is a set of Thai language support routines aimed to ease developers'
+tasks to incorporate Thai language support in their applications. It includes
+important Thai-specific functions e.g. word breaking, input and output methods
+as well as basic.
diff --git a/devel/libthai/Makefile b/devel/libthai/Makefile
new file mode 100644
index 00000000000..102dfa3b3a2
--- /dev/null
+++ b/devel/libthai/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/02/11 02:20:44 obache Exp $
+#
+
+DISTNAME= libthai-0.1.9
+CATEGORIES= devel
+MASTER_SITES= ftp://linux.thai.net/pub/ThaiLinux/software/libthai/
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://linux.thai.net/projects/libthai
+COMMENT= Thai language support routines
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= libthai.pc.in
+
+CONFIGURE_ARGS+= --disable-doxygen-doc
+
+.include "../../devel/libdatrie/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libthai/PLIST b/devel/libthai/PLIST
new file mode 100644
index 00000000000..61475a4b5f7
--- /dev/null
+++ b/devel/libthai/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/11 02:20:44 obache Exp $
+include/thai/thailib.h
+include/thai/thbrk.h
+include/thai/thcell.h
+include/thai/thcoll.h
+include/thai/thctype.h
+include/thai/thinp.h
+include/thai/thrend.h
+include/thai/thstr.h
+include/thai/thwbrk.h
+include/thai/thwchar.h
+include/thai/thwcoll.h
+include/thai/thwctype.h
+include/thai/thwinp.h
+include/thai/thwrend.h
+include/thai/thwstr.h
+include/thai/tis.h
+include/thai/wtt.h
+lib/libthai.la
+lib/pkgconfig/libthai.pc
+share/libthai/thbrk.br
+share/libthai/thbrk.sbm
+share/libthai/thbrk.tl
+@dirrm share/libthai
+@dirrm include/thai
diff --git a/devel/libthai/buildlink3.mk b/devel/libthai/buildlink3.mk
new file mode 100644
index 00000000000..da5bea668f5
--- /dev/null
+++ b/devel/libthai/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/11 02:20:44 obache Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBTHAI_BUILDLINK3_MK:= ${LIBTHAI_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libthai
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibthai}
+BUILDLINK_PACKAGES+= libthai
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libthai
+
+.if ${LIBTHAI_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libthai+= libthai>=0.1.9
+BUILDLINK_PKGSRCDIR.libthai?= ../../devel/libthai
+.endif # LIBTHAI_BUILDLINK3_MK
+
+.include "../../devel/libdatrie/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/libthai/distinfo b/devel/libthai/distinfo
new file mode 100644
index 00000000000..d57dcfb6a11
--- /dev/null
+++ b/devel/libthai/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/02/11 02:20:44 obache Exp $
+
+SHA1 (libthai-0.1.9.tar.gz) = 236c3af13dc08c364a1d623705cd2e33877ac942
+RMD160 (libthai-0.1.9.tar.gz) = 68912107094969dd0297f94dbf0a770f3ff5fe01
+Size (libthai-0.1.9.tar.gz) = 491038 bytes