aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-SimpleTable/Makefile
blob: fafaff83aedac6f7986c43acd6de667f69a22702 (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
# New ports collection makefile for:    p5-Text-SimpleTable
# Date created:     15 Nov 2005
# Whom:         Lars Balker Rasmussen <lbr@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Text-SimpleTable
PORTVERSION=    0.03
CATEGORIES= textproc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/S/SR/SRI
PKGNAMEPREFIX=  p5-

MAINTAINER= lbr@FreeBSD.org
COMMENT=    Simple Eyecandy ASCII Tables

PERL_MODBUILD=  yes

MAN3=       Text::SimpleTable.3

.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
    @${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \
        ${WRKSRC}/lib/Text/SimpleTable.pm
.endif
.include <bsd.port.post.mk>