aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2011-07-21 14:15:35 +0800
committerbapt <bapt@FreeBSD.org>2011-07-21 14:15:35 +0800
commita484acbd531e9c8a5eee1341fd430bc329589864 (patch)
tree49e8116133c3731c6983abc568a18697cbf6a71f /textproc
parentb4a3f2034726b556769cf037bc7098b857c88c98 (diff)
downloadfreebsd-ports-gnome-a484acbd531e9c8a5eee1341fd430bc329589864.tar.gz
freebsd-ports-gnome-a484acbd531e9c8a5eee1341fd430bc329589864.tar.zst
freebsd-ports-gnome-a484acbd531e9c8a5eee1341fd430bc329589864.zip
Add Norwegian (Nynorsk and Bokmaal) hunspell dictionaries
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/no-hunspell/Makefile34
-rw-r--r--textproc/no-hunspell/distinfo2
-rw-r--r--textproc/no-hunspell/pkg-descr3
4 files changed, 40 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 03f279de9401..0f13c54c5426 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -419,6 +419,7 @@
SUBDIR += nl-ispell
SUBDIR += nltk
SUBDIR += nn-aspell
+ SUBDIR += no-hunspell
SUBDIR += nunnimcax
SUBDIR += nux
SUBDIR += ny-aspell
diff --git a/textproc/no-hunspell/Makefile b/textproc/no-hunspell/Makefile
new file mode 100644
index 000000000000..f2b27eaef454
--- /dev/null
+++ b/textproc/no-hunspell/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: no-hunspell
+# Date created: 2011-07-21
+# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= no-hunspell
+PORTVERSION= 2.0.10
+CATEGORIES= textproc
+MASTER_SITES= https://alioth.debian.org/frs/download.php/2357/
+DISTNAME= no_NO-pack2-${PORTVERSION}
+
+MAINTAINER= bapt@FreeBSD.org
+COMMENT= Norwegian (Nynorsk and Bokmaal) hunspell dictionaries
+
+USE_ZIP= yes
+NO_BUILD= yes
+
+PLIST_FILES= share/hunspell/nb_NO.aff \
+ share/hunspell/nb_NO.dic \
+ share/hunspell/nn_NO.aff \
+ share/hunspell/nn_NO.dic
+PLIST_DIRS= share/hunspell
+
+post-extract:
+ @${EXTRACT_CMD} ${WRKDIR}/nb_NO.zip -d ${WRKSRC}
+ @${EXTRACT_CMD} ${WRKDIR}/nn_NO.zip -d ${WRKSRC}
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/hunspell
+ @${INSTALL_DATA} ${WRKSRC}/n?_NO.* ${PREFIX}/share/hunspell
+
+.include <bsd.port.mk>
diff --git a/textproc/no-hunspell/distinfo b/textproc/no-hunspell/distinfo
new file mode 100644
index 000000000000..5a47792c1fca
--- /dev/null
+++ b/textproc/no-hunspell/distinfo
@@ -0,0 +1,2 @@
+SHA256 (no_NO-pack2-2.0.10.zip) = 91507d5cfc7b33cd52e2b0628af28235797ca8cd01acdb1a9d60b8f917ff9817
+SIZE (no_NO-pack2-2.0.10.zip) = 3221701
diff --git a/textproc/no-hunspell/pkg-descr b/textproc/no-hunspell/pkg-descr
new file mode 100644
index 000000000000..36fbf7827737
--- /dev/null
+++ b/textproc/no-hunspell/pkg-descr
@@ -0,0 +1,3 @@
+Norwegian (Nynorsk and Bokmaal) hunspell dictionaries
+
+WWW: http://spell-norwegian.alioth.debian.org