summaryrefslogtreecommitdiff
path: root/textproc/hunspell
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/hunspell')
-rw-r--r--textproc/hunspell/Makefile76
-rw-r--r--textproc/hunspell/distinfo6
-rw-r--r--textproc/hunspell/files/patch-src_parsers_latexparser.cxx11
-rw-r--r--textproc/hunspell/files/patch-src_tools_hunspell.cxx27
-rw-r--r--textproc/hunspell/pkg-descr19
-rw-r--r--textproc/hunspell/pkg-plist14
6 files changed, 0 insertions, 153 deletions
diff --git a/textproc/hunspell/Makefile b/textproc/hunspell/Makefile
deleted file mode 100644
index 1aebb4b18ae0..000000000000
--- a/textproc/hunspell/Makefile
+++ /dev/null
@@ -1,76 +0,0 @@
-# New ports collection makefile for: hunspell
-# Date created: 24.07.2004
-# Whom: janos.mohacsi@bsd.hu
-#
-# $FreeBSD$
-#
-
-PORTNAME= hunspell
-PORTVERSION= 1.2.2b
-PORTREVISION= 1
-CATEGORIES= hungarian textproc
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S@$@:code@:S@%SUBDIR%@${PORTNAME}@} \
- ${MASTER_SITE_SOURCEFORGE:S@$@:data@:S@%SUBDIR%@magyarispell@}
-DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:code hu_HU-${DICTVERSION}${EXTRACT_SUFX}:data
-
-MAINTAINER= janos.mohacsi@bsd.hu
-COMMENT= Improved Hungarian spelling checker
-
-#EXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
-
-USE_GMAKE= yes
-USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= "--with-ui"
-
-MAN1= hunspell.1
-MAN4= hunspell.4
-
-DICTVERSION= 1.3
-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
-
-do-install:
- ${INSTALL_MAN} ${WRKSRC}/man/hunspell.1 ${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/man/hunspell.4 ${PREFIX}/man/man4
- ${INSTALL_PROGRAM} ${WRKSRC}/src/tools/.libs/hunspell ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/src/hunspell/.libs/libhunspell-1.2.a ${PREFIX}/lib
- ${INSTALL_DATA} ${WRKSRC}/src/hunspell/.libs/libhunspell-1.2.lai ${PREFIX}/lib/libhunspell-1.1.la
- ${INSTALL_DATA} ${WRKSRC}/src/hunspell/.libs/libhunspell-1.2.so.0 ${PREFIX}/lib
- ${LN} -s ${LOCALBASE}/lib/libhunspell-1.2.so.0 ${PREFIX}/lib/libhunspell-1.2.so
- ${MKDIR} ${PREFIX}/share/myspell/ && \
- ${INSTALL_DATA} ${WRKDIR}/hu_HU-${DICTVERSION}/hu_HU.dic \
- ${PREFIX}/share/myspell/ && \
- ${INSTALL_DATA} ${WRKDIR}/hu_HU-${DICTVERSION}/hu_HU.aff \
- ${PREFIX}/share/myspell/
- ${LN} -s ${LOCALBASE}/share/myspell/hu_HU.dic ${PREFIX}/share/myspell/magyar.dic
- ${LN} -s ${LOCALBASE}/share/myspell/hu_HU.dic ${PREFIX}/share/myspell/hungarian.dic
- ${LN} -s ${LOCALBASE}/share/myspell/hu_HU.dic ${PREFIX}/share/myspell/default.dic
- ${LN} -s ${LOCALBASE}/share/myspell/hu_HU.aff ${PREFIX}/share/myspell/magyar.aff
- ${LN} -s ${LOCALBASE}/share/myspell/hu_HU.aff ${PREFIX}/share/myspell/hungarian.aff
- ${LN} -s ${LOCALBASE}/share/myspell/hu_HU.aff ${PREFIX}/share/myspell/default.aff
- #${LOCALBASE}/bin/msgfmt -o ${WRKSRC}/hunspell.mo ${WRKSRC}/hunspell.po
- #${MKDIR} ${PREFIX}/share/locale/hu/LC_MESSAGES/ && \
- #${INSTALL_DATA} ${WRKSRC}/hunspell.mo ${PREFIX}/share/locale/hu/LC_MESSAGES/
-
-.ifndef(NOPORTDOCS)
-post-install:
- ${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/textproc/hunspell/distinfo b/textproc/hunspell/distinfo
deleted file mode 100644
index 42da2588f765..000000000000
--- a/textproc/hunspell/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 (hunspell-1.2.2b.tar.gz) = 46aecfa635868f2618b204968f4bebd1
-SHA256 (hunspell-1.2.2b.tar.gz) = 91a67974af4ee5cdfdcd0c0840009356aa3ce1b8d25820dc56c9a594684dad0e
-SIZE (hunspell-1.2.2b.tar.gz) = 745643
-MD5 (hu_HU-1.3.tar.gz) = 498c47666414fcebdd328e3a5ae20e05
-SHA256 (hu_HU-1.3.tar.gz) = 4f7d61e3f06d4cfb61aecbde457474a8f03b664a9500718d34015c253fff5a06
-SIZE (hu_HU-1.3.tar.gz) = 1384493
diff --git a/textproc/hunspell/files/patch-src_parsers_latexparser.cxx b/textproc/hunspell/files/patch-src_parsers_latexparser.cxx
deleted file mode 100644
index 89c6b60bed1b..000000000000
--- a/textproc/hunspell/files/patch-src_parsers_latexparser.cxx
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/parsers/latexparser.cxx.orig 2008-04-23 17:56:27.000000000 +0200
-+++ src/parsers/latexparser.cxx 2008-04-23 17:57:00.000000000 +0200
-@@ -82,7 +82,7 @@
- { { "\\url", NULL } , 1 }
- };
-
--#define PATTERN_LEN (sizeof(PATTERN) / ((sizeof(char *) * 2) + sizeof(int)))
-+#define PATTERN_LEN (sizeof(PATTERN) / sizeof(PATTERN[0]))
-
- LaTeXParser::LaTeXParser(const char * wordchars)
- {
diff --git a/textproc/hunspell/files/patch-src_tools_hunspell.cxx b/textproc/hunspell/files/patch-src_tools_hunspell.cxx
deleted file mode 100644
index 1b82c1ecf916..000000000000
--- a/textproc/hunspell/files/patch-src_tools_hunspell.cxx
+++ /dev/null
@@ -1,27 +0,0 @@
-
-$FreeBSD$
-
---- src/tools/hunspell.cxx.orig
-+++ src/tools/hunspell.cxx
-@@ -59,16 +59,12 @@
- #include "manparser.hxx"
- #include "firstparser.hxx"
-
--#define LIBDIR "/usr/share/hunspell:/usr/share/myspell"
-+#define LIBDIR "%%PREFIX%%/share/hunspell:%%PREFIX%%/share/myspell"
- #define USEROOODIR ".openoffice.org2/user/wordbook"
--#define OOODIR "/opt/openoffice.org2.3/share/dict/ooo:" \
-- "/usr/lib/openoffice.org2.3/share/dict/ooo:" \
-- "/opt/openoffice.org2.2/share/dict/ooo:" \
-- "/usr/lib/openoffice.org2.2/share/dict/ooo:" \
-- "/opt/openoffice.org2.1/share/dict/ooo:" \
-- "/usr/lib/openoffice.org2.1/share/dict/ooo:" \
-- "/opt/openoffice.org2.0/share/dict/ooo:" \
-- "/usr/lib/openoffice.org2.0/share/dict/ooo"
-+#define OOODIR "%%PREFIX%%/openoffice.org-2.3/share/dict/ooo:" \
-+ "%%PREFIX%%/openoffice.org-2.2/share/dict/ooo:" \
-+ "%%PREFIX%%/openoffice.org-2.1/share/dict/ooo:" \
-+ "%%PREFIX%%/openoffice.org2.0/share/dict/ooo"
- #define HOME getenv("HOME")
- #define DICBASENAME ".hunspell_"
- #define LOGFILE "/tmp/hunspell.log"
diff --git a/textproc/hunspell/pkg-descr b/textproc/hunspell/pkg-descr
deleted file mode 100644
index ceaba2f1737e..000000000000
--- a/textproc/hunspell/pkg-descr
+++ /dev/null
@@ -1,19 +0,0 @@
-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.
-- 6-3-as szabály
-- mozgószabály
-- ö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
deleted file mode 100644
index adbe536e023b..000000000000
--- a/textproc/hunspell/pkg-plist
+++ /dev/null
@@ -1,14 +0,0 @@
-bin/hunspell
-lib/libhunspell-1.2.a
-lib/libhunspell-1.1.la
-lib/libhunspell-1.2.so.0
-lib/libhunspell-1.2.so
-share/myspell/hu_HU.aff
-share/myspell/hu_HU.dic
-share/myspell/hungarian.aff
-share/myspell/hungarian.dic
-share/myspell/magyar.aff
-share/myspell/magyar.dic
-share/myspell/default.aff
-share/myspell/default.dic
-@dirrm share/myspell