aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-Tmpl/Makefile
blob: 153af381416cb17e618c176507d2296125ba20e7 (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
# Created by: Anton Berezin <tobez@tobez.org>
# $FreeBSD$

PORTNAME=   Text-Tmpl
PORTVERSION=    0.33
PORTREVISION=   1
CATEGORIES= textproc perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Templating system perl library

USES=       perl5
USE_PERL5=  configure patch

pre-patch:
    @${PERL} -pi -e '/OPTIMIZE|libtmpl.pod/ and $$_=""' \
        ${WRKSRC}/Makefile.PL
    @${PERL} -pi -e 's/\(I32\)/(IV)/' \
        ${WRKSRC}/typemap ${WRKSRC}/perl_tags.c

.include <bsd.port.mk>