freebsd-ports/www/analog/Makefile

63 lines
1.9 KiB
Makefile
Raw Normal View History

# Created by: jfitz
1999-08-31 04:43:35 +02:00
# $FreeBSD$
PORTNAME= analog
2005-01-09 22:21:29 +01:00
PORTVERSION= 6.0
2013-08-09 16:05:52 +02:00
PORTREVISION= 9
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://www.analog.cx/ \
http://analog.gsp.com/ \
http://fossies.org/unix/www/ \
ftp://ftp.polytechnic.edu.na/pub/analog/ \
2002-09-08 19:46:17 +02:00
http://analog.tzone.it/
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast program for analysing WWW logfiles
1998-04-08 20:18:26 +02:00
LICENSE= GPLv2
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng15.so:${PORTSDIR}/graphics/png
BUILD_WRKSRC= ${WRKSRC}/src
ALL_TARGET= ${PORTNAME}
SUB_FILES= pkg-message
LIMGDIR?= www/data/images
IMGDIR= ${PREFIX}/${LIMGDIR}
PLIST_SUB= IMGDIR="${LIMGDIR}"
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.pre.mk>
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
.endif
.include <bsd.port.post.mk>