freebsd-ports/www/analog/Makefile

72 lines
1.9 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: analog
# Date created: October 21st 1996
# Whom: jfitz
#
1999-08-31 04:43:35 +02:00
# $FreeBSD$
#
PORTNAME= analog
2005-01-09 22:21:29 +01:00
PORTVERSION= 6.0
PORTREVISION= 7
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/
2010-04-29 00:22:27 +02:00
MAINTAINER= ports@FreeBSD.org
COMMENT= An extremely fast program for analysing WWW logfiles
1998-04-08 20:18:26 +02:00
LICENSE= GPLv2
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd \
2010-02-05 12:46:55 +01:00
jpeg.11:${PORTSDIR}/graphics/jpeg \
png.6:${PORTSDIR}/graphics/png
BUILD_WRKSRC= ${WRKSRC}/src
ALL_TARGET= ${PORTNAME}
MAKE_JOBS_SAFE= yes
SUB_FILES= pkg-message
MAN1= analog.1
LIMGDIR?= www/data/images
IMGDIR= ${PREFIX}/${LIMGDIR}
PLIST_SUB= IMGDIR="${LIMGDIR}"
.include <bsd.port.pre.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/analog ${PREFIX}/bin
${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
@${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)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
2005-01-09 22:21:29 +01:00
${INSTALL_DATA} ${WRKSRC}/examples/*.cfg ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/anlgform.html ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/anlgform.pl ${EXAMPLESDIR}
@${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
@${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
.if !exists(${PREFIX}/etc/analog.cfg)
@cd ${PREFIX}/etc && ${CP} -f analog.cfg-dist analog.cfg
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>