ports/105350: [MAINTAINER] hungarian/hu-hunspell: update to 1.1.4
Janos Mohacsi
janos.mohacsi at bsd.hu
Thu Nov 9 23:30:23 UTC 2006
>Number: 105350
>Category: ports
>Synopsis: [MAINTAINER] hungarian/hu-hunspell: update to 1.1.4
>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 Nov 09 23:30:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Janos Mohacsi
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD scone.ki.iif.hu 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #17: Fri Oct 20 01:04:28 CEST 2006
>Description:
- Update to 1.1.4
Added file(s):
- files/patch-src_tools_hunspell.cxx
Removed file(s):
- files/patch-Makefile
- files/patch-hunspell.cxx
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- hu-hunspell-1.1.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/hungarian/hunspell.orig/Makefile /usr/ports/hungarian/hunspell/Makefile
--- /usr/ports/hungarian/hunspell.orig/Makefile Thu May 25 09:56:23 2006
+++ /usr/ports/hungarian/hunspell/Makefile Thu Nov 9 23:13:39 2006
@@ -6,39 +6,41 @@
#
PORTNAME= hunspell
-PORTVERSION= 1.0.R.2
+PORTVERSION= 1.1.4
CATEGORIES= hungarian textproc
-#MASTER_SITES= http://www.szofi.hu/gnu/magyarispell/
-MASTER_SITES= http://magyarispell.sourceforge.net/
-DISTFILES= ${PORTNAME}-1.0-RC2${EXTRACT_SUFX} hu_HU-1.0-RC2${EXTRACT_SUFX}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}:code \
+ http://magyarispell.sourceforge.net/:data
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:code hu_HU-pack.zip:data
MAINTAINER= janos.mohacsi at bsd.hu
COMMENT= Improved Hungarian spelling checker
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+
USE_GMAKE= yes
-USE_GETTEXT= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}-1.0-RC2
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= "--with-ui"
MAN1= hunspell.1
MAN4= hunspell.4
-PORTDOCS= OLVASS.EL README README.myspell
+PORTDOCS= README README.myspell
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-BROKEN= "Does not compile on FreeBSD-4.x at this time"
+BROKEN= Does not compile on FreeBSD-4.x at this time
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
- ${WRKSRC}/hunspell.cxx
+ ${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}/hunspell ${PREFIX}/bin
- ${LN} -s ${PREFIX}/bin/hunspell ${PREFIX}/bin/hunstem
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/tools/hunspell ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/myspell/ && \
${INSTALL_DATA} ${WRKDIR}/hu_HU.dic \
${PREFIX}/share/myspell/ && \
@@ -50,11 +52,9 @@
${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
- ${INSTALL_DATA} ${WRKSRC}/dictionary.lst \
- ${PREFIX}/share/myspell/default.lst
- ${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/
+ #${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:
diff -ruN --exclude=CVS /usr/ports/hungarian/hunspell.orig/distinfo /usr/ports/hungarian/hunspell/distinfo
--- /usr/ports/hungarian/hunspell.orig/distinfo Mon Jan 23 17:51:06 2006
+++ /usr/ports/hungarian/hunspell/distinfo Thu Nov 9 22:35:25 2006
@@ -1,6 +1,6 @@
-MD5 (hunspell-1.0-RC2.tar.gz) = a90f951c575798616bb890a969d346d7
-SHA256 (hunspell-1.0-RC2.tar.gz) = dd38b536b573a94ec1023b856d951732199e933221ae89db6052e6eaf9e7850c
-SIZE (hunspell-1.0-RC2.tar.gz) = 181134
-MD5 (hu_HU-1.0-RC2.tar.gz) = 9368dd2105b388b0c12a58d276adad5e
-SHA256 (hu_HU-1.0-RC2.tar.gz) = 21e6ef12f9474837f0bf5664f63bcfeb1a5d98853829a5375f46d366f9ef55b3
-SIZE (hu_HU-1.0-RC2.tar.gz) = 517512
+MD5 (hunspell-1.1.4.tar.gz) = 4cf2dfb89dd58392ad5a1183c69eb628
+SHA256 (hunspell-1.1.4.tar.gz) = 8d39c03beb71ec1482d2fdbfc2d5b7690c8a70fb6da4885369752ee0d2e3a635
+SIZE (hunspell-1.1.4.tar.gz) = 438667
+MD5 (hu_HU-pack.zip) = 648c795ceb8bfc24488b92e6bb1099d4
+SHA256 (hu_HU-pack.zip) = c8ac368cc8ce8909307c24f7439f8b8a2601624dd1f42a29809ad76e8fe2d742
+SIZE (hu_HU-pack.zip) = 1472123
diff -ruN --exclude=CVS /usr/ports/hungarian/hunspell.orig/files/patch-Makefile /usr/ports/hungarian/hunspell/files/patch-Makefile
--- /usr/ports/hungarian/hunspell.orig/files/patch-Makefile Thu May 20 16:52:50 2004
+++ /usr/ports/hungarian/hunspell/files/patch-Makefile Thu Jan 1 01:00:00 1970
@@ -1,41 +0,0 @@
---- Makefile.orig Wed Dec 17 18:50:49 2003
-+++ Makefile Thu May 20 15:04:38 2004
-@@ -1,29 +1,29 @@
- #------ beállítások -- configuration -------------------
- # szótárak -- dictionaries (hu_HU.aff, hu_HU.dic)
--MYSPELL_DIR?=/usr/share/myspell
-+MYSPELL_DIR?=${PREFIX}/share/myspell
- # Hunmorph szótárak -- hu_HU.morph, extended hu_HU.aff, hu_HU.dic
--HUNMORPH_DIR?=/usr/share/hunmorph
-+HUNMORPH_DIR?=${PREFIX}/share/hunmorph
- # Magyar üzenetek -- Hungarian messages
--LOCALE_DIR?=/usr/share/locale
-+LOCALE_DIR?=${PREFIX}/share/locale
- # Kézikönyvoldalak -- Manual pages
--MAN_DIR?=/usr/share/man
-+MAN_DIR?=${PREFIX}/share/man
- # Magyar kézikönyvoldalak -- Hungarian manual pages
--MAN_HU_DIR?=/usr/share/man/hu
-+MAN_HU_DIR?=${PREFIX}/share/man/hu
- # Futtatható program helye -- Directory for executables
--BIN_DIR?=/usr/bin
-+BIN_DIR?=${PREFIX}/bin
- #--------------------------------------------------------
-
--CC=g++
-+CC=$(CXX)
- #CC=/opt/SUNWspro/bin/CC
-
--CXXFLAGS=-O2 -Wall -ansi -pedantic -I.
-+CXXFLAGS+= -Wall -ansi -pedantic -I. -I${LOCALBASE}/include
-
- # for debug only
- #CXXFLAGS=-g -O0 -Wall -ansi -pedantic -I.
- #CXXFLAGS=-g -O0 -Wall -ansi -pedantic -I. -g
- #CXXFLAGS=-O2 +w2 -I.
-
--LDFLAGS=-L. -lmyspell
-+LDFLAGS=-L. -lmyspell -L$(LOCALBASE)/lib -lintl -lstdc++
-
- LIBS=libmyspell.a
-
diff -ruN --exclude=CVS /usr/ports/hungarian/hunspell.orig/files/patch-hunspell.cxx /usr/ports/hungarian/hunspell/files/patch-hunspell.cxx
--- /usr/ports/hungarian/hunspell.orig/files/patch-hunspell.cxx Thu May 20 16:52:50 2004
+++ /usr/ports/hungarian/hunspell/files/patch-hunspell.cxx Thu Jan 1 01:00:00 1970
@@ -1,13 +0,0 @@
---- hunspell.cxx.orig Wed Dec 17 18:50:49 2003
-+++ hunspell.cxx Thu May 20 15:54:49 2004
-@@ -49,8 +49,8 @@
- #include "manparser.hxx"
- #include "firstparser.hxx"
-
--#define LIBDIR "/usr/share/myspell/"
--#define LIBDIR2 "/usr/share/hunmorph/"
-+#define LIBDIR "%%PREFIX%%/share/myspell/"
-+#define LIBDIR2 "%%PREFIX%%/share/hunmorph/"
- #define HOME getenv("HOME")
- #define DICBASENAME ".hunspell_"
- #define LOGFILE "/tmp/hunspell.log"
diff -ruN --exclude=CVS /usr/ports/hungarian/hunspell.orig/files/patch-src_tools_hunspell.cxx /usr/ports/hungarian/hunspell/files/patch-src_tools_hunspell.cxx
--- /usr/ports/hungarian/hunspell.orig/files/patch-src_tools_hunspell.cxx Thu Jan 1 01:00:00 1970
+++ /usr/ports/hungarian/hunspell/files/patch-src_tools_hunspell.cxx Thu Nov 9 22:56:44 2006
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/tools/hunspell.cxx.orig
++++ src/tools/hunspell.cxx
+@@ -47,7 +47,7 @@
+ #include "manparser.hxx"
+ #include "firstparser.hxx"
+
+-#define LIBDIR "/usr/share/myspell/"
++#define LIBDIR "%%PREFIX%%/share/myspell/"
+ #define HOME getenv("HOME")
+ #define DICBASENAME ".hunspell_"
+ #define LOGFILE "/tmp/hunspell.log"
diff -ruN --exclude=CVS /usr/ports/hungarian/hunspell.orig/pkg-plist /usr/ports/hungarian/hunspell/pkg-plist
--- /usr/ports/hungarian/hunspell.orig/pkg-plist Thu May 20 16:52:50 2004
+++ /usr/ports/hungarian/hunspell/pkg-plist Thu Nov 9 23:04:25 2006
@@ -1,5 +1,4 @@
bin/hunspell
-bin/hunstem
share/myspell/hu_HU.aff
share/myspell/hu_HU.dic
share/myspell/hungarian.aff
@@ -8,6 +7,4 @@
share/myspell/magyar.dic
share/myspell/default.aff
share/myspell/default.dic
-share/myspell/default.lst
-share/locale/hu/LC_MESSAGES/hunspell.mo
@dirrm share/myspell
--- hu-hunspell-1.1.4.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list