aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/sr-hunspell/Makefile37
-rw-r--r--textproc/sr-hunspell/distinfo2
-rw-r--r--textproc/sr-hunspell/pkg-descr1
4 files changed, 41 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 102f1aaadc02..6582359dd6e5 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1243,6 +1243,7 @@
SUBDIR += sphinxsearch
SUBDIR += sphinxsearch-devel
SUBDIR += sr-aspell
+ SUBDIR += sr-hunspell
SUBDIR += srilm
SUBDIR += ss-hunspell
SUBDIR += ssddiff
diff --git a/textproc/sr-hunspell/Makefile b/textproc/sr-hunspell/Makefile
new file mode 100644
index 000000000000..00b19afb0385
--- /dev/null
+++ b/textproc/sr-hunspell/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: sr-hunspell
+# Date created: 2011-07-20
+# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sr-hunspell
+PORTVERSION= 0.18
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED}
+MASTER_SITE_SUBDIR= addons/10894
+DISTNAME= serbian_dictionary-${PORTVERSION}-fx+tb+sm
+EXTRACT_SUFX= .xpi
+
+MAINTAINER= bapt@FreeBSD.org
+COMMENT= Serbian hunspell dictionnaries
+
+USE_ZIP= yes
+NO_BUILD= yes
+
+PLIST_FILES= share/hunspell/sr_YU.aff \
+ share/hunspell/sr_YU.dic \
+ share/hunspell/sh_YU.aff \
+ share/hunspell/sh_YU.dic
+
+PLIST_DIRS= share/hunspell
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/hunspell
+ @${INSTALL_DATA} ${WRKDIR}/dictionaries/sr-RS-Cyrl.aff ${PREFIX}/share/hunspell/sr_YU.aff
+ @${INSTALL_DATA} ${WRKDIR}/dictionaries/sr-RS-Cyrl.dic ${PREFIX}/share/hunspell/sr_YU.dic
+ @${INSTALL_DATA} ${WRKDIR}/dictionaries/sr-RS-Latn.aff ${PREFIX}/share/hunspell/sh_YU.aff
+ @${INSTALL_DATA} ${WRKDIR}/dictionaries/sr-RS-Latn.dic ${PREFIX}/share/hunspell/sh_YU.dic
+
+
+.include <bsd.port.mk>
diff --git a/textproc/sr-hunspell/distinfo b/textproc/sr-hunspell/distinfo
new file mode 100644
index 000000000000..84cd133b45fa
--- /dev/null
+++ b/textproc/sr-hunspell/distinfo
@@ -0,0 +1,2 @@
+SHA256 (serbian_dictionary-0.18-fx+tb+sm.xpi) = cd2f0c60acab64e0bc2814c4405d82c14319b771c0b5c7a43c64e8fdea0395f3
+SIZE (serbian_dictionary-0.18-fx+tb+sm.xpi) = 1181426
diff --git a/textproc/sr-hunspell/pkg-descr b/textproc/sr-hunspell/pkg-descr
new file mode 100644
index 000000000000..83b5f5952fec
--- /dev/null
+++ b/textproc/sr-hunspell/pkg-descr
@@ -0,0 +1 @@
+Serbian hunspell dictionnaries