Date: Thu, 3 Apr 2008 23:19:08 +0200 (CEST) From: Janos Mohacsi <janos.mohacsi@bsd.hu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/122431: [MAINTAINER] hungarian/hu-hunspell: update to 1.2.2b Message-ID: <200804032119.m33LJ80h032034@csoki.ki.iif.hu> Resent-Message-ID: <200804032120.m33LK3BI039254@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 122431 >Category: ports >Synopsis: [MAINTAINER] hungarian/hu-hunspell: update to 1.2.2b >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Apr 03 21:20:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 6.3-PRERELEASE i386 >Organization: NIIF/HUNGARNET >Environment: System: FreeBSD csoki.ki.iif.hu 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #4: Fri Jan 18 12:13:09 CET 2008 >Description: - Update to 1.2.2b Removed file(s): - files/patch-src_hunspell_suggestmgr.hxx Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- hu-hunspell-1.2.2b.patch begins here --- diff -ruN --exclude=CVS /usr/ports/hungarian/hunspell.orig/Makefile /usr/ports/hungarian/hunspell/Makefile --- /usr/ports/hungarian/hunspell.orig/Makefile 2007-09-08 20:06:42.000000000 +0200 +++ /usr/ports/hungarian/hunspell/Makefile 2008-04-03 23:13:25.000000000 +0200 @@ -6,16 +6,16 @@ # PORTNAME= hunspell -PORTVERSION= 1.1.10 +PORTVERSION= 1.2.2b CATEGORIES= hungarian textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S@$@:code@:S@%SUBDIR%@${PORTNAME}@} \ - http://magyarispell.sourceforge.net/:data -DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:code hu_HU.zip:data + ${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 +#EXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip USE_GMAKE= yes USE_LDCONFIG= yes @@ -25,16 +25,17 @@ 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} +#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' \ @@ -44,14 +45,14 @@ ${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.1.a ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/src/hunspell/.libs/libhunspell-1.1.lai ${PREFIX}/lib/libhunspell-1.1.la - ${INSTALL_DATA} ${WRKSRC}/src/hunspell/.libs/libhunspell-1.1.so.0 ${PREFIX}/lib - ${LN} -s ${LOCALBASE}/lib/libhunspell-1.1.so.0 ${PREFIX}/lib/libhunspell-1.1.so + ${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.dic \ + ${INSTALL_DATA} ${WRKDIR}/hu_HU-${DICTVERSION}/hu_HU.dic \ ${PREFIX}/share/myspell/ && \ - ${INSTALL_DATA} ${WRKDIR}/hu_HU.aff \ + ${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 diff -ruN --exclude=CVS /usr/ports/hungarian/hunspell.orig/distinfo /usr/ports/hungarian/hunspell/distinfo --- /usr/ports/hungarian/hunspell.orig/distinfo 2007-09-08 20:06:42.000000000 +0200 +++ /usr/ports/hungarian/hunspell/distinfo 2008-04-03 22:47:12.000000000 +0200 @@ -1,6 +1,6 @@ -MD5 (hunspell-1.1.10.tar.gz) = e1fe2a3de7eedf5e9ec8e62f9ecbdddd -SHA256 (hunspell-1.1.10.tar.gz) = a241057dad469f4e61027816d800f2935f68b86a6155188e4ccb5280232f646c -SIZE (hunspell-1.1.10.tar.gz) = 723968 -MD5 (hu_HU.zip) = c5a0af97a41c1ad65b3f48824b575ad1 -SHA256 (hu_HU.zip) = ab039056c7b38a07981e0b1dd7ea0c2dbfd38326392981e6893d3325376e9908 -SIZE (hu_HU.zip) = 1197277 +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 -ruN --exclude=CVS /usr/ports/hungarian/hunspell.orig/files/patch-src_hunspell_suggestmgr.hxx /usr/ports/hungarian/hunspell/files/patch-src_hunspell_suggestmgr.hxx --- /usr/ports/hungarian/hunspell.orig/files/patch-src_hunspell_suggestmgr.hxx 2007-08-28 14:36:28.000000000 +0200 +++ /usr/ports/hungarian/hunspell/files/patch-src_hunspell_suggestmgr.hxx 1970-01-01 01:00:00.000000000 +0100 @@ -1,27 +0,0 @@ - -$FreeBSD: ports/hungarian/hunspell/files/patch-src_hunspell_suggestmgr.hxx,v 1.1 2007/08/28 12:36:28 gabor Exp $ - ---- src/hunspell/suggestmgr.hxx.orig -+++ src/hunspell/suggestmgr.hxx -@@ -61,8 +61,8 @@ - - private: - int testsug(char** wlst, const char * candidate, int wl, int ns, int cpdsuggest, -- int * timer, time_t * timelimit); -- int checkword(const char *, int, int, int *, time_t *); -+ int * timer, clock_t * timelimit); -+ int checkword(const char *, int, int, int *, clock_t *); - int check_forbidden(const char *, int); - - int capchars(char **, const char *, int, int); -@@ -89,8 +89,8 @@ - int movechar_utf(char **, const w_char *, int, int, int); - - int mapchars(char**, const char *, int, int); -- int map_related(const char *, int, char ** wlst, int, int, const mapentry*, int, int *, time_t *); -- int map_related_utf(w_char *, int, int, int, char ** wlst, int, const mapentry*, int, int *, time_t *); -+ int map_related(const char *, int, char ** wlst, int, int, const mapentry*, int, int *, clock_t *); -+ int map_related_utf(w_char *, int, int, int, char ** wlst, int, const mapentry*, int, int *, clock_t *); - int ngram(int n, char * s1, const char * s2, int opt); - int mystrlen(const char * word); - int leftcommonsubstring(char * s1, const char * s2); diff -ruN --exclude=CVS /usr/ports/hungarian/hunspell.orig/pkg-plist /usr/ports/hungarian/hunspell/pkg-plist --- /usr/ports/hungarian/hunspell.orig/pkg-plist 2007-08-06 12:34:30.000000000 +0200 +++ /usr/ports/hungarian/hunspell/pkg-plist 2008-04-03 23:15:56.000000000 +0200 @@ -1,8 +1,8 @@ bin/hunspell -lib/libhunspell-1.1.a +lib/libhunspell-1.2.a lib/libhunspell-1.1.la -lib/libhunspell-1.1.so.0 -lib/libhunspell-1.1.so +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 --- hu-hunspell-1.2.2b.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804032119.m33LJ80h032034>