aboutsummaryrefslogblamecommitdiff
path: root/textproc/p5-Text-Tmpl/Makefile
blob: b8116d24d089b2eccd3b0f2e50c8ffe8a1327e99 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                             
           

                         
                    
                 
                              
                    

                   
                                 
                                              
 

                               
 


                                                             

                                                       

                      
# 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=	tobez@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>