[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / namazu

Annotation of pkgsrc/textproc/namazu/Makefile, Revision 1.16

1.16    ! wiz         1: # $NetBSD: Makefile,v 1.15 2018/04/30 08:15:11 taca Exp $
1.1       wiz         2:
1.7       mef         3: DISTNAME=      namazu-2.0.21
1.16    ! wiz         4: PKGREVISION=   8
1.1       wiz         5: CATEGORIES=    japanese textproc www
1.7       mef         6: MASTER_SITES=  http://www.namazu.org/stable/
1.1       wiz         7:
                      8: MAINTAINER=    pkgsrc-users@NetBSD.org
                      9: HOMEPAGE=      http://www.namazu.org/index.html.en
                     10: COMMENT=       Full-text search system intended for easy use
1.4       taca       11: LICENSE=       gnu-gpl-v2
1.1       wiz        12:
                     13: DEPENDS+=      p5-File-MMagic>=1.25:../../misc/p5-File-MMagic
                     14: DEPENDS+=      p5-nkf>=1.7:../../converters/p5-nkf
                     15:
                     16: CONFLICTS+=    namazu-[0-9]*
                     17:
                     18: USE_PKGLOCALEDIR=      yes
                     19: USE_TOOLS+=            perl:run
                     20: GNU_CONFIGURE=         yes
                     21: USE_LANGUAGES=         c
                     22: USE_LIBTOOL=           yes
                     23: TEST_TARGET=           check
                     24:
                     25: BUILD_DEFS+=           PKG_SYSCONFBASE
1.4       taca       26: CONFIGURE_ARGS+=       --localstatedir=${PREFIX}/${DATADIR} \
1.1       wiz        27:                        --libexecdir=${PREFIX}/libexec/cgi-bin \
1.4       taca       28:                        --sysconfdir=${PKG_SYSCONFBASE}
1.1       wiz        29: CONFIGURE_ENV+=                KAKASI="module_kakasi"
                     30: CONFIGURE_ENV+=                ac_cv_path_KAKASI="module_kakasi"
                     31: CONFIGURE_ENV+=                CHASEN="module_chasen"
                     32: CONFIGURE_ENV+=                ac_cv_path_CHASEN="module_chasen"
                     33: CONFIGURE_ENV+=                MECAB="module_mecab"
                     34: CONFIGURE_ENV+=                ac_cv_path_MECAB="module_mecab"
1.3       taca       35: DATADIR=               libdata
                     36: EXAMPLESDIR=           share/examples/namazu
1.1       wiz        37: EXAMPLES=              mknmzrc namazurc
1.3       taca       38: INSTALLATION_DIRS+=    ${DATADIR}/namazu ${EXAMPLESDIR}
1.1       wiz        39:
                     40: SUBST_CLASSES+=                wakati
                     41: SUBST_STAGE.wakati=    pre-configure
                     42: SUBST_FILES.wakati=    pl/conf.pl.in
                     43: SUBST_SED.wakati=      -e 's|@OPT_WAKATI_DEFAULT@|none|'
                     44:
                     45: .include "../../mk/bsd.prefs.mk"
                     46:
                     47: PKG_SYSCONFSUBDIR=     namazu
                     48: .for f in ${EXAMPLES}
                     49: CONF_FILES+=           ${EXAMPLESDIR}/${f}     ${PKG_SYSCONFDIR}/${f}
                     50: .endfor
                     51: MAKE_DIRS+=            ${DATADIR}/namazu/index
                     52: OWN_DIRS+=             ${PKG_SYSCONFDIR} ${DATADIR}/namazu
                     53:
                     54: post-install:
                     55: .for f in ${EXAMPLES}
1.3       taca       56:        cd ${WRKSRC}/conf && ${INSTALL_DATA} ${f}-sample \
                     57:                ${DESTDIR}${PREFIX}/${EXAMPLESDIR}/${f}
1.1       wiz        58: .endfor
                     59:
                     60: .include "../../converters/libiconv/buildlink3.mk"
                     61: .include "../../devel/gettext-lib/buildlink3.mk"
                     62: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>