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

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

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

USES=       perl5
USE_PERL5=  configure patch

MAN3=       template_syntax.3 Text::Tmpl.3 template_extend.3

NO_STAGE=   yes
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>