summaryrefslogtreecommitdiff
path: root/japanese/namazu2
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-01-27 02:29:24 +0000
committertaca <taca@pkgsrc.org>2001-01-27 02:29:24 +0000
commit8b1b91a5310ae14adf3a3ad39cca5d484a261fcb (patch)
treedeab3c62f4ac14485643d2eca4133d111107c4f8 /japanese/namazu2
parentd609fe31d129f198f622df668581132f484202ea (diff)
downloadpkgsrc-8b1b91a5310ae14adf3a3ad39cca5d484a261fcb.tar.gz
Importing namazu 2.0.5 as namazu2.
Since index file format has change from 1.3.0.11, separately import instead of updating current namazu package. To do: creating package without Japanese support? Changes from Namazu namazu-1.3.0.11 (from ChangeLog) o Namazu 2.0.5 - Fix several bugs. - Add Spanish and French translations. - (Contributed by Jose Juan Zapater and Stephane Legrand.) - Add some new directives in namazurc. - MaxHit, MaxMatch - Include new upstream version of File::MMagic perl module (1.09). - Using libtool 1.3.5. - MSWord filter now supports wv 0.6.0 < http://wvWare.sourceforge.net>. o Namazu 2.0.4 - Fix a security hole which may remove your file on an indexing process with mknmz v2.0.3. It is occured only if doccat is installed on your system. (It's a Namazu's bug not doccat's one) deb packages for Debian GNU/Linux are available. o Namazu 2.0.2 - Fix several small bugs. - Support an Excel document. - xlHtml is required. - Abolish mknmz --ole option. - There is no longer need to specify the option. - Introduce mknmz --html-split option. - Split a large HTML document into parts by <a name="..."> and index them respectively. o Namazu 2.0 - Index size is reduced by about 50%. - New index structure has no compatibility with previous one. - NLS support using GNU gettext is added. - Refined configure with autoconf + automake. - Namazu core search engine library is provided. - Using File::MMagic perl module for file type detection. - New filters are added. MS Word, PDF, TeX, etc.
Diffstat (limited to 'japanese/namazu2')
-rw-r--r--japanese/namazu2/Makefile52
-rw-r--r--japanese/namazu2/files/md53
-rw-r--r--japanese/namazu2/files/patch-sum4
-rw-r--r--japanese/namazu2/patches/patch-aa21
-rw-r--r--japanese/namazu2/patches/patch-ab30
-rw-r--r--japanese/namazu2/pkg/COMMENT1
-rw-r--r--japanese/namazu2/pkg/DEINSTALL18
-rw-r--r--japanese/namazu2/pkg/DESCR10
-rw-r--r--japanese/namazu2/pkg/INSTALL28
-rw-r--r--japanese/namazu2/pkg/MESSAGE5
-rw-r--r--japanese/namazu2/pkg/PLIST122
11 files changed, 294 insertions, 0 deletions
diff --git a/japanese/namazu2/Makefile b/japanese/namazu2/Makefile
new file mode 100644
index 00000000000..ad1d63e2591
--- /dev/null
+++ b/japanese/namazu2/Makefile
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/01/27 02:29:24 taca Exp $
+# FreeBSD Id: ports/japanese/namazu2/Makefile,v 1.16 2000/10/26 20:56:25 knu Exp
+
+DISTNAME= namazu-2.0.5
+CATEGORIES= japanese textproc www
+MASTER_SITES= http://www.namazu.org/stable/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.namazu.org/index.html.en
+
+DEPENDS+= p5-File-MMagic>=1.09:../../misc/p5-File-MMagic \
+ p5-Text-Kakasi>=1.04:../../japanese/p5-Text-Kakasi \
+ p5-nkf>=1.7:../../japanese/p5-nkf
+.if !defined(WITH_CHASEN) || ${WITH_CHASEN} != NO
+DEPENDS+= p5-Text-ChaSen>=1.0:../../japanese/p5-Text-ChaSen
+.endif
+
+CONFIGURE_ARGS+= --localstatedir=${LOCALBASE}/libdata \
+ --libexecdir=${LOCALBASE}/libexec/cgi-bin
+.if defined(WITH_CHASEN) && ${WITH_CHASEN} == NO
+CONFIGURE_ARGS+= -without-chasen
+.else
+CONFIGURE_ARGS+= -with-chasen
+.endif
+
+DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
+INSTALL_FILE= ${WRKDIR}/INSTALL
+
+USE_LIBINTL= # defined
+USE_PERL5= # defined
+GNU_CONFIGURE= # defined
+USE_LIBTOOL= # defined
+LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig
+
+CONFLICTS+= namazu-*
+
+post-build:
+ @for FILE in \
+ ${PKGDIR}/DEINSTALL \
+ ${PKGDIR}/INSTALL; \
+ do \
+ ${SED} -e 's|@CONFDIR@|${LOCALBASE}/etc/namazu|g' \
+ -e 's|@DATADIR@|${LOCALBASE}/libdata/namazu|g' \
+ -e 's|@EXAMPLEDIR@|${LOCALBASE}/share/namazu|g' \
+ < $${FILE} > ${WRKDIR}/`basename $${FILE}`; \
+ done
+
+post-install:
+ @${TEST} -d ${LOCALBASE}/etc/namazu || ${MKDIR} ${LOCALBASE}/etc/namazu
+ @${SH} ${WRKDIR}/INSTALL ${PKGNAME} POST-INSTALL
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/japanese/namazu2/files/md5 b/japanese/namazu2/files/md5
new file mode 100644
index 00000000000..413f3d8267f
--- /dev/null
+++ b/japanese/namazu2/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/01/27 02:29:25 taca Exp $
+
+MD5 (namazu-2.0.5.tar.gz) = 32b3b80718f038c410045875893b47ae
diff --git a/japanese/namazu2/files/patch-sum b/japanese/namazu2/files/patch-sum
new file mode 100644
index 00000000000..c4d2b7f62b7
--- /dev/null
+++ b/japanese/namazu2/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/01/27 02:29:25 taca Exp $
+
+MD5 (patch-aa) = 86548ef1fb24c8ca90f5a2fa6d923b32
+MD5 (patch-ab) = 328414e7b00bcd572295d26902edac30
diff --git a/japanese/namazu2/patches/patch-aa b/japanese/namazu2/patches/patch-aa
new file mode 100644
index 00000000000..c8d1e6f7d24
--- /dev/null
+++ b/japanese/namazu2/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/01/27 02:29:25 taca Exp $
+
+--- conf/Makefile.am.orig Fri Feb 25 23:04:36 2000
++++ conf/Makefile.am
+@@ -1,9 +1,12 @@
+ AUTOMAKE_OPTIONS = 1.4 no-dependencies
+
+-confdir = $(sysconfdir)/$(PACKAGE)
+-conf_DATA = namazurc-sample mknmzrc-sample
++confdir = $(pkgdatadir)
++conf_DATA = namazurc.example mknmzrc.example
+ EXTRA_DIST = namazurc-sample
+-CLEANFILES = mknmzrc-sample
++CLEANFILES = namazurc.example mknmzrc.example
+
+-mknmzrc-sample: ../pl/conf.pl
++namazurc.example: namazurc-sample
++ @cp -p $? $@
++
++mknmzrc.example: ../pl/conf.pl
+ perl -pe 's/^/\x23 / unless /^(\x23|package|$$)/' ../pl/conf.pl > $@
diff --git a/japanese/namazu2/patches/patch-ab b/japanese/namazu2/patches/patch-ab
new file mode 100644
index 00000000000..6a31bccb872
--- /dev/null
+++ b/japanese/namazu2/patches/patch-ab
@@ -0,0 +1,30 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/01/27 02:29:25 taca Exp $
+
+--- conf/Makefile.in.orig Mon Oct 23 14:58:41 2000
++++ conf/Makefile.in
+@@ -111,10 +111,10 @@
+
+ AUTOMAKE_OPTIONS = 1.4 no-dependencies
+
+-confdir = $(sysconfdir)/$(PACKAGE)
+-conf_DATA = namazurc-sample mknmzrc-sample
++confdir = $(pkgdatadir)
++conf_DATA = namazurc.example mknmzrc.example
+ EXTRA_DIST = namazurc-sample
+-CLEANFILES = mknmzrc-sample
++CLEANFILES = namazurc.example mknmzrc.example
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES =
+@@ -238,7 +238,10 @@
+ maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+
+
+-mknmzrc-sample: ../pl/conf.pl
++namazurc.example: namazurc-sample
++ @cp -p $? $@
++
++mknmzrc.example: ../pl/conf.pl
+ perl -pe 's/^/\x23 / unless /^(\x23|package|$$)/' ../pl/conf.pl > $@
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/japanese/namazu2/pkg/COMMENT b/japanese/namazu2/pkg/COMMENT
new file mode 100644
index 00000000000..499ef7ca290
--- /dev/null
+++ b/japanese/namazu2/pkg/COMMENT
@@ -0,0 +1 @@
+Full-text search system intended for easy use
diff --git a/japanese/namazu2/pkg/DEINSTALL b/japanese/namazu2/pkg/DEINSTALL
new file mode 100644
index 00000000000..d8ad15b6942
--- /dev/null
+++ b/japanese/namazu2/pkg/DEINSTALL
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.1.1.1 2001/01/27 02:29:24 taca Exp $
+#
+
+case "$2" in
+ DEINSTALL) cat <<EOF
+
+=============================================================
+Note that namazu configuration (@CONFDIR@/*), index
+files (@DATADIR@/*) are not removed in the
+de-installation process. You should remove those by hand,
+if you no longer need them.
+=============================================================
+
+EOF
+ ;;
+esac
diff --git a/japanese/namazu2/pkg/DESCR b/japanese/namazu2/pkg/DESCR
new file mode 100644
index 00000000000..d59f88820e9
--- /dev/null
+++ b/japanese/namazu2/pkg/DESCR
@@ -0,0 +1,10 @@
+Namazu is a full-text search system intended for easy use. Not only it works
+as a CGI program for a small or medium scale Web search engine, but also works
+as a personal use search system for your pile of email.
+
+(The Japanese word `Namazu' means `catfish' in English)
+
+WWW: http://www.namazu.org/
+
+*WARNING*: Index file format has changed since namazu 1.3.0.11.
+You should care for upgrading from old version.
diff --git a/japanese/namazu2/pkg/INSTALL b/japanese/namazu2/pkg/INSTALL
new file mode 100644
index 00000000000..65a7306dfd2
--- /dev/null
+++ b/japanese/namazu2/pkg/INSTALL
@@ -0,0 +1,28 @@
+#!/bin/sh
+#
+# $NetBSD: INSTALL,v 1.1.1.1 2001/01/27 02:29:25 taca Exp $
+
+PKGNAME=$1
+STAGE=$2
+
+case ${STAGE} in
+PRE-INSTALL)
+ ;;
+POST-INSTALL)
+ cat <<EOF
+
+=============================================================
+If you customize namazu configuration, copy
+@EXAMPLEDIR@/share/namazu/namazurc.default and
+@EXAMPLEDIR@/mknmzrc.default to @CONFDIR@,
+and edit them.
+=============================================================
+
+EOF
+ ;;
+*)
+ echo "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/japanese/namazu2/pkg/MESSAGE b/japanese/namazu2/pkg/MESSAGE
new file mode 100644
index 00000000000..4f3d8c5eff3
--- /dev/null
+++ b/japanese/namazu2/pkg/MESSAGE
@@ -0,0 +1,5 @@
+$NetBSD: MESSAGE,v 1.1.1.1 2001/01/27 02:29:25 taca Exp $
+
+*WARNING*: Index file format has changed since namazu 2.0.
+If you upgrade from namazu 1.X, you need to rebuild index
+files at least.
diff --git a/japanese/namazu2/pkg/PLIST b/japanese/namazu2/pkg/PLIST
new file mode 100644
index 00000000000..399373e9a69
--- /dev/null
+++ b/japanese/namazu2/pkg/PLIST
@@ -0,0 +1,122 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/01/27 02:29:24 taca Exp $
+bin/bnamazu
+bin/gcnmz
+bin/kwnmz
+bin/mailutime
+bin/mknmz
+bin/namazu
+bin/nmz-config
+bin/nmzgrep
+bin/rfnmz
+bin/vfnmz
+@exec /bin/mkdir %D/etc/namazu 2>/dev/null|| /usr/bin/true
+@dirrm etc/namazu
+include/namazu/codeconv.h
+include/namazu/field.h
+include/namazu/hlist.h
+include/namazu/i18n.h
+include/namazu/idxname.h
+include/namazu/l10n-ja.h
+include/namazu/libnamazu.h
+include/namazu/parser.h
+include/namazu/query.h
+include/namazu/re.h
+include/namazu/regex.h
+include/namazu/search.h
+include/namazu/util.h
+include/namazu/var.h
+include/namazu/wakati.h
+@dirrm include/namazu
+lib/libnmz.a
+lib/libnmz.la
+lib/libnmz.so
+lib/libnmz.so.4
+lib/libnmz.so.4.2
+@exec /bin/mkdir %D/libdata/namazu 2>/dev/null|| /usr/bin/true
+@exec /bin/mkdir %D/libdata/namazu/index 2>/dev/null || /usr/bin/true
+@dirrm libdata/namazu/index
+@dirrm libdata/namazu
+libexec/cgi-bin/namazu.cgi
+man/man1/mknmz.1
+man/man1/namazu.1
+share/locale/es/LC_MESSAGES/namazu.mo
+share/locale/fr/LC_MESSAGES/namazu.mo
+share/locale/ja/LC_MESSAGES/namazu.mo
+share/locale/ja_JP.SJIS/LC_MESSAGES/namazu.mo
+share/namazu/doc/en/manual.html
+share/namazu/doc/en/nmz.html
+share/namazu/doc/en/tips.html
+share/namazu/doc/en/tutorial.html
+@dirrm share/namazu/doc/en
+share/namazu/doc/ja/manual.html
+share/namazu/doc/ja/nmz.html
+share/namazu/doc/ja/tips.html
+share/namazu/doc/ja/tutorial.html
+@dirrm share/namazu/doc/ja
+share/namazu/doc/namazu.css
+@dirrm share/namazu/doc
+share/namazu/etc/CREDITS
+share/namazu/etc/ChangeLog.1
+share/namazu/etc/INSTALL-ja
+share/namazu/etc/README-es
+share/namazu/etc/README-ja
+share/namazu/etc/namazu.png
+share/namazu/etc/namazu.spec
+share/namazu/etc/namazu.spec.in
+@dirrm share/namazu/etc
+share/namazu/filter/bzip2.pl
+share/namazu/filter/compress.pl
+share/namazu/filter/excel.pl
+share/namazu/filter/gfilter.pl
+share/namazu/filter/gzip.pl
+share/namazu/filter/hnf.pl
+share/namazu/filter/html.pl
+share/namazu/filter/mailnews.pl
+share/namazu/filter/man.pl
+share/namazu/filter/mhonarc.pl
+share/namazu/filter/msword.pl
+share/namazu/filter/pdf.pl
+share/namazu/filter/powerpoint.pl
+share/namazu/filter/rfc.pl
+share/namazu/filter/taro.pl
+share/namazu/filter/tex.pl
+@dirrm share/namazu/filter
+share/namazu/mknmzrc.example
+share/namazu/namazurc.example
+share/namazu/pl/codeconv.pl
+share/namazu/pl/conf.pl
+share/namazu/pl/gettext.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
+@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.foot
+share/namazu/template/NMZ.foot.es
+share/namazu/template/NMZ.foot.fr
+share/namazu/template/NMZ.foot.ja
+share/namazu/template/NMZ.head
+share/namazu/template/NMZ.head.es
+share/namazu/template/NMZ.head.fr
+share/namazu/template/NMZ.head.ja
+share/namazu/template/NMZ.result.normal
+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.short
+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.tips
+share/namazu/template/NMZ.tips.es
+share/namazu/template/NMZ.tips.fr
+share/namazu/template/NMZ.tips.ja
+@dirrm share/namazu/template
+@dirrm share/namazu