diff --git a/portuguese/Makefile b/portuguese/Makefile index af3d4c4347de..54a87c5f58af 100644 --- a/portuguese/Makefile +++ b/portuguese/Makefile @@ -6,6 +6,7 @@ SUBDIR += acroread8 SUBDIR += aspell-pt_BR SUBDIR += aspell-pt_PT + SUBDIR += hunspell SUBDIR += irpf-pt_BR SUBDIR += ispell-pt_BR SUBDIR += kde3-i18n 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 +# +# $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 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