2013-03-07 04:25:10 +01:00
|
|
|
# Created by: jfitz
|
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
|
2013-08-09 16:05:52 +02:00
|
|
|
PORTREVISION= 9
|
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
|
|
|
|
2013-11-25 01:03:38 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-11-29 03:57:43 +01:00
|
|
|
COMMENT= Fast program for analysing WWW logfiles
|
1998-04-08 20:18:26 +02:00
|
|
|
|
2011-11-25 17:54:47 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-11-29 03:57:43 +01:00
|
|
|
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd \
|
|
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
|
|
libpng15.so:${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}
|
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
|
|
|
|
|
|
|
LIMGDIR?= www/data/images
|
|
|
|
IMGDIR= ${PREFIX}/${LIMGDIR}
|
|
|
|
PLIST_SUB= IMGDIR="${LIMGDIR}"
|
1996-06-10 01:24:54 +02:00
|
|
|
|
2014-07-16 05:34:56 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
2001-08-29 01:22:45 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1996-06-10 01:24:54 +02:00
|
|
|
do-install:
|
2014-01-30 04:34:12 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/analog ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/analog.man ${STAGEDIR}${MANPREFIX}/man/man1/analog.1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/analog.cfg ${STAGEDIR}${PREFIX}/etc/analog.cfg-dist
|
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/lang
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lang/* ${STAGEDIR}${DATADIR}/lang
|
|
|
|
${MKDIR} ${STAGEDIR}${IMGDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/images/* ${STAGEDIR}${IMGDIR}
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
|
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.cfg ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/anlgform.html ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/anlgform.pl ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/css
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/css/Readme.txt ${STAGEDIR}${EXAMPLESDIR}/css
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/css/default.css ${STAGEDIR}${EXAMPLESDIR}/css
|
|
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/css/jreeves
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/css/jreeves/* ${STAGEDIR}${EXAMPLESDIR}/css/jreeves
|
|
|
|
|
|
|
|
.if !exists(${STAGEDIR}${PREFIX}/etc/analog.cfg)
|
|
|
|
@cd ${STAGEDIR}${PREFIX}/etc && ${CP} -f analog.cfg-dist analog.cfg
|
2011-11-25 17:54:47 +01:00
|
|
|
.endif
|
2006-01-05 00:32:10 +01:00
|
|
|
|
2001-08-29 01:22:45 +02:00
|
|
|
.include <bsd.port.post.mk>
|