aboutsummaryrefslogtreecommitdiffstats
path: root/hungarian/hunspell
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2007-08-01 22:09:22 +0800
committergabor <gabor@FreeBSD.org>2007-08-01 22:09:22 +0800
commit99a968747039d88b9e418b7d1abc1ddd1433cc56 (patch)
tree8a3a226014f7a44ca08740baa74c2734524a6496 /hungarian/hunspell
parent14f06621a417db6ad1f3cb38d0e73b661e55c542 (diff)
downloadfreebsd-ports-gnome-99a968747039d88b9e418b7d1abc1ddd1433cc56.tar.gz
freebsd-ports-gnome-99a968747039d88b9e418b7d1abc1ddd1433cc56.tar.zst
freebsd-ports-gnome-99a968747039d88b9e418b7d1abc1ddd1433cc56.zip
- Update to 1.1.9
- Fixing twice registration of documents - Fix extracting on older systems [1] PR: ports/115042 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer) Reported by: pointyhat (via pav, via kris) [1]
Diffstat (limited to 'hungarian/hunspell')
-rw-r--r--hungarian/hunspell/Makefile12
-rw-r--r--hungarian/hunspell/distinfo6
-rw-r--r--hungarian/hunspell/pkg-descr5
-rw-r--r--hungarian/hunspell/pkg-plist3
4 files changed, 18 insertions, 8 deletions
diff --git a/hungarian/hunspell/Makefile b/hungarian/hunspell/Makefile
index 94fbb7eeba37..6f649804a566 100644
--- a/hungarian/hunspell/Makefile
+++ b/hungarian/hunspell/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= hunspell
-PORTVERSION= 1.1.8
+PORTVERSION= 1.1.9
CATEGORIES= hungarian textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S@$@:code@:S@%SUBDIR%@${PORTNAME}@} \
http://magyarispell.sourceforge.net/:data
@@ -15,7 +15,7 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:code hu_HU.zip:data
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Improved Hungarian spelling checker
-BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+EXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
USE_GMAKE= yes
USE_LDCONFIG= yes
@@ -29,6 +29,14 @@ PORTDOCS= README README.myspell
.include <bsd.port.pre.mk>
+# Ugly workaround for FreeBSD versions before the import of NetBSD gzip.
+do-extract:
+ @${RM} -rf ${WRKDIR}; \
+ ${MKDIR} ${WRKDIR}; \
+ cd ${WRKDIR} && ${TAR} -xzf ${_DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX};\
+ ${UNZIP_CMD} -qo ${_DISTDIR}/hu_HU.zip -d ${WRKDIR}
+
+
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/src/tools/hunspell.cxx
diff --git a/hungarian/hunspell/distinfo b/hungarian/hunspell/distinfo
index 54136dbc4f22..53b65895c0f7 100644
--- a/hungarian/hunspell/distinfo
+++ b/hungarian/hunspell/distinfo
@@ -1,6 +1,6 @@
-MD5 (hunspell-1.1.8.tar.gz) = 18051676c0b00f78a0c77a68dafbb25d
-SHA256 (hunspell-1.1.8.tar.gz) = ba0f42ff00d79f4e075dfba95a922876bc8224cd5fc5c9ab044483f0ca542269
-SIZE (hunspell-1.1.8.tar.gz) = 677672
+MD5 (hunspell-1.1.9.tar.gz) = ff56cf42ebf13dd3b8437194f43c6c7a
+SHA256 (hunspell-1.1.9.tar.gz) = c36ed98189da373f3f24e7be97425454e6706cc3e0d07ff39f8c1bcd6689d543
+SIZE (hunspell-1.1.9.tar.gz) = 684426
MD5 (hu_HU.zip) = c5a0af97a41c1ad65b3f48824b575ad1
SHA256 (hu_HU.zip) = ab039056c7b38a07981e0b1dd7ea0c2dbfd38326392981e6893d3325376e9908
SIZE (hu_HU.zip) = 1197277
diff --git a/hungarian/hunspell/pkg-descr b/hungarian/hunspell/pkg-descr
index 0be9f555847c..ceaba2f1737e 100644
--- a/hungarian/hunspell/pkg-descr
+++ b/hungarian/hunspell/pkg-descr
@@ -2,6 +2,9 @@ Hungarian Spell Checher utility with Hungarian dictionary
and affix files. It has several advantages over ispell.
It has better affix rules than hu-ispell.
+It is installing hungarian dictionary by default, but other dictionaries can
+be found at: http://wiki.services.openoffice.org/wiki/Dictionaries
+
Magyar helyesírás ellenőrző hunspell. Előnyök az ispell-hez képest:
- Több karakter változással járó tipikus hibákra javítási javaslat.
- Helyes összetett szónak látszó szavak tiltása.
@@ -10,5 +13,7 @@ Magyar helyesírás ellenőrző hunspell. Előnyök az ispell-hez képest:
- összetételi szabályok
- többszörös képzők helyes használata
- ékezetesítési javaslatok
+Alepesetben csak a magyar szótárat installálja, de további szótárak
+elérhetöek: http://wiki.services.openoffice.org/wiki/Dictionaries
WWW: http://magyarispell.sourceforge.net/
diff --git a/hungarian/hunspell/pkg-plist b/hungarian/hunspell/pkg-plist
index 8bfce3b50d38..ead236821b95 100644
--- a/hungarian/hunspell/pkg-plist
+++ b/hungarian/hunspell/pkg-plist
@@ -12,6 +12,3 @@ share/myspell/magyar.dic
share/myspell/default.aff
share/myspell/default.dic
@dirrm share/myspell
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/README.myspell
-%%PORTDOCS%%@dirrm %%DOCSDIR%%