2016-07-09 08:38:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2016/07/09 06:39:06 wiz Exp $
|
2002-05-31 15:01:41 +02:00
|
|
|
|
2011-07-24 16:31:34 +02:00
|
|
|
DISTNAME= namazu-2.0.21
|
2016-07-09 08:38:30 +02:00
|
|
|
PKGREVISION= 6
|
2002-05-31 15:01:41 +02:00
|
|
|
CATEGORIES= japanese textproc www
|
2011-07-24 16:31:34 +02:00
|
|
|
MASTER_SITES= http://www.namazu.org/stable/
|
2002-05-31 15:01:41 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2002-05-31 15:01:41 +02:00
|
|
|
HOMEPAGE= http://www.namazu.org/index.html.en
|
|
|
|
COMMENT= Full-text search system intended for easy use
|
2009-09-24 17:04:33 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2002-05-31 15:01:41 +02:00
|
|
|
|
2006-03-18 23:22:31 +01:00
|
|
|
DEPENDS+= p5-File-MMagic>=1.25:../../misc/p5-File-MMagic
|
2002-05-31 15:01:41 +02:00
|
|
|
DEPENDS+= p5-nkf>=1.7:../../converters/p5-nkf
|
|
|
|
|
2004-12-15 14:09:58 +01:00
|
|
|
CONFLICTS+= namazu-[0-9]*
|
2002-05-31 15:01:41 +02:00
|
|
|
|
2004-12-15 14:09:58 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2005-12-05 21:49:47 +01:00
|
|
|
USE_TOOLS+= perl:run
|
2004-12-15 14:09:58 +01:00
|
|
|
GNU_CONFIGURE= yes
|
Update namazu2 pacakge to 2.0.15.
Overview of Changes in Namazu 2.0.15 - Jan. 29, 2006
* 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 new directives for mknmzrc (MECAB, DENY_DDN).
To skip when filename is DDN.
* Add sorting function by date of field.
* Added new files (nmzcat, nmzegrep).
* Adapt new filter programs (wvWare 1.0.3, xlhtml 0.5.1, xpdf 3.01).
* 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.
2006-03-02 17:02:37 +01:00
|
|
|
USE_LANGUAGES= c
|
2004-12-15 14:09:58 +01:00
|
|
|
USE_LIBTOOL= yes
|
2003-02-17 16:27:58 +01:00
|
|
|
TEST_TARGET= check
|
2002-05-31 15:01:41 +02:00
|
|
|
|
2007-03-15 17:27:47 +01:00
|
|
|
BUILD_DEFS+= PKG_SYSCONFBASE
|
2009-09-24 17:04:33 +02:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=${PREFIX}/${DATADIR} \
|
2004-12-15 14:09:58 +01:00
|
|
|
--libexecdir=${PREFIX}/libexec/cgi-bin \
|
2009-09-24 17:04:33 +02:00
|
|
|
--sysconfdir=${PKG_SYSCONFBASE}
|
2007-06-15 20:17:41 +02:00
|
|
|
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"
|
2009-03-14 16:04:39 +01:00
|
|
|
DATADIR= libdata
|
|
|
|
EXAMPLESDIR= share/examples/namazu
|
2004-12-15 14:09:58 +01:00
|
|
|
EXAMPLES= mknmzrc namazurc
|
2009-03-14 16:04:39 +01:00
|
|
|
INSTALLATION_DIRS+= ${DATADIR}/namazu ${EXAMPLESDIR}
|
2004-12-15 14:09:58 +01:00
|
|
|
|
2007-06-15 20:17:41 +02:00
|
|
|
SUBST_CLASSES+= wakati
|
|
|
|
SUBST_STAGE.wakati= pre-configure
|
|
|
|
SUBST_FILES.wakati= pl/conf.pl.in
|
|
|
|
SUBST_SED.wakati= -e 's|@OPT_WAKATI_DEFAULT@|none|'
|
|
|
|
|
2004-12-15 14:09:58 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2002-05-31 15:01:41 +02:00
|
|
|
|
2007-06-15 20:17:41 +02:00
|
|
|
PKG_SYSCONFSUBDIR= namazu
|
2004-12-15 14:09:58 +01:00
|
|
|
.for f in ${EXAMPLES}
|
2005-07-12 18:03:56 +02:00
|
|
|
CONF_FILES+= ${EXAMPLESDIR}/${f} ${PKG_SYSCONFDIR}/${f}
|
2004-12-15 14:09:58 +01:00
|
|
|
.endfor
|
|
|
|
MAKE_DIRS+= ${DATADIR}/namazu/index
|
|
|
|
OWN_DIRS+= ${PKG_SYSCONFDIR} ${DATADIR}/namazu
|
2002-05-31 15:01:41 +02:00
|
|
|
|
|
|
|
post-install:
|
2004-12-15 14:09:58 +01:00
|
|
|
.for f in ${EXAMPLES}
|
2009-03-14 16:04:39 +01:00
|
|
|
cd ${WRKSRC}/conf && ${INSTALL_DATA} ${f}-sample \
|
|
|
|
${DESTDIR}${PREFIX}/${EXAMPLESDIR}/${f}
|
2004-12-15 14:09:58 +01:00
|
|
|
.endfor
|
2002-05-31 15:01:41 +02:00
|
|
|
|
2004-05-05 01:46:36 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2002-05-31 15:01:41 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|