0082e43ee1
* pkgsrc change: sort PLIST. Overview of Changes in Namazu 2.0.19 - Mar 12, 2009 - namazu, namazu.cgi: * The bug in an analytical part of a complex retrieval type including the phrase search is corrected. - mknmz: * The check on the size of the file is added. - pl/htmlsplit.pl: * Addition of code conversion processing. * The close forgetting of the file is corrected. - Other filters: * The regularization of the text is added. * The judgment processing of an internal filter is sped up. * It corresponds to pl/extutf8.pl and the pl/extzip.pl extensions module. - Extensions module: * The processing done with an individual filter is integrated as an extensions module. * Two enhanced feature modules are added. Pl/extutf8.pl: UTF-8 processing extension module * It is called from the filter for extutf8.pl, and UTF-8 is processed. * Those tool and module are used for the UTF-8 processing when the tool necessary for the UTF-8 processing and the judgment of the module can be done in the following order, and it use it. 1. NKF Perl module 2.04 or more 2. Perl 5.8 or more 3. Lv command 4. Unicode.pl module Pl/extzip.pl: zip processing extension module * It is called from the filter for extzip.pl, and zip is processed. * Those tool and module are used for the zip processing when the tool necessary for the zip processing and the judgment of the module can be done in the following order, and it use it. 1. Compress::Zlib, Archive::Zip, (IO::String) When IO::String is installed, processing is sped up. 2. Unzip command - pltests: * The output of the version of some Perl modules is added. * The check on whether there is illegal one in the value of the environment variable is added.
63 lines
1.8 KiB
Makefile
63 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2009/03/14 15:04:39 taca Exp $
|
|
|
|
DISTNAME= namazu-2.0.19
|
|
CATEGORIES= japanese textproc www
|
|
MASTER_SITES= http://www.namazu.org/test/ \
|
|
http://www.namazu.org/stable/ \
|
|
http://namazu.ipmedia.de/stable/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.namazu.org/index.html.en
|
|
COMMENT= Full-text search system intended for easy use
|
|
|
|
DEPENDS+= p5-File-MMagic>=1.25:../../misc/p5-File-MMagic
|
|
DEPENDS+= p5-nkf>=1.7:../../converters/p5-nkf
|
|
|
|
CONFLICTS+= namazu-[0-9]*
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= perl:run
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c
|
|
USE_LIBTOOL= yes
|
|
TEST_TARGET= check
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
BUILD_DEFS+= PKG_SYSCONFBASE
|
|
CONFIGURE_ARGS+= --localstatedir=${PREFIX}/${DATADIR:Q} \
|
|
--libexecdir=${PREFIX}/libexec/cgi-bin \
|
|
--sysconfdir=${PKG_SYSCONFBASE:Q}
|
|
CONFIGURE_ENV+= KAKASI="module_kakasi"
|
|
CONFIGURE_ENV+= ac_cv_path_KAKASI="module_kakasi"
|
|
CONFIGURE_ENV+= CHASEN="module_chasen"
|
|
CONFIGURE_ENV+= ac_cv_path_CHASEN="module_chasen"
|
|
CONFIGURE_ENV+= MECAB="module_mecab"
|
|
CONFIGURE_ENV+= ac_cv_path_MECAB="module_mecab"
|
|
DATADIR= libdata
|
|
EXAMPLESDIR= share/examples/namazu
|
|
EXAMPLES= mknmzrc namazurc
|
|
INSTALLATION_DIRS+= ${DATADIR}/namazu ${EXAMPLESDIR}
|
|
|
|
SUBST_CLASSES+= wakati
|
|
SUBST_STAGE.wakati= pre-configure
|
|
SUBST_FILES.wakati= pl/conf.pl.in
|
|
SUBST_SED.wakati= -e 's|@OPT_WAKATI_DEFAULT@|none|'
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PKG_SYSCONFSUBDIR= namazu
|
|
.for f in ${EXAMPLES}
|
|
CONF_FILES+= ${EXAMPLESDIR}/${f} ${PKG_SYSCONFDIR}/${f}
|
|
.endfor
|
|
MAKE_DIRS+= ${DATADIR}/namazu/index
|
|
OWN_DIRS+= ${PKG_SYSCONFDIR} ${DATADIR}/namazu
|
|
|
|
post-install:
|
|
.for f in ${EXAMPLES}
|
|
cd ${WRKSRC}/conf && ${INSTALL_DATA} ${f}-sample \
|
|
${DESTDIR}${PREFIX}/${EXAMPLESDIR}/${f}
|
|
.endfor
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|