pkgsrc/japanese/namazu2/Makefile
taca 8b1b91a531 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.
2001-01-27 02:29:24 +00:00

52 lines
1.5 KiB
Makefile

# $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"