blob: 5e214b1f6e09ccd2045cb9f60dfd6e7946bdeb52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.11 2006/04/05 16:41:34 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
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
USE_TOOLS+= bison makeinfo
INFO_FILES= # PLIST
BINDIR= ${PREFIX}/bin
INFODIR= ${PREFIX}/${PKGINFODIR}
HTMLDIR= ${PREFIX}/share/doc/html/mairix
INSTALLATION_DIRS= ${BINDIR} ${INFODIR} ${HTMLDIR}
pre-build:
cd ${WRKSRC} && makeinfo mairix.texi
cd ${WRKSRC} && makeinfo --no-split --number-sections --html \
mairix.texi > mairix.html
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mairix ${BINDIR}
${INSTALL_DATA} ${WRKSRC}/mairix.html ${HTMLDIR}
cd ${WRKSRC}; for f in mairix.info mairix.info-[0-9]; do \
${TEST} ! -f "$$f" || ${INSTALL_DATA} "$$f" ${INFODIR}; \
done
.include "../../mk/bsd.pkg.mk"
|