ports/93092: update ports: databases/namazu2 japanese/namazu2
Fumihiko Kimura
jfkimura at yahoo.co.jp
Thu Feb 9 14:00:21 UTC 2006
>Number: 93092
>Category: ports
>Synopsis: update ports: databases/namazu2 japanese/namazu2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 09 14:00:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Fumihiko Kimura
>Release: FreeBSD 4.11-RELEASE-p13 i386
>Organization:
>Environment:
>Description:
- Update to Namazu 2.0.15 released
* The mistake of the document concerning ISO-8859-* is corrected
* RedHat software namazu.spec was taken in
* The unnecessary patch was deleted
* Include File::MMagic 1.25
* Support MeCab
* Add -b and --use-mecab options for mknmz
* Add --norc option for mknmz and namazu
* Add --decode-base64 option for mknmz
* Add new filters (Gnumeric, Koffice, Mainman/Pipermail, Zip, Visio)
* Add sorting function by date of field
* Added new files (nmzcat, nmzegrep)
* For Windows of filter (msword.pl, excel.pl, powerpoint.pl, postscript.pl, etc...)
* OLE control filter renewal
* ';' can have been used for the delimiter of QUERY_STRING
* Add the Perl version test program (pltests)
* Fix some bugs
>How-To-Repeat:
>Fix:
Checked FreeBSD 4.11-RELEASE and FreeBSD 6.0-RELEASE
[databases]
=== begin cut here ===
diff -urN namazu2.orig/Makefile namazu2/Makefile
--- namazu2.orig/Makefile Fri Nov 11 10:17:21 2005
+++ namazu2/Makefile Thu Feb 9 09:29:11 2006
@@ -6,7 +6,7 @@
#
PORTNAME= namazu
-PORTVERSION= 2.0.14
+PORTVERSION= 2.0.15
CATEGORIES+= databases www textproc
MASTER_SITES= http://www.namazu.org/stable/
PKGNAMESUFFIX= 2
diff -urN namazu2.orig/distinfo namazu2/distinfo
--- namazu2.orig/distinfo Thu Nov 24 10:23:48 2005
+++ namazu2/distinfo Wed Feb 8 10:24:35 2006
@@ -1,3 +1,3 @@
-MD5 (namazu-2.0.14.tar.gz) = 17d7253ec58241a95c0b80d469be63b2
-SHA256 (namazu-2.0.14.tar.gz) = 7753f6a76a2a4ef2a8817384ab39ae380c3a2a26db17ae67241085b73618cb89
-SIZE (namazu-2.0.14.tar.gz) = 1032273
+MD5 (namazu-2.0.15.tar.gz) = 8093ad48dfa5ec2d314881d6ff6d88a9
+SHA256 (namazu-2.0.15.tar.gz) = a40b06057fae7844895f716350f14515db5a993b22ed091ed10214054e95bcac
+SIZE (namazu-2.0.15.tar.gz) = 1184406
diff -urN namazu2.orig/files/patch-nmz::Makefile.in namazu2/files/patch-nmz::Makefile.in
--- namazu2.orig/files/patch-nmz::Makefile.in Thu Apr 22 11:26:18 2004
+++ namazu2/files/patch-nmz::Makefile.in Thu Jan 1 09:00:00 1970
@@ -1,11 +0,0 @@
---- nmz/Makefile.in.orig Wed Apr 14 03:09:04 2004
-+++ nmz/Makefile.in Wed Apr 21 21:19:46 2004
-@@ -174,7 +174,7 @@
-
-
- libnmz_la_DEPENDENCIES = @NMZ_LIBOBJS@
--libnmz_la_LIBADD = @NMZ_LIBOBJS@
-+libnmz_la_LIBADD = @NMZ_LIBOBJS@ @LTLIBINTL@
- libnmz_la_LDFLAGS = -version-info $(LTVERSION)
- subdir = nmz
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff -urN namazu2.orig/files/patch-pl::conf.pl.in namazu2/files/patch-pl::conf.pl.in
--- namazu2.orig/files/patch-pl::conf.pl.in Mon Oct 22 05:27:13 2001
+++ namazu2/files/patch-pl::conf.pl.in Wed Feb 8 10:26:29 2006
@@ -1,33 +1,43 @@
---- pl/conf.pl.in.orig Thu Aug 23 17:19:52 2001
-+++ pl/conf.pl.in Sat Oct 13 05:34:48 2001
-@@ -173,17 +173,17 @@
+--- pl/conf.pl.in.orig Fri Nov 25 15:04:26 2005
++++ pl/conf.pl.in Wed Feb 8 10:01:53 2006
+@@ -197,19 +197,19 @@
#
- # Network Kanji Filter nkf v1.62 or later
+ # Network Kanji Filter nkf v1.71 or later
#
-$NKF = "@NKF@";
+$NKF = "module_nkf";
#
- # KAKASI
+ # KAKASI 2.x or later
+ # Text::Kakasi 1.05 or later
#
-$KAKASI = "@DO_KAKASI@";
+$KAKASI = "module_kakasi";
#
- # ChaSen 1.51 or later (simple wakatigaki)
+ # ChaSen 2.02 or later (simple wakatigaki)
+ # Text::ChaSen 1.03
#
-$CHASEN = "@DO_CHASEN@";
+$CHASEN = "module_chasen";
#
- # ChaSen 1.51 or later (with noun words extraction)
-@@ -193,7 +193,8 @@
+ # ChaSen 2.02 or later (with noun words extraction)
+@@ -219,13 +219,14 @@
+ #
+ # MeCab
+ #
+-$MECAB = "@DO_MECAB@";
++$MECAB = "module_mecab";
+
#
# Default Japanese processer: KAKASI or ChaSen.
#
-$WAKATI = $@OPT_WAKATI_DEFAULT@;
+-
+$WAKATI = $KAKASI;
+$WAKATI = $CHASEN;
-
++$WAKATI = $MECAB;
#===================================================================
+ #
diff -urN namazu2.orig/pkg-plist namazu2/pkg-plist
--- namazu2.orig/pkg-plist Sun Jan 22 09:26:45 2006
+++ namazu2/pkg-plist Thu Feb 9 10:09:57 2006
@@ -7,6 +7,8 @@
bin/mknmz
bin/namazu
bin/nmz-config
+bin/nmzcat
+bin/nmzegrep
bin/nmzgrep
bin/nmzmerge
bin/rfnmz
@@ -40,111 +42,118 @@
share/locale/fr/LC_MESSAGES/namazu.mo
share/locale/ja/LC_MESSAGES/namazu.mo
share/locale/ja_JP.SJIS/LC_MESSAGES/namazu.mo
-%%PORTDOCS%%share/namazu/doc/en/manual.html
-%%PORTDOCS%%share/namazu/doc/en/nmz.html
-%%PORTDOCS%%share/namazu/doc/en/tips.html
-%%PORTDOCS%%share/namazu/doc/en/tutorial.html
+%%PORTDOCS%%/share/namazu/doc/en/manual.html
+%%PORTDOCS%%/share/namazu/doc/en/nmz.html
+%%PORTDOCS%%/share/namazu/doc/en/tips.html
+%%PORTDOCS%%/share/namazu/doc/en/tutorial.html
%%PORTDOCS%%@dirrm share/namazu/doc/en
-%%PORTDOCS%%share/namazu/doc/ja/manual.html
-%%PORTDOCS%%share/namazu/doc/ja/nmz.html
-%%PORTDOCS%%share/namazu/doc/ja/tips.html
-%%PORTDOCS%%share/namazu/doc/ja/tutorial.html
+%%PORTDOCS%%/share/namazu/doc/ja/manual.html
+%%PORTDOCS%%/share/namazu/doc/ja/nmz.html
+%%PORTDOCS%%/share/namazu/doc/ja/tips.html
+%%PORTDOCS%%/share/namazu/doc/ja/tutorial.html
%%PORTDOCS%%@dirrm share/namazu/doc/ja
-%%PORTDOCS%%share/namazu/doc/namazu.css
+%%PORTDOCS%%/share/namazu/doc/namazu.css
%%PORTDOCS%%@dirrm share/namazu/doc
-share/namazu/etc/AUTHORS
-share/namazu/etc/COPYING
-share/namazu/etc/CREDITS
-share/namazu/etc/ChangeLog
-share/namazu/etc/ChangeLog.1
-share/namazu/etc/HACKING
-share/namazu/etc/HACKING-ja
-share/namazu/etc/INSTALL
-share/namazu/etc/INSTALL-ja
-share/namazu/etc/NEWS
-share/namazu/etc/README
-share/namazu/etc/README-es
-share/namazu/etc/README-ja
-share/namazu/etc/THANKS
-share/namazu/etc/TODO
-share/namazu/etc/namazu.png
- at dirrm share/namazu/etc
-share/namazu/filter/apachecache.pl
-share/namazu/filter/bzip2.pl
-share/namazu/filter/compress.pl
-share/namazu/filter/deb.pl
-share/namazu/filter/dvi.pl
-share/namazu/filter/excel.pl
-share/namazu/filter/gzip.pl
-share/namazu/filter/hdml.pl
-share/namazu/filter/hnf.pl
-share/namazu/filter/html.pl
-share/namazu/filter/macbinary.pl
-share/namazu/filter/mailnews.pl
-share/namazu/filter/man.pl
-share/namazu/filter/mhonarc.pl
-share/namazu/filter/mp3.pl
-share/namazu/filter/msword.pl
-share/namazu/filter/ooo.pl
-share/namazu/filter/pdf.pl
-share/namazu/filter/postscript.pl
-share/namazu/filter/powerpoint.pl
-share/namazu/filter/rfc.pl
-share/namazu/filter/rpm.pl
-share/namazu/filter/rtf.pl
-share/namazu/filter/taro.pl
-share/namazu/filter/taro56.pl
-share/namazu/filter/taro7_10.pl
-share/namazu/filter/tex.pl
- at dirrm share/namazu/filter
-share/namazu/pl/codeconv.pl
-share/namazu/pl/conf.pl
-share/namazu/pl/gettext.pl
-share/namazu/pl/gfilter.pl
-share/namazu/pl/htmlsplit.pl
-share/namazu/pl/nmzidx.pl
-share/namazu/pl/seed.pl
-share/namazu/pl/usage.pl
-share/namazu/pl/util.pl
-share/namazu/pl/var.pl
-share/namazu/pl/wakati.pl
- at dirrm share/namazu/pl
-share/namazu/template/NMZ.body
-share/namazu/template/NMZ.body.es
-share/namazu/template/NMZ.body.fr
-share/namazu/template/NMZ.body.ja
-share/namazu/template/NMZ.body.pl
-share/namazu/template/NMZ.foot
-share/namazu/template/NMZ.foot.de
-share/namazu/template/NMZ.foot.es
-share/namazu/template/NMZ.foot.fr
-share/namazu/template/NMZ.foot.ja
-share/namazu/template/NMZ.foot.pl
-share/namazu/template/NMZ.head
-share/namazu/template/NMZ.head.de
-share/namazu/template/NMZ.head.es
-share/namazu/template/NMZ.head.fr
-share/namazu/template/NMZ.head.ja
-share/namazu/template/NMZ.head.pl
-share/namazu/template/NMZ.result.normal
-share/namazu/template/NMZ.result.normal.de
-share/namazu/template/NMZ.result.normal.es
-share/namazu/template/NMZ.result.normal.fr
-share/namazu/template/NMZ.result.normal.ja
-share/namazu/template/NMZ.result.normal.pl
-share/namazu/template/NMZ.result.short
-share/namazu/template/NMZ.result.short.de
-share/namazu/template/NMZ.result.short.es
-share/namazu/template/NMZ.result.short.fr
-share/namazu/template/NMZ.result.short.ja
-share/namazu/template/NMZ.result.short.pl
-share/namazu/template/NMZ.tips
-share/namazu/template/NMZ.tips.es
-share/namazu/template/NMZ.tips.fr
-share/namazu/template/NMZ.tips.ja
-share/namazu/template/NMZ.tips.pl
- at dirrm share/namazu/template
- at dirrm share/namazu
+%%DATADIR%%/etc/AUTHORS
+%%DATADIR%%/etc/COPYING
+%%DATADIR%%/etc/CREDITS
+%%DATADIR%%/etc/ChangeLog
+%%DATADIR%%/etc/ChangeLog.1
+%%DATADIR%%/etc/HACKING
+%%DATADIR%%/etc/HACKING-ja
+%%DATADIR%%/etc/INSTALL
+%%DATADIR%%/etc/INSTALL-ja
+%%DATADIR%%/etc/NEWS
+%%DATADIR%%/etc/README
+%%DATADIR%%/etc/README-es
+%%DATADIR%%/etc/README-ja
+%%DATADIR%%/etc/THANKS
+%%DATADIR%%/etc/TODO
+%%DATADIR%%/etc/namazu.png
+ at dirrm %%DATADIR%%/etc
+%%DATADIR%%/filter/apachecache.pl
+%%DATADIR%%/filter/bzip2.pl
+%%DATADIR%%/filter/compress.pl
+%%DATADIR%%/filter/deb.pl
+%%DATADIR%%/filter/dvi.pl
+%%DATADIR%%/filter/excel.pl
+%%DATADIR%%/filter/gnumeric.pl
+%%DATADIR%%/filter/gzip.pl
+%%DATADIR%%/filter/hdml.pl
+%%DATADIR%%/filter/hnf.pl
+%%DATADIR%%/filter/html.pl
+%%DATADIR%%/filter/koffice.pl
+%%DATADIR%%/filter/macbinary.pl
+%%DATADIR%%/filter/mailnews.pl
+%%DATADIR%%/filter/man.pl
+%%DATADIR%%/filter/mhonarc.pl
+%%DATADIR%%/filter/mp3.pl
+%%DATADIR%%/filter/msword.pl
+%%DATADIR%%/filter/ooo.pl
+%%DATADIR%%/filter/pdf.pl
+%%DATADIR%%/filter/pipermail.pl
+%%DATADIR%%/filter/postscript.pl
+%%DATADIR%%/filter/powerpoint.pl
+%%DATADIR%%/filter/rfc.pl
+%%DATADIR%%/filter/rpm.pl
+%%DATADIR%%/filter/rtf.pl
+%%DATADIR%%/filter/taro.pl
+%%DATADIR%%/filter/taro56.pl
+%%DATADIR%%/filter/taro7_10.pl
+%%DATADIR%%/filter/tex.pl
+%%DATADIR%%/filter/zip.pl
+ at dirrm %%DATADIR%%/filter
+%%DATADIR%%/pl/codeconv.pl
+%%DATADIR%%/pl/conf.pl
+%%DATADIR%%/pl/document.pl
+%%DATADIR%%/pl/filter.pl
+%%DATADIR%%/pl/gettext.pl
+%%DATADIR%%/pl/gfilter.pl
+%%DATADIR%%/pl/htmlsplit.pl
+%%DATADIR%%/pl/nmzidx.pl
+%%DATADIR%%/pl/seed.pl
+%%DATADIR%%/pl/time.pl
+%%DATADIR%%/pl/usage.pl
+%%DATADIR%%/pl/util.pl
+%%DATADIR%%/pl/var.pl
+%%DATADIR%%/pl/wakati.pl
+ at dirrm %%DATADIR%%/pl
+%%DATADIR%%/template/NMZ.body
+%%DATADIR%%/template/NMZ.body.es
+%%DATADIR%%/template/NMZ.body.fr
+%%DATADIR%%/template/NMZ.body.ja
+%%DATADIR%%/template/NMZ.body.pl
+%%DATADIR%%/template/NMZ.foot
+%%DATADIR%%/template/NMZ.foot.de
+%%DATADIR%%/template/NMZ.foot.es
+%%DATADIR%%/template/NMZ.foot.fr
+%%DATADIR%%/template/NMZ.foot.ja
+%%DATADIR%%/template/NMZ.foot.pl
+%%DATADIR%%/template/NMZ.head
+%%DATADIR%%/template/NMZ.head.de
+%%DATADIR%%/template/NMZ.head.es
+%%DATADIR%%/template/NMZ.head.fr
+%%DATADIR%%/template/NMZ.head.ja
+%%DATADIR%%/template/NMZ.head.pl
+%%DATADIR%%/template/NMZ.result.normal
+%%DATADIR%%/template/NMZ.result.normal.de
+%%DATADIR%%/template/NMZ.result.normal.es
+%%DATADIR%%/template/NMZ.result.normal.fr
+%%DATADIR%%/template/NMZ.result.normal.ja
+%%DATADIR%%/template/NMZ.result.normal.pl
+%%DATADIR%%/template/NMZ.result.short
+%%DATADIR%%/template/NMZ.result.short.de
+%%DATADIR%%/template/NMZ.result.short.es
+%%DATADIR%%/template/NMZ.result.short.fr
+%%DATADIR%%/template/NMZ.result.short.ja
+%%DATADIR%%/template/NMZ.result.short.pl
+%%DATADIR%%/template/NMZ.tips
+%%DATADIR%%/template/NMZ.tips.es
+%%DATADIR%%/template/NMZ.tips.fr
+%%DATADIR%%/template/NMZ.tips.ja
+%%DATADIR%%/template/NMZ.tips.pl
+ at dirrm %%DATADIR%%/template
+ at dirrm %%DATADIR%%
@dirrmtry share/locale/es/LC_MESSAGES
@dirrmtry share/locale/fr/LC_MESSAGES
@dirrmtry share/locale/ja_JP.SJIS/LC_MESSAGES
=== ended cut here ===
[japanese]
=== begin cut here ===
diff -urN namazu2.orig/Makefile namazu2/Makefile
--- namazu2.orig/Makefile Fri Nov 11 10:17:37 2005
+++ namazu2/Makefile Thu Feb 9 12:02:53 2006
@@ -6,7 +6,7 @@
#
PORTNAME= namazu
-PORTVERSION= 2.0.14
+PORTVERSION= 2.0.15
CATEGORIES= japanese databases www textproc
MASTER_SITES= # empty
PKGNAMESUFFIX= 2
@@ -17,15 +17,24 @@
COMMENT= Meta-port of Namazu and Japanese support modules
LIB_DEPENDS= nmz.7:${PORTSDIR}/databases/namazu2
-RUN_DEPENDS= ${PM_BASE}/${PERL_ARCH}/NKF.pm:${PORTSDIR}/japanese/p5-nkf \
- ${PM_BASE}/${PERL_ARCH}/Text/${MODULE_NAME}.pm:${PORTSDIR}/japanese/p5-Text-${MODULE_NAME}
+# Network Kanji Filter nkf v1.71 or later
+RUN_DEPENDS= ${PM_BASE}/${PERL_ARCH}/NKF.pm:${PORTSDIR}/japanese/p5-nkf
PM_BASE= ${SITE_PERL}
+PLIST= "@comment this plist is intentionally left empty"
+# KAKASI 2.x or later
+# Text::Kakasi 1.05 or later
+# ChaSen 2.02 or later
+# Text::ChaSen 1.03
+.if defined(WITH_KAKASI)
+RUN_DEPENDS+= ${PM_BASE}/${PERL_ARCH}/Text/Kakasi.pm:${PORTSDIR}/japanese/p5-Text-Kakasi
+.endif
.if defined(WITH_CHASEN)
-MODULE_NAME= ChaSen
-.else
-MODULE_NAME= Kakasi
+RUN_DEPENDS+= ${PM_BASE}/${PERL_ARCH}/Text/ChaSen.pm:${PORTSDIR}/japanese/p5-Text-ChaSen
+.endif
+.if defined(WITH_MECAB)
+RUN_DEPENDS+= ${PM_BASE}/${PERL_ARCH}/MeCab.pm:${PORTSDIR}/japanese/p5-MeCab
.endif
NO_BUILD= yes
diff -urN namazu2.orig/pkg-plist namazu2/pkg-plist
--- namazu2.orig/pkg-plist Mon Oct 22 05:32:46 2001
+++ namazu2/pkg-plist Thu Jan 1 09:00:00 1970
@@ -1 +0,0 @@
- at comment this plist is intentionally left empty
=== ended cut here ===
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list