aboutsummaryrefslogblamecommitdiff
path: root/textproc/p5-XML-XPathEngine/Makefile
blob: dab6750a11ea9446ce79a9e548afdb8b847ae3e8 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            

                               
                    
                 
                              
                    

                   
                                
                                                         
 


                            

                         

                   
                     
 


                                                                                      
                                                                                                      
 
                      
# Created by: Gea-Suan Lin <gslin@gslin.org>

PORTNAME=	XML-XPathEngine
PORTVERSION=	0.14
PORTREVISION=	1
CATEGORIES=	textproc perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Re-usable XPath engine for DOM-like trees

LICENSE=	ART10 GPLv1+
LICENSE_COMB=	dual

USES=		perl5
USE_PERL5=	configure

NO_ARCH=	yes
REINPLACE_ARGS=	-i ''

# For errors like
# Bareword "XML::XPathEngine::Step::..." not allowed while "strict subs" in use at ...
post-patch:
	@${REINPLACE_CMD} -Ee 's,(use strict;),\1 no strict "subs";,' ${WRKSRC}/lib/XML/XPathEngine.pm

.include <bsd.port.mk>