aboutsummaryrefslogtreecommitdiff
path: root/www/reportmagic/Makefile
blob: c6020828ee6c3c707520348b2a3f86b0f1fb2c7d (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
36
37
# Created by: Jeremy Shaffner <jeremy@external.org>
# $FreeBSD$

PORTNAME=	reportmagic
PORTVERSION=	2.21
PORTREVISION=	3
CATEGORIES=	www
MASTER_SITES=	http://www.reportmagic.org/	\
		http://www.reportmagic.org.uk/	\
		http://www.reportmagic.de/	\
		http://be.reportmagic.org/
DISTNAME=	rmagic-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Web site statistics post-processor for Analog

USES=		perl5

RUN_DEPENDS=	analog:${PORTSDIR}/www/analog \
		p5-GD-Graph3d>=0:${PORTSDIR}/graphics/p5-GD-Graph3d \
		p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \
		p5-Config-IniFiles>=0:${PORTSDIR}/devel/p5-Config-IniFiles

WRKSRC=		${WRKDIR}/${DISTNAME}
NO_BUILD=	YES

do-install:
	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} ${PERL5} Install.PL -no_modules

post-install:
	@${ECHO}
	@${ECHO} "You must agree to the [Artistic] license agreement at"
	@${ECHO} "${PREFIX}/share/doc/reportmagic/license.html before"
	@${ECHO} "using Report Magic."
	@${ECHO}

.include <bsd.port.mk>