summaryrefslogtreecommitdiff
path: root/www/mgstat/Makefile
blob: a679e4bf10701d98ba14b36988915e97ce998173 (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
# New ports collection makefile for:	mgstat
# Date created:		11 May 2001
# Whom:			jeh@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	mgstat
PORTVERSION=	0.11
CATEGORIES=	www
MASTER_SITES=	http://wizard.ae.krakow.pl/~mike/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Produce graphs from mod_gzip log files

LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd

HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX}

MGDOCDIR=	${PREFIX}/share/doc/mgstat

post-install:
.if !defined(NOPORTDOCS)
	@if ! [ -d ${MGDOCDIR} ]; then ${MKDIR} ${MGDOCDIR}; fi
	${INSTALL_DATA} ${WRKSRC}/Copyright ${MGDOCDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${MGDOCDIR}
	${INSTALL_DATA} ${WRKSRC}/USAGE ${MGDOCDIR}
.endif

.include <bsd.port.mk>