aboutsummaryrefslogtreecommitdiff
path: root/textproc/es-hunspell
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-07-21 06:31:26 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-07-21 06:31:26 +0000
commit8aa8cd5a391d376d14db1562a06f844e89993f42 (patch)
tree890acdcd845d4b993170046e6d7e394555ecf09f /textproc/es-hunspell
parent086ec8d52499997eb0680a0e85ecbe632ebca3f9 (diff)
Add Spanish hunspell dictionaries
Notes
Notes: svn path=/head/; revision=278075
Diffstat (limited to 'textproc/es-hunspell')
-rw-r--r--textproc/es-hunspell/Makefile47
-rw-r--r--textproc/es-hunspell/distinfo2
-rw-r--r--textproc/es-hunspell/pkg-descr3
3 files changed, 52 insertions, 0 deletions
diff --git a/textproc/es-hunspell/Makefile b/textproc/es-hunspell/Makefile
new file mode 100644
index 000000000000..b502a2ae29af
--- /dev/null
+++ b/textproc/es-hunspell/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: es-hunspell
+# Date created: 2011-07-21
+# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= es-hunspell
+PORTVERSION= 0.5
+CATEGORIES= textproc
+MASTER_SITES= http://extensions.services.openoffice.org/e-files/1639/2/
+DISTNAME= es_ANY
+EXTRACT_SUFX= .oxt
+
+MAINTAINER= bapt@FreeBSD.org
+COMMENT= Spanish hunspell dictionaries
+
+LICENSE= GPLv3 LGPL3 MPL
+LICENSE_COMB= dual
+
+USE_ZIP= yes
+NO_BUILD= yes
+
+ESALIASES= es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_GT es_HN es_MX \
+ es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY es_VE
+
+PLIST_FILES= share/hunspell/es_ES.aff \
+ share/hunspell/es_ES.dic
+
+.for ALIAS in ${ESALIASES}
+PLIST_FILES+= share/hunspell/${ALIAS}.aff \
+ share/hunspell/${ALIAS}.dic
+.endfor
+
+PLIST_DIRS= share/hunspell
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/hunspell
+ @${INSTALL_DATA} ${WRKDIR}/es_ANY.aff ${PREFIX}/share/hunspell/es_ES.aff
+ @${INSTALL_DATA} ${WRKDIR}/es_ANY.dic ${PREFIX}/share/hunspell/es_ES.dic
+ @cd ${PREFIX}/share/hunspell; \
+ for alias in ${ESALIASES}; do \
+ ${LN} -s es_ES.aff $${alias}.aff ; \
+ ${LN} -s es_ES.dic $${alias}.dic ; \
+ done
+
+.include <bsd.port.mk>
diff --git a/textproc/es-hunspell/distinfo b/textproc/es-hunspell/distinfo
new file mode 100644
index 000000000000..172ec691e519
--- /dev/null
+++ b/textproc/es-hunspell/distinfo
@@ -0,0 +1,2 @@
+SHA256 (es_ANY.oxt) = cc5b5de594d9029b49f0587fff8fa994f27a42b7154d93d015fe563136efd260
+SIZE (es_ANY.oxt) = 1416009
diff --git a/textproc/es-hunspell/pkg-descr b/textproc/es-hunspell/pkg-descr
new file mode 100644
index 000000000000..113a6f07dede
--- /dev/null
+++ b/textproc/es-hunspell/pkg-descr
@@ -0,0 +1,3 @@
+Spanish hunspell dictionaries
+
+WWW: http://es.openoffice.org/programa/diccionario.html