1996-06-10 01:24:54 +02:00
|
|
|
# New ports collection makefile for: analog
|
1996-10-22 02:49:05 +02:00
|
|
|
# Date created: October 21st 1996
|
|
|
|
# Whom: jfitz
|
1996-06-10 01:24:54 +02:00
|
|
|
#
|
1999-08-31 04:43:35 +02:00
|
|
|
# $FreeBSD$
|
1996-06-10 01:24:54 +02:00
|
|
|
#
|
|
|
|
|
2000-04-10 02:07:29 +02:00
|
|
|
PORTNAME= analog
|
2005-01-09 22:21:29 +01:00
|
|
|
PORTVERSION= 6.0
|
2011-08-08 15:01:12 +02:00
|
|
|
PORTREVISION= 7
|
2002-01-15 04:14:26 +01:00
|
|
|
PORTEPOCH= 1
|
1996-11-18 12:44:27 +01:00
|
|
|
CATEGORIES= www
|
2001-01-16 18:33:20 +01:00
|
|
|
MASTER_SITES= http://www.analog.cx/ \
|
1999-03-15 03:01:27 +01:00
|
|
|
http://analog.gsp.com/ \
|
2011-11-25 17:54:47 +01:00
|
|
|
http://fossies.org/unix/www/ \
|
2003-07-17 06:31:37 +02:00
|
|
|
ftp://ftp.polytechnic.edu.na/pub/analog/ \
|
2002-09-08 19:46:17 +02:00
|
|
|
http://analog.tzone.it/
|
1996-06-10 01:24:54 +02:00
|
|
|
|
2010-04-29 00:22:27 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= An extremely fast program for analysing WWW logfiles
|
1998-04-08 20:18:26 +02:00
|
|
|
|
2011-11-25 17:54:47 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2003-08-18 18:15:10 +02:00
|
|
|
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd \
|
2010-02-05 12:46:55 +01:00
|
|
|
jpeg.11:${PORTSDIR}/graphics/jpeg \
|
2010-03-28 08:47:48 +02:00
|
|
|
png.6:${PORTSDIR}/graphics/png
|
2001-05-04 14:23:28 +02:00
|
|
|
|
2011-11-25 17:54:47 +01:00
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
|
|
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
MAKE_JOBS_SAFE= yes
|
2002-01-15 04:14:26 +01:00
|
|
|
|
2006-01-05 00:32:10 +01:00
|
|
|
SUB_FILES= pkg-message
|
2011-11-25 17:54:47 +01:00
|
|
|
|
|
|
|
MAN1= analog.1
|
|
|
|
|
|
|
|
LIMGDIR?= www/data/images
|
|
|
|
IMGDIR= ${PREFIX}/${LIMGDIR}
|
|
|
|
PLIST_SUB= IMGDIR="${LIMGDIR}"
|
1996-06-10 01:24:54 +02:00
|
|
|
|
2001-08-29 01:22:45 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1996-06-10 01:24:54 +02:00
|
|
|
do-install:
|
2000-06-04 21:21:07 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/analog ${PREFIX}/bin
|
2011-11-25 17:54:47 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/analog.man ${MANPREFIX}/man/man1/analog.1
|
2000-07-03 01:06:22 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/analog.cfg ${PREFIX}/etc/analog.cfg-dist
|
2011-11-25 17:54:47 +01:00
|
|
|
@${MKDIR} ${DATADIR}/lang
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lang/* ${DATADIR}/lang
|
|
|
|
@${MKDIR} ${IMGDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/* ${IMGDIR}
|
1999-05-19 23:33:55 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2011-11-25 17:54:47 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-12-17 05:18:43 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
|
2011-11-25 17:54:47 +01:00
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2005-01-09 22:21:29 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.cfg ${EXAMPLESDIR}
|
2006-01-05 00:32:10 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/anlgform.html ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/anlgform.pl ${EXAMPLESDIR}
|
2011-11-25 17:54:47 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}/css
|
2005-01-09 22:21:29 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/css/Readme.txt ${EXAMPLESDIR}/css
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/css/default.css ${EXAMPLESDIR}/css
|
2011-11-25 17:54:47 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}/css/jreeves
|
2005-01-09 22:21:29 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/css/jreeves/* ${EXAMPLESDIR}/css/jreeves
|
1999-05-19 23:33:55 +02:00
|
|
|
.endif
|
2011-11-25 17:54:47 +01:00
|
|
|
.if !exists(${PREFIX}/etc/analog.cfg)
|
|
|
|
@cd ${PREFIX}/etc && ${CP} -f analog.cfg-dist analog.cfg
|
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
2006-01-05 00:32:10 +01:00
|
|
|
|
2001-08-29 01:22:45 +02:00
|
|
|
.include <bsd.port.post.mk>
|