2009-06-14 10:33:21 +02:00
|
|
|
# $NetBSD: Makefile,v 1.60 2009/06/14 08:33:21 wiz Exp $
|
1999-05-09 13:55:24 +02:00
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
DISTNAME= analog-6.0
|
2009-06-14 10:33:21 +02:00
|
|
|
PKGREVISION= 2
|
1999-05-09 13:55:24 +02:00
|
|
|
CATEGORIES= www
|
2007-02-22 20:26:05 +01:00
|
|
|
MASTER_SITES= ${HOMEPAGE} \
|
2002-02-13 14:03:13 +01:00
|
|
|
http://www.web42.com/analog/ \
|
2009-05-01 17:09:17 +02:00
|
|
|
http://analog.tzone.it/
|
1999-05-09 13:55:24 +02:00
|
|
|
|
2008-05-25 16:45:16 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2002-02-13 14:03:13 +01:00
|
|
|
HOMEPAGE= http://www.analog.cx/
|
2001-02-17 18:21:28 +01:00
|
|
|
COMMENT= Extremely fast program for analysing WWW logfiles
|
1999-05-09 13:55:24 +02:00
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDISTDIR}/src
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= analog
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= PREFIX=${PREFIX:Q} SYSCONFDIR=${PKG_SYSCONFDIR:Q}
|
2001-05-14 14:42:14 +02:00
|
|
|
WRKDISTDIR= ${WRKDIR}/${DISTNAME}
|
1999-05-09 13:55:24 +02:00
|
|
|
|
2002-07-11 12:23:13 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples
|
|
|
|
CONF_FILES= ${EGDIR}/analog.cfg ${PKG_SYSCONFDIR}/analog.cfg
|
|
|
|
|
2004-10-11 20:06:31 +02:00
|
|
|
.if !exists(/usr/include/glob.h)
|
|
|
|
CFLAGS+= -DNOGLOB
|
|
|
|
.endif
|
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 lib/analog/lang lib/analog/images
|
2006-06-02 15:11:49 +02:00
|
|
|
INSTALLATION_DIRS+= share/doc/analog share/examples
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2005-08-25 12:09:48 +02:00
|
|
|
LIBS+= -lm
|
|
|
|
LIBS.SunOS+= -lnsl -lsocket
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= LIBS=${LIBS:M*:Q}
|
2005-08-25 12:09:48 +02:00
|
|
|
|
1999-05-09 13:55:24 +02:00
|
|
|
do-install:
|
2008-06-12 04:14:13 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKDISTDIR}/analog ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKDISTDIR}/analog.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/analog.1
|
|
|
|
${INSTALL_DATA} ${WRKDISTDIR}/docs/* ${DESTDIR}${PREFIX}/share/doc/analog
|
|
|
|
${INSTALL_DATA} ${WRKDISTDIR}/images/* ${DESTDIR}${PREFIX}/lib/analog/images
|
|
|
|
${INSTALL_DATA} ${WRKDISTDIR}/lang/* ${DESTDIR}${PREFIX}/lib/analog/lang
|
2001-05-14 14:42:14 +02:00
|
|
|
${INSTALL_DATA} -m 644 ${WRKDISTDIR}/analog.cfg \
|
2008-06-12 04:14:13 +02:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/analog.cfg
|
1999-05-09 13:55:24 +02:00
|
|
|
|
1999-09-28 22:40:02 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|