aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/nl-hunspell/Makefile45
-rw-r--r--textproc/nl-hunspell/distinfo2
-rw-r--r--textproc/nl-hunspell/pkg-descr3
4 files changed, 51 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 1db7e71d38bc..8f4b83db6af2 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -444,6 +444,7 @@
SUBDIR += nb-aspell
SUBDIR += nds-aspell
SUBDIR += nl-aspell
+ SUBDIR += nl-hunspell
SUBDIR += nl-hyphen
SUBDIR += nl-ispell
SUBDIR += nl-mythes
diff --git a/textproc/nl-hunspell/Makefile b/textproc/nl-hunspell/Makefile
new file mode 100644
index 000000000000..a225a167f952
--- /dev/null
+++ b/textproc/nl-hunspell/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: nl-hunspell
+# Date created: 2012-02-03
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hunspell
+PORTVERSION= 2.10
+CATEGORIES= textproc
+MASTER_SITES= LOCAL/sunpoet/${PORTNAME}
+PKGNAMEPREFIX= nl-
+DISTNAME= OpenTaal-${PORTVERSION:R}${PORTVERSION:E}G-LO
+EXTRACT_SUFX= .oxt
+DIST_SUBDIR= ${PORTNAME}
+
+MAINTAINER= office@FreeBSD.org
+COMMENT= Dutch hunspell dictionaries
+
+LICENSE= BSD
+
+USE_ZIP= yes
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+
+PLIST_FILES= %%DATADIR%%/nl_NL.aff \
+ %%DATADIR%%/nl_NL.dic
+PLIST_DIRSTRY= %%DATADIR%%
+
+NLALIASES= nl_AW nl_BE
+.for ALIAS in ${NLALIASES}
+PLIST_FILES+= %%DATADIR%%/${ALIAS}.aff \
+ %%DATADIR%%/${ALIAS}.dic
+.endfor
+
+do-install:
+ ${MKDIR} ${DATADIR}/
+ ${INSTALL_DATA} ${WRKSRC}/nl_NL.aff ${DATADIR}/nl_NL.aff
+ ${INSTALL_DATA} ${WRKSRC}/nl_NL.dic ${DATADIR}/nl_NL.dic
+.for ALIAS in ${NLALIASES}
+ ${LN} -s nl_NL.aff ${DATADIR}/${ALIAS}.aff
+ ${LN} -s nl_NL.dic ${DATADIR}/${ALIAS}.dic
+.endfor
+
+.include <bsd.port.mk>
diff --git a/textproc/nl-hunspell/distinfo b/textproc/nl-hunspell/distinfo
new file mode 100644
index 000000000000..a362e30f7897
--- /dev/null
+++ b/textproc/nl-hunspell/distinfo
@@ -0,0 +1,2 @@
+SHA256 (hunspell/OpenTaal-210G-LO.oxt) = 21eec296d80dac89f9dfa3093d22ef8f25900afa8bd49714fa13a7cf356316c2
+SIZE (hunspell/OpenTaal-210G-LO.oxt) = 868845
diff --git a/textproc/nl-hunspell/pkg-descr b/textproc/nl-hunspell/pkg-descr
new file mode 100644
index 000000000000..82356b88adcc
--- /dev/null
+++ b/textproc/nl-hunspell/pkg-descr
@@ -0,0 +1,3 @@
+Dutch hunspell dictionaries
+
+WWW: http://www.opentaal.org/bestanden