aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-02-28 08:35:04 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-02-28 08:35:04 +0800
commit2176f425b3ed305058e2c192925c675d52d23af6 (patch)
tree0e00f0b2e6235960bd256bdbdd7072969a77516f /textproc
parentfc8164b544ecb70d70de85c7d74472a9ebeae80c (diff)
downloadfreebsd-ports-gnome-2176f425b3ed305058e2c192925c675d52d23af6.tar.gz
freebsd-ports-gnome-2176f425b3ed305058e2c192925c675d52d23af6.tar.zst
freebsd-ports-gnome-2176f425b3ed305058e2c192925c675d52d23af6.zip
- Change upstream to LibreOffice extension: original upstream has disappeared
- Update to 2.24 - Add LICENSE - Add WWW
Diffstat (limited to 'textproc')
-rw-r--r--textproc/sv-hunspell/Makefile16
-rw-r--r--textproc/sv-hunspell/distinfo4
-rw-r--r--textproc/sv-hunspell/pkg-descr2
3 files changed, 12 insertions, 10 deletions
diff --git a/textproc/sv-hunspell/Makefile b/textproc/sv-hunspell/Makefile
index 2b0f9ed4670d..dc8cd574c882 100644
--- a/textproc/sv-hunspell/Makefile
+++ b/textproc/sv-hunspell/Makefile
@@ -1,18 +1,20 @@
# $FreeBSD$
PORTNAME= hunspell
-PORTVERSION= 1.46
-PORTREVISION= 1
+PORTVERSION= 2.24
CATEGORIES= textproc
-MASTER_SITES= LOCAL/sunpoet/${PORTNAME}
+MASTER_SITES= http://extensions.libreoffice.org/extension-center/swedish-spelling-dictionary-den-stora-svenska-ordlistan/releases/${PORTVERSION}/ \
+ LOCAL/sunpoet/${PORTNAME}
PKGNAMEPREFIX= sv-
-DISTNAME= sv-${PORTVERSION}
-EXTRACT_SUFX= .zip
+DISTNAME= ooo_swedish_dict_${PORTVERSION:R}-${PORTVERSION:E}
+EXTRACT_SUFX= .oxt
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Swedish hunspell dictionaries
+LICENSE= GPLv3
+
NO_BUILD= yes
NO_WRKSUBDIR= yes
@@ -24,8 +26,6 @@ PLIST_DIRSTRY= %%DATADIR%%
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/
- ${INSTALL_DATA} ${WRKSRC}/sv_SE.aff ${WRKSRC}/sv_SE.dic ${STAGEDIR}${DATADIR}/
- ${LN} -s sv_SE.aff ${STAGEDIR}${DATADIR}/sv_FI.aff
- ${LN} -s sv_SE.dic ${STAGEDIR}${DATADIR}/sv_FI.dic
+ cd ${WRKSRC}/dictionaries/ && ${INSTALL_DATA} sv_FI.aff sv_FI.dic sv_SE.aff sv_SE.dic ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>
diff --git a/textproc/sv-hunspell/distinfo b/textproc/sv-hunspell/distinfo
index 393aae46941e..b5941cbcd8f3 100644
--- a/textproc/sv-hunspell/distinfo
+++ b/textproc/sv-hunspell/distinfo
@@ -1,2 +1,2 @@
-SHA256 (hunspell/sv-1.46.zip) = acd974002d6ddf9c27e31f4111ebd169ca3ee407cc5a46165b93c41d02ee402c
-SIZE (hunspell/sv-1.46.zip) = 336191
+SHA256 (hunspell/ooo_swedish_dict_2-24.oxt) = b29da9e6de509050fb0e3733a1f4828b65a4c95bd91f84683d6f7a24284cf387
+SIZE (hunspell/ooo_swedish_dict_2-24.oxt) = 1319696
diff --git a/textproc/sv-hunspell/pkg-descr b/textproc/sv-hunspell/pkg-descr
index 654b887eed83..1b8a3f2e9546 100644
--- a/textproc/sv-hunspell/pkg-descr
+++ b/textproc/sv-hunspell/pkg-descr
@@ -1 +1,3 @@
Swedish hunspell dictionaries
+
+WWW: http://extensions.libreoffice.org/extension-center/swedish-spelling-dictionary-den-stora-svenska-ordlistan