6e0c050321
makeinfo if no native makeinfo executable exists. Honor TEXINFO_REQD when determining whether the native makeinfo can be used. * Remove USE_MAKEINFO and replace it with USE_TOOLS+=makeinfo. * Get rid of all the "split" argument deduction for makeinfo since the PLIST module already handles varying numbers of split info files correctly. NOTE: Platforms that have "makeinfo" in the base system should check that the makeinfo entries of pkgsrc/mk/tools.${OPSYS}.mk are correct.
39 lines
976 B
Makefile
39 lines
976 B
Makefile
# $NetBSD: Makefile,v 1.8 2006/03/05 16:27:26 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= mairix-0.16.1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.rpcurnow.force9.co.uk/mairix/
|
|
|
|
MAINTAINER= simonb@NetBSD.org
|
|
HOMEPAGE= http://www.rc0.org.uk/mairix/
|
|
COMMENT= Program for indexing and searching email messages
|
|
|
|
BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
|
|
|
USE_TOOLS+= makeinfo
|
|
INFO_FILES= mairix.info
|
|
|
|
BINDIR= ${PREFIX}/bin
|
|
INFODIR= ${PREFIX}/info
|
|
HTMLDIR= ${PREFIX}/share/doc/html/mairix
|
|
|
|
INSTALLATION_DIRS= bin info
|
|
|
|
pre-build:
|
|
@cd ${WRKSRC}; \
|
|
makeinfo mairix.texi; \
|
|
${MAKEINFO} mairix.texi; \
|
|
${MAKEINFO} --no-split --number-sections --html \
|
|
mairix.texi > mairix.html
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mairix ${BINDIR}
|
|
${INSTALL_DATA_DIR} ${HTMLDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/mairix.html ${HTMLDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/mairix.info ${INFODIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|