aboutsummaryrefslogtreecommitdiff
path: root/www/http-analyze/Makefile
blob: f3ae91330952be982e8d345fb99352391a110735 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for: http-analyze
# Date created:		Fri Jul 11 06:11:41 CEST 1997
# Whom:			Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$

PORTNAME=	http-analyze
PORTVERSION=	2.01
PORTREVISION=	10
CATEGORIES=	www
MASTER_SITES=	http://T32.TecNik93.com/FreeBSD/others_ports/${PORTNAME}/sources/
DISTNAME=	${PORTNAME}${PORTVERSION}
EXTRACT_SUFX=	-src.tar.gz

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A fast Log-Analyzer for web servers

PATCH_DEPENDS=	gif2png:${PORTSDIR}/graphics/gif2png
LIB_DEPENDS=	gd.4:${PORTSDIR}/graphics/gd

MAN1=		http-analyze.1

post-patch:
	@${ECHO_MSG} "Converting GIFs to PNG format"
	@${FIND} "${WRKSRC}/files/btn" -name "*.gif" -type f \
		-exec gif2png -d -O {} \;

.ifndef(NOPORTDOCS)
post-install:
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/http-analyze.pdf ${WRKSRC}/http-analyze.ps \
		${DOCSDIR}
.endif

.include <bsd.port.mk>