aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-RTx-Statistics/Makefile
blob: 5f803d1fdae82f0ac342cc3eea3bb0cd1decc3a3 (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
# 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=   2
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

# This module is not compatible with rt-3.8.0 or later.
BUILD_DEPENDS=  ${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph \
        ${RT_PATH}/lib/RT.pm:${PORTSDIR}/www/rt36
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= 5.8.3+

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.mk>