aboutsummaryrefslogtreecommitdiff
path: root/portuguese/hunspell
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-07-20 13:09:44 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-07-20 13:09:44 +0000
commit1a5066db1308d9b2a744ab4dd979051681375c3f (patch)
tree268255c0e20eb56f608d550cc637597403fe2569 /portuguese/hunspell
parent7d2674ac3bd1d93e5b2216cea4189c65c79e49c3 (diff)
downloadports-1a5066db1308d9b2a744ab4dd979051681375c3f.tar.gz
ports-1a5066db1308d9b2a744ab4dd979051681375c3f.zip
Notes
Diffstat (limited to 'portuguese/hunspell')
-rw-r--r--portuguese/hunspell/Makefile40
-rw-r--r--portuguese/hunspell/distinfo4
-rw-r--r--portuguese/hunspell/pkg-descr4
3 files changed, 48 insertions, 0 deletions
diff --git a/portuguese/hunspell/Makefile b/portuguese/hunspell/Makefile
new file mode 100644
index 000000000000..3482157ff5bc
--- /dev/null
+++ b/portuguese/hunspell/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: hunspell
+# Date created: 2011-07-20
+# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hunspell
+PORTVERSION= 20110608
+CATEGORIES= portuguese textproc
+MASTER_SITES= http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/ \
+ http://www.broffice.org/files/:BR
+DISTFILES= hunspell-pt_PT-${PORTVERSION}.tar.gz \
+ pt_BR-2011-05-27AOC.zip:BR
+
+MAINTAINER= bapt@FreeBSD.org
+COMMENT= Hunspell portuguese dictionnary
+
+# rely on bsdtar ability to extract .gz and .zip archives
+EXTRACT_CMD= ${CAT}
+EXTRACT_BEFORE_ARGS=
+
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/hunspell-pt_PT-${PORTVERSION}
+
+PLIST_FILES= share/hunspell/pt_PT.aff \
+ share/hunspell/pt_PT.dic \
+ share/hunspell/pt_BR.aff \
+ share/hunspell/pt_BR.dic
+PLIST_DIRS= share/hunspell
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/hunspell
+ @${INSTALL_DATA} ${WRKDIR}/pt_BR.aff \
+ ${WRKDIR}/pt_BR.dic \
+ ${WRKSRC}/pt_PT.aff \
+ ${WRKSRC}/pt_PT.dic \
+ ${PREFIX}/share/hunspell/
+
+.include <bsd.port.mk>
diff --git a/portuguese/hunspell/distinfo b/portuguese/hunspell/distinfo
new file mode 100644
index 000000000000..ae469d5c6c9e
--- /dev/null
+++ b/portuguese/hunspell/distinfo
@@ -0,0 +1,4 @@
+SHA256 (hunspell-pt_PT-20110608.tar.gz) = 45dbefa048cad1311ef3186c6b833f2f4a8ceba53a20327520d2668adcf2c577
+SIZE (hunspell-pt_PT-20110608.tar.gz) = 255272
+SHA256 (pt_BR-2011-05-27AOC.zip) = 84bf782ac0d65dc6f8a3822913b96e698d3e2e9fb72ffbd48661488844363f91
+SIZE (pt_BR-2011-05-27AOC.zip) = 1348076
diff --git a/portuguese/hunspell/pkg-descr b/portuguese/hunspell/pkg-descr
new file mode 100644
index 000000000000..08f218d640da
--- /dev/null
+++ b/portuguese/hunspell/pkg-descr
@@ -0,0 +1,4 @@
+Hunspell portuguese dictionnary
+
+WWW: http://www.broffice.org/verortografico/baixar
+WWW: http://natura.di.uminho.pt/wiki/doku.php?id=dicionarios:hunspell