aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-XPathEngine/Makefile
blob: 590d6378d36b3a841f66c8921c79c6ed906ea2ae (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
29
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

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

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

USES=       perl5
USE_PERL5=  configure
REINPLACE_ARGS= -i ''

MAN3=       XML::XPathEngine.3 \
        XML::XPathEngine::Boolean.3 \
        XML::XPathEngine::Literal.3 \
        XML::XPathEngine::NodeSet.3 \
        XML::XPathEngine::Number.3

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

.include <bsd.port.mk>