blob: 23e1f908c314e57cdf4abd723f6bd3dbcc6931ae (
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
37
38
39
|
# $NetBSD: Makefile,v 1.46 2004/12/19 22:00:10 tron Exp $
DISTNAME= analog-6.0
CATEGORIES= www
MASTER_SITES= ${HOMEPAGE} \
http://www.web42.com/analog/ \
http://analog.org/loganalysis/ \
http://www.gekko.de/analog/ /
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://www.analog.cx/
COMMENT= Extremely fast program for analysing WWW logfiles
WRKSRC= ${WRKDISTDIR}/src
BUILD_TARGET= analog
MAKE_ENV+= PREFIX=${PREFIX} SYSCONFDIR=${PKG_SYSCONFDIR}
WRKDISTDIR= ${WRKDIR}/${DISTNAME}
USE_PKGINSTALL= yes
EGDIR= ${PREFIX}/share/examples
CONF_FILES= ${EGDIR}/analog.cfg ${PKG_SYSCONFDIR}/analog.cfg
.if !exists(/usr/include/glob.h)
CFLAGS+= -DNOGLOB
.endif
do-install:
${INSTALL_PROGRAM} ${WRKDISTDIR}/analog ${PREFIX}/bin
${INSTALL_DATA} ${WRKDISTDIR}/analog.man ${PREFIX}/man/man1/analog.1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/analog \
${PREFIX}/lib/analog/lang \
${PREFIX}/lib/analog/images
${INSTALL_DATA} ${WRKDISTDIR}/docs/* ${PREFIX}/share/doc/analog
${INSTALL_DATA} ${WRKDISTDIR}/images/* ${PREFIX}/lib/analog/images
${INSTALL_DATA} ${WRKDISTDIR}/lang/* ${PREFIX}/lib/analog/lang
${INSTALL_DATA} -m 644 ${WRKDISTDIR}/analog.cfg \
${PREFIX}/share/examples/analog.cfg
.include "../../mk/bsd.pkg.mk"
|