aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/nl-mythes
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2011-07-21 22:33:07 +0800
committerbapt <bapt@FreeBSD.org>2011-07-21 22:33:07 +0800
commit7c2fa80a46bb8ff08c1351801615de645893166e (patch)
tree9204fe5b7082e085eae35f34c4c107c55c24a424 /textproc/nl-mythes
parenteb6c50c8c46a57c0d93a86b17ea772e53f5a66dc (diff)
downloadfreebsd-ports-gnome-7c2fa80a46bb8ff08c1351801615de645893166e.tar.gz
freebsd-ports-gnome-7c2fa80a46bb8ff08c1351801615de645893166e.tar.zst
freebsd-ports-gnome-7c2fa80a46bb8ff08c1351801615de645893166e.zip
Add some locales thesaurus
Diffstat (limited to 'textproc/nl-mythes')
-rw-r--r--textproc/nl-mythes/Makefile44
-rw-r--r--textproc/nl-mythes/distinfo2
-rw-r--r--textproc/nl-mythes/pkg-descr3
3 files changed, 49 insertions, 0 deletions
diff --git a/textproc/nl-mythes/Makefile b/textproc/nl-mythes/Makefile
new file mode 100644
index 000000000000..b08c1f05ee7e
--- /dev/null
+++ b/textproc/nl-mythes/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: nl-mythes
+# Date created: 2011-07-21
+# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= nl-mythes
+PORTVERSION= 2011.06.09
+CATEGORIES= textproc
+MASTER_SITES= http://data.opentaal.org/opentaalbank/thesaurus/download/
+DISTNAME= thes_nl
+EXTRACT_SUFX= .oxt
+
+MAINTAINER= bapt@FreeBSD.org
+COMMENT= Dutch thesaurus
+
+LICENSE= BSD
+
+USE_ZIP= yes
+NO_BUILD= yes
+
+PLIST_FILES= share/mythes/th_nl_NL_v2.dat \
+ share/mythes/th_nl_NL_v2.idx
+PLIST_DIRS= share/mythes
+
+NLALIASES= nl_AW nl_BE
+
+.for ALIAS in ${NLALIASES}
+PLIST_FILES+= share/mythes/th_${ALIAS}_v2.dat \
+ share/mythes/th_${ALIAS}_v2.idx
+.endfor
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/mythes
+ @${INSTALL_DATA} ${WRKDIR}/th_nl_v2.dat ${PREFIX}/share/mythes/th_nl_NL_v2.dat
+ @${INSTALL_DATA} ${WRKDIR}/th_nl_v2.dat ${PREFIX}/share/mythes/th_nl_NL_v2.idx
+ @cd ${PREFIX}/share/mythes; \
+ for alias in ${NLALIASES}; do \
+ ${LN} -s th_nl_NL_v2.dat th_$${alias}_v2.dat ; \
+ ${LN} -s th_nl_NL_v2.dat th_$${alias}_v2.idx ; \
+ done
+
+.include <bsd.port.mk>
diff --git a/textproc/nl-mythes/distinfo b/textproc/nl-mythes/distinfo
new file mode 100644
index 000000000000..2b9a7700c61f
--- /dev/null
+++ b/textproc/nl-mythes/distinfo
@@ -0,0 +1,2 @@
+SHA256 (thes_nl.oxt) = acbe57725cab867008f831bd623f5c57315c67e372c2af84627de10af369e7e3
+SIZE (thes_nl.oxt) = 1955743
diff --git a/textproc/nl-mythes/pkg-descr b/textproc/nl-mythes/pkg-descr
new file mode 100644
index 000000000000..5f56d2bbd4e5
--- /dev/null
+++ b/textproc/nl-mythes/pkg-descr
@@ -0,0 +1,3 @@
+Dutch thesaurus
+
+WWW: http://data.opentaal.org/opentaalbank/thesaurus