aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-Trac/Makefile
blob: 49ddb668b69128ab19581b362c28fce3e5caab99 (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
# New ports collection makefile for:    p5-Text-Trac
# Date created:     2006-07-19
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   Text-Trac
PORTVERSION=    0.04
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
PKGNAMEPREFIX=  p5-

MAINTAINER= gslin@gslin.org
COMMENT=    Perl extension for formatting text with Trac Wiki Style

RUN_DEPENDS=    ${SITE_PERL}/Class/Accessor/Fast.pm:${PORTSDIR}/devel/p5-Class-Accessor \
        ${SITE_PERL}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
        ${SITE_PERL}/UNIVERSAL/require.pm:${PORTSDIR}/devel/p5-UNIVERSAL-require

PERL_CONFIGURE= yes

MAN3=       Text::Trac.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
post-patch:
    ${PERL} -pi -e 's/^use warnings;//g' ${WRKSRC}/Makefile.PL
.endif

.if ${PERL_LEVEL} < 500602
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
.endif

.include <bsd.port.post.mk>