ports/122428: [MAINTAINER] hungarian/hu-ispell: update to 1.3

Janos Mohacsi janos.mohacsi at bsd.hu
Thu Apr 3 20:30:02 UTC 2008


>Number:         122428
>Category:       ports
>Synopsis:       [MAINTAINER] hungarian/hu-ispell: update to 1.3
>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 20:30: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.3

Removed file(s):
- files/patch-bin_felvesz
- files/patch-bin_fonevek

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- hu-ispell-1.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/hungarian/ispell.orig/Makefile /usr/ports/hungarian/ispell/Makefile
--- /usr/ports/hungarian/ispell.orig/Makefile	2007-10-19 14:19:26.000000000 +0200
+++ /usr/ports/hungarian/ispell/Makefile	2008-04-03 22:01:21.000000000 +0200
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	ispell
-PORTVERSION=	1.2.1
-PORTREVISION=	1
+PORTVERSION=	1.3
 CATEGORIES=	hungarian textproc
 #MASTER_SITES=	http://www.szofi.hu/gnu/magyarispell/
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
diff -ruN --exclude=CVS /usr/ports/hungarian/ispell.orig/distinfo /usr/ports/hungarian/ispell/distinfo
--- /usr/ports/hungarian/ispell.orig/distinfo	2007-10-01 17:26:12.000000000 +0200
+++ /usr/ports/hungarian/ispell/distinfo	2008-04-03 22:01:34.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (magyarispell-1.2.1.tar.gz) = c8010bd6e89b16720184cb9c8a3c83c1
-SHA256 (magyarispell-1.2.1.tar.gz) = 8819f807f45bd3b74693d9902472f91da1bfdb081adb6207e3ed949b7714b117
-SIZE (magyarispell-1.2.1.tar.gz) = 990535
+MD5 (magyarispell-1.3.tar.gz) = 9d96193af79bc99d8684c5615f616ca7
+SHA256 (magyarispell-1.3.tar.gz) = b33ef5b6840050506a622a44507d9553ed5b1cfe7d934e685f36ac7889981d8c
+SIZE (magyarispell-1.3.tar.gz) = 993430
diff -ruN --exclude=CVS /usr/ports/hungarian/ispell.orig/files/patch-Makefile /usr/ports/hungarian/ispell/files/patch-Makefile
--- /usr/ports/hungarian/ispell.orig/files/patch-Makefile	2007-10-01 17:26:12.000000000 +0200
+++ /usr/ports/hungarian/ispell/files/patch-Makefile	2008-04-03 22:15:50.000000000 +0200
@@ -1,5 +1,5 @@
 
-$FreeBSD: ports/hungarian/ispell/files/patch-Makefile,v 1.6 2007/09/28 15:23:06 gabor Exp $
+$FreeBSD$
 
 --- Makefile.orig
 +++ Makefile
@@ -57,7 +57,7 @@
  	@cat $(ROOTDIR)/logo.txt | $(CATUTF)
  
  # modulválasztós, menüs interfész
-@@ -71,62 +71,62 @@
+@@ -71,89 +71,89 @@
  	make myspell
  
  # munkakönyvtárak létrehozása
@@ -97,14 +97,6 @@
 -	@$(SH) bin/igek $(ROOTDIR)
 +	$(SH) bin/igek $(ROOTDIR)
  
- 	@echo "==> névszók" | $(CATUTF)
--	@$(SH) bin/fonevek $(ROOTDIR)
-+	$(SH) bin/fonevek $(ROOTDIR)
- 
- 	@echo "==> morfológiai kódok" | $(CATUTF)
--	@$(SH) bin/kodok $(ROOTDIR)
-+	$(SH) bin/kodok $(ROOTDIR)
- 
  # egyéb kivételek: az m4 miatt nem megy külön héjprogramba
  	@echo "==> kivételek" | $(CATUTF)
 -	@cat $(SZOTAR)/kivetelek/igekotos/*.2* \
@@ -126,22 +118,34 @@
  	@echo $(EN) ."$(EC)"
 -	@cat $(WRKDIR)/ragozatlan.2 $(SZOTAR)/kivetelek/ragozatlan/*.2* \
 +	cat $(WKDIR)/ragozatlan.2 $(SZOTAR)/kivetelek/ragozatlan/*.2* \
- 		| $(M4) | grep -v ^# | grep -v "#[A-Z]" \
+ 		| $(M4) | $(BINDIR)/field | grep -v ^# | grep -v "#[A-Z]" \
  		| sed 's/[	 ]*#.*$$//' \
  		| LC_ALL=C $(AWK) -f $(AWKDIR)/tovek.awk \
  		>> $(DICT)
  	@echo $(EN) ."$(EC)"
 -	@cat $(WRKDIR)/ragozatlan.2 $(SZOTAR)/kivetelek/ragozatlan/*.2* \
 +	cat $(WKDIR)/ragozatlan.2 $(SZOTAR)/kivetelek/ragozatlan/*.2* \
- 		| $(M4) | grep -v ^# | grep -i "#$(*F)" | sed 's/[	 ]*#.*$$//' \
+ 		| $(M4) | $(BINDIR)/field | grep -v ^# | grep -i "#$(*F)" | sed 's/[	 ]*#.*$$//' \
  		| LC_ALL=C $(AWK) -f $(AWKDIR)/tovek.awk \
  		>> $(DICT)
-@@ -137,23 +137,23 @@
+ 	@echo Rendben.
+ 
+ 	@echo "==> névszók" | $(CATUTF)
+-	@$(SH) bin/fonevek $(ROOTDIR)
++	$(SH) bin/fonevek $(ROOTDIR)
+ 
+ 	@echo "==> morfológiai kódok" | $(CATUTF)
+-	@$(SH) bin/kodok $(ROOTDIR)
++	$(SH) bin/kodok $(ROOTDIR)
+ 
+ 	@echo $(EN) ."$(EC)"
+ 
  	@echo "==> tiltott szavak"
- 	@$(SH) bin/tiltott $(ROOTDIR) $(*F)
+-	@$(SH) bin/tiltott $(ROOTDIR) $(*F)
++	$(SH) bin/tiltott $(ROOTDIR) $(*F)
  
 -	@mv $(DICT) $(WRKDIR)/magyar4$(*F).dict
-+	@mv $(DICT) $(WKDIR)/magyar4$(*F).dict
++	mv $(DICT) $(WKDIR)/magyar4$(*F).dict
  	@echo Rendben.
  
  # ragozási táblázat (magyar.aff) elõállítása
@@ -195,20 +199,23 @@
  # a myspellhez elõállított magyar.aff állományhoz
  hu_HU.aff: magyar.aff
  	@echo "===> myspell ragozási táblázat (hu_HU.aff) elõállítása" | $(CATUTF)
--	@$(SH) bin/i2myspell $(WRKDIR)/magyar.aff MYSPELL_heading \
-+	@$(SH) bin/i2myspell $(WKDIR)/magyar.aff MYSPELL_heading \
+-	@$(SH) bin/i2myspell $(WRKDIR)/magyar.aff HUNSPELL_heading \
++	@$(SH) bin/i2myspell $(WKDIR)/magyar.aff HUNSPELL_heading \
  		A-ZÁÉÍÓÖÕÚÜÛ a-záéíóöõúüû | sed 's/q\([^[]*\]\)/-\1/' | \
-                 bin/newsyntax >$(ROOTDIR)/hu_HU_morph.aff
- 	@$(AWK) -f $(AWKDIR)/delete_morph_tags.awk $(ROOTDIR)/hu_HU_morph.aff | \
-@@ -222,16 +222,16 @@
+                 bin/newsyntax >$(ROOTDIR)/hu_HU_morph.aff                
+ 	@cat $(ROOTDIR)/hu_HU_morph.aff | bin/aff2gen | \
+@@ -223,20 +223,20 @@
  # a myspellhez elõállított hashtáblából (magyar4myspell.hash)
  hu_HU.dic: magyar.aff
  	@echo "===> myspell szótár (hu_HU.dic) elõállítása" | $(CATUTF)
 -	@$(SH) bin/i2myspell -d $(WRKDIR)/magyar4myspell.dict | \
 +	@$(SH) bin/i2myspell -d $(WKDIR)/magyar4myspell.dict | \
- 	      bin/lemma_present | bin/quniq >$(ROOTDIR)/hu_HU_morph.dic
- 	@LC_ALL=C sed 's/	.*//' $(ROOTDIR)/hu_HU_morph.dic | \
- 	    bin/mezok >$(ROOTDIR)/hu_HU.dic
+ 	    bin/lemma_present | bin/quniq >$(ROOTDIR)/hu_HU_morph.dic
+ 	@cat $(ROOTDIR)/hu_HU_morph.dic | \
+-	    bin/dic2gen $(WRKDIR)/mezok2.txt >$(ROOTDIR)/hu_HU_gen.dic
++	    bin/dic2gen $(WKDIR)/mezok2.txt >$(ROOTDIR)/hu_HU_gen.dic
+ 	@cat hu_HU_gen.dic | \
+ 	    sed 's/\t\([^p].\|.[^h]\):[^\t]*//g' >$(ROOTDIR)/hu_HU.dic
  
  u8: hu_HU.aff hu_HU.dic
  	@echo "===> Unicode karakterkódolású állományok elõállítása" | $(CATUTF)
@@ -218,10 +225,13 @@
 +	@bin/u8myspell $(ROOTDIR)/hu_HU_morph $(WKDIR)/hu_HU_u8_morph l2
 +	@cat $(WKDIR)/hu_HU_u8_morph.dic | sed 's#	/#/#' >$(ROOTDIR)/hu_HU_u8_morph.dic
 +	@mv $(WKDIR)/hu_HU_u8_morph.aff $(ROOTDIR)
- 	@sed 's/	.*//' $(ROOTDIR)/hu_HU_u8_morph.dic | \
- 	    bin/mezok_utf >$(ROOTDIR)/hu_HU_u8.dic
- 	@$(AWK) -f $(AWKDIR)/delete_morph_tags.awk $(ROOTDIR)/hu_HU_u8_morph.aff \
-@@ -245,7 +245,7 @@
+ 	@cat $(ROOTDIR)/hu_HU_u8_morph.dic | \
+-	    bin/dic2gen $(WRKDIR)/mezok_utf.txt >$(ROOTDIR)/hu_HU_u8_gen.dic
++	    bin/dic2gen $(WKDIR)/mezok_utf.txt >$(ROOTDIR)/hu_HU_u8_gen.dic
+ 	@cat hu_HU_u8_gen.dic | \
+ 	    sed 's/\t\([^p].\|.[^h]\):[^\t]*//g' >$(ROOTDIR)/hu_HU_u8.dic
+ 	@cat $(ROOTDIR)/hu_HU_u8_morph.aff | \
+@@ -252,7 +252,7 @@
  	@cd kr; make
  
  # minden komponens kompilálása
@@ -230,7 +240,7 @@
  
  # új modul létrehozása
  new:
-@@ -254,7 +254,7 @@
+@@ -261,7 +261,7 @@
  
  # takarítás
  clean: 
diff -ruN --exclude=CVS /usr/ports/hungarian/ispell.orig/files/patch-bin_felvesz /usr/ports/hungarian/ispell/files/patch-bin_felvesz
--- /usr/ports/hungarian/ispell.orig/files/patch-bin_felvesz	2007-10-06 19:18:31.000000000 +0200
+++ /usr/ports/hungarian/ispell/files/patch-bin_felvesz	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
-
-$FreeBSD: ports/hungarian/ispell/files/patch-bin_felvesz,v 1.1 2007/10/06 17:18:31 gabor Exp $
-
---- bin/felvesz.orig
-+++ bin/felvesz
-@@ -8,4 +8,4 @@
- Megjegyzés: a magyarispell*/ könyvtárból indítva működik.
- Kilépés: Ctrl-c"
- echo "Az új szó?"
--function latin() { echo "$1" | iconv -f utf-8 -t latin2; }; function search() { grep -l "^$1$" `grep ^szotar szotar.konf | awk '{print $0"/*"}'`; }; function put() { echo "Kérem a következő mintát a $1 szóhoz, vagy f (felvétel), u (felvétel új tővel):"; LOC=""; while read j; do test "$j" = "f" -o "$j" = "u" && break || LOC=$(search `latin $j`); echo $LOC; done; echo ""; if test "$j" = "f"; then w=`latin $1`; for l in $LOC; do echo "$w" >>$l; done; else echo "új tő?"; read k; echo "új tő: $k"; w=`latin $k`; for l in $LOC; do echo "$w" >>$l; done; fi; echo -e "Felvéve ide:\n$LOC"; };  while read i; do case $i in "ö") echo "`latin $prev`" >>$(dirname $(echo $ploc | head -1 | awk '{print $1}'))/fonev_osszetett.1; echo "összetettként felvéve: $prev";; esac; ploc=$(search `latin $i`); echo $ploc; test -z "$ploc" && put $i; echo "Az új szó?"; prev=$i; done
-+latin() { echo "$1" | iconv -f utf-8 -t latin2; }; search() { grep -l "^$1$" `grep ^szotar szotar.konf | awk '{print $0"/*"}'`; }; put() { echo "Kérem a következő mintát a $1 szóhoz, vagy f (felvétel), u (felvétel új tővel):"; LOC=""; while read j; do test "$j" = "f" -o "$j" = "u" && break || LOC=$(search `latin $j`); echo $LOC; done; echo ""; if test "$j" = "f"; then w=`latin $1`; for l in $LOC; do echo "$w" >>$l; done; else echo "új tő?"; read k; echo "új tő: $k"; w=`latin $k`; for l in $LOC; do echo "$w" >>$l; done; fi; echo -e "Felvéve ide:\n$LOC"; };  while read i; do case $i in "ö") echo "`latin $prev`" >>$(dirname $(echo $ploc | head -1 | awk '{print $1}'))/fonev_osszetett.1; echo "összetettként felvéve: $prev";; esac; ploc=$(search `latin $i`); echo $ploc; test -z "$ploc" && put $i; echo "Az új szó?"; prev=$i; done
diff -ruN --exclude=CVS /usr/ports/hungarian/ispell.orig/files/patch-bin_fonevek /usr/ports/hungarian/ispell/files/patch-bin_fonevek
--- /usr/ports/hungarian/ispell.orig/files/patch-bin_fonevek	2007-10-19 14:19:26.000000000 +0200
+++ /usr/ports/hungarian/ispell/files/patch-bin_fonevek	1970-01-01 01:00:00.000000000 +0100
@@ -1,29 +0,0 @@
-
-$FreeBSD: ports/hungarian/ispell/files/patch-bin_fonevek,v 1.2 2007/10/06 17:18:31 gabor Exp $
-
---- bin/fonevek.orig
-+++ bin/fonevek
-@@ -19,12 +19,12 @@
- cd $WRKDIR || exit 1
- 
- # mez¿k kigy¿jtése: cowboy[ph:kovboj] -> cowboy	[ph:kovboj]
--function field () {
-+field () {
-   awk '/^[^	]*[[]/{print $1 >>"mezok.txt";}{print$0}' |
-   sed 's/^\([^ 	]*\)[[].*]/\1/'
- }
- 
--function field_kot () {
-+field_kot () {
-   awk '/^[^	]*[[]/{
- 	print $1 >>"mezok.txt"
- 	i = index($1, "[")
-@@ -186,7 +186,7 @@
- 
- # kiejtés javítása
- cat mezok.txt | sed 's/sszsz/ssz/;s/szsz/ssz/;s/sss/ss/;s/[[,]/	/;s/]//' >mezok2.txt
--cat mezok2.txt | iconv -f latin2 -t utf8 | sed -f $BINDIR/l1_u8.sed >mezok_utf.txt
-+cat mezok2.txt | iconv -f latin2 -t utf-8 | sed -f $BINDIR/l1_u8.sed >mezok_utf.txt
- echo_n .
- 
- echo " Rendben."
--- hu-ispell-1.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list