aboutsummaryrefslogtreecommitdiff
path: root/www/pwebstats/Makefile
blob: c4736901f1063b127177a2e6194a8f75a8f503e6 (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:    pwebstats
# Date created:         13.07.2003
# Whom:                 HSIN-HSIUNG CHANG <sexbear@tmu.edu.tw>
#
# $FreeBSD$
#

PORTNAME=	pwebstats
PORTVERSION=	1.3.8
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	ftp://ftp.psg.com/pub/pwebstats/

MAINTAINER=	sexbear@tmu.edu.tw
COMMENT=	Analyse a web server log

RUN_DEPENDS=	fly:${PORTSDIR}/graphics/fly

USE_PERL5=	yes

NO_BUILD=	yes

do-install:
	${MKDIR} ${PREFIX}/etc/pwebstats/
	${CP} -R ${WRKSRC}/* ${PREFIX}/etc/pwebstats/
	${MV} "${PREFIX}/etc/pwebstats/templates/images/'.gif" ${PREFIX}/etc/pwebstats/templates/images/10.gif
	${MV} "${PREFIX}/etc/pwebstats/templates/images/dates/'.gif" ${PREFIX}/etc/pwebstats/templates/images/dates/10.gif
	${RM} ${PREFIX}/etc/pwebstats/pwebstats.orig
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>