aboutsummaryrefslogtreecommitdiff
path: root/textproc/hunspell
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-08-01 14:09:22 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-08-01 14:09:22 +0000
commit805c13c799ebd759eb9a1f4c91518ca8f919989c (patch)
treef40bc75efa466b21471ad4c02f1f749ec528f4e8 /textproc/hunspell
parent1ee5b15179a9cabdb33e94914b0b6c452b7c021c (diff)
downloadports-805c13c799ebd759eb9a1f4c91518ca8f919989c.tar.gz
ports-805c13c799ebd759eb9a1f4c91518ca8f919989c.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]
Notes
Notes: svn path=/head/; revision=196898
Diffstat (limited to 'textproc/hunspell')
-rw-r--r--textproc/hunspell/Makefile12
-rw-r--r--textproc/hunspell/distinfo6
-rw-r--r--textproc/hunspell/pkg-descr5
-rw-r--r--textproc/hunspell/pkg-plist3
4 files changed, 18 insertions, 8 deletions
diff --git a/textproc/hunspell/Makefile b/textproc/hunspell/Makefile
index 94fbb7eeba37..6f649804a566 100644
--- a/textproc/hunspell/Makefile
+++ b/textproc/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/textproc/hunspell/distinfo b/textproc/hunspell/distinfo
index 54136dbc4f22..53b65895c0f7 100644
--- a/textproc/hunspell/distinfo
+++ b/textproc/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/textproc/hunspell/pkg-descr b/textproc/hunspell/pkg-descr
index 0be9f555847c..ceaba2f1737e 100644
--- a/textproc/hunspell/pkg-descr
+++ b/textproc/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/textproc/hunspell/pkg-plist b/textproc/hunspell/pkg-plist
index 8bfce3b50d38..ead236821b95 100644
--- a/textproc/hunspell/pkg-plist
+++ b/textproc/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%%