pkgsrc/textproc/namazu/Makefile

65 lines
1.8 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.6 2011/04/22 13:44:50 obache Exp $
DISTNAME= namazu-2.0.20
PKGREVISION= 1
CATEGORIES= japanese textproc www
Update namazu package to 2.0.19. * 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.
2009-03-14 16:04:39 +01:00
MASTER_SITES= http://www.namazu.org/test/ \
2010-04-17 18:25:11 +02:00
http://www.namazu.org/stable/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.namazu.org/index.html.en
COMMENT= Full-text search system intended for easy use
LICENSE= gnu-gpl-v2
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
Update namazu package to 2.0.19. * 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.
2009-03-14 16:04:39 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
Update namazu2 package to 2.0.17. Overview of Changes in Namazu 2.0.17 - Mar 12, 2007 * filter/win32/ole*.pl: correspondence Office 2007. [for Windows] * filter/win32/olevisio.pl: It corresponds to Visio 2000 of another type. For Visio 2007/.vdx file. [for Windows] * OOo bug correction. * for Office Open XML file. [for Windows] * nmzcat: SJIS output. [For Windows] * mailutime: Bug correction related to passing. * To the code in which it considers after 2038(In the direction that doesn't correspond). * File-MMagic: Imported 1.27. * For eml file. * libnmz: Speed-up of retrieval. * nmzchkw.pl: New addition. (contrib) * libnmz: The bug around the memory is corrected. (users-ja#821). * namazu and namazu.cgi: The bug that falls into an infinite loop is corrected. * namazu and namazu.cgi: Correction of HTML emphasis tag. (for Windows) * gcnmz and nmzmerge: The output of the log is corrected and the format is corrected. * namazu and namazu.cgi: The possibility that the buffer overflow cuts it when the template is corrected is corrected. * filter/mp3.pl: MP3-Info 1.21. * namazu.spec.in: add nmzcat, nmzegrep. * namazu.spec.in: fix filter-requires-namazu.sh. * conf/namazurc-sample: It is added to the comment that Suicide_Time is only UNIX. * scripts/mknmz.in: The mistake of the number of dummy arguments of process_file() is corrected. * filter/pdf.pl: 'Unable to convert pdf file (maybe copying protection)' was corrected at option --debug. * filter/msofficexml.pl: Added new fiter. * filter/visio.pl: Added a new filter. * filter/mp3.pl: Support MP3-Info 1.21's behavior. * tests/*: It deals with trouble in which make check fails because of the environment of Mac + gettext 0.14.2. * tests/data/ja/*: Added new file. * Fix some bugs.
2007-03-15 17:27:47 +01:00
BUILD_DEFS+= PKG_SYSCONFBASE
CONFIGURE_ARGS+= --localstatedir=${PREFIX}/${DATADIR} \
--libexecdir=${PREFIX}/libexec/cgi-bin \
--sysconfdir=${PKG_SYSCONFBASE}
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"
Update namazu package to 2.0.19. * 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.
2009-03-14 16:04:39 +01:00
DATADIR= libdata
EXAMPLESDIR= share/examples/namazu
EXAMPLES= mknmzrc namazurc
Update namazu package to 2.0.19. * 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.
2009-03-14 16:04:39 +01:00
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}
Update namazu package to 2.0.19. * 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.
2009-03-14 16:04:39 +01:00
cd ${WRKSRC}/conf && ${INSTALL_DATA} ${f}-sample \
${DESTDIR}${PREFIX}/${EXAMPLESDIR}/${f}
.endfor
2004-05-05 01:46:36 +02:00
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"