aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-RTx-Statistics/Makefile
blob: 87bd60d60eea5bec12488883b9c8b3292a1c9e24 (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
38
# New ports collection makefile for:    www/p5-RTx-Statistics
# Date created:             10-JAN-2006
# Whom:                 Vivek Khera <vivek@khera.org>
#
# $FreeBSD$
#

PORTNAME=   RTx-Statistics
PORTVERSION=    0.1.8
PORTREVISION=   1
CATEGORIES= www perl5
MASTER_SITES=   http://opensvn.csie.org/RTx_Statistics/releases/${PORTVERSION}/
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    RTx::Statistics - Produces statistical information based on RT3 data

BUILD_DEPENDS=  ${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph \
        ${RT_PATH}/lib/RT.pm:${PORTSDIR}/www/rt34
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= YES

RT_PATH?=   ${LOCALBASE}/rt3
PLIST_SUB=  RT_PATH=${RT_PATH}  RTPLIST=${RT_PATH:S/^${PREFIX}\///}

do-configure:
    @cd ${CONFIGURE_WRKSRC} && \
        ${SETENV} ${CONFIGURE_ENV} \
        ${PERL5} Makefile.PL

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500803
IGNORE= requires at least Perl5.8.3 due to dependencies
.endif

.include <bsd.port.post.mk>