blob: 896743358a8f315658e69ecb9fd0fa4a2b6882af (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: XML::DOM
# Date created: 7 Nov 1999
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= XML-DOM
PORTVERSION= 1.35
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
RUN_DEPENDS= ${PBASE}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
${PBASE}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
${PBASE}/XML/RegExp.pm:${PORTSDIR}/textproc/p5-XML-RegExp
PERL_CONFIGURE= yes
MAN3= XML::DOM.3 XML::DOM::AttDef.3 XML::DOM::AttlistDecl.3 \
XML::DOM::Attr.3 XML::DOM::CDATASection.3 \
XML::DOM::CharacterData.3 XML::DOM::Comment.3 \
XML::DOM::DOMImplementation.3 XML::DOM::Document.3 \
XML::DOM::DocumentFragment.3 XML::DOM::DocumentType.3 \
XML::DOM::Element.3 XML::DOM::ElementDecl.3 \
XML::DOM::Entity.3 XML::DOM::EntityReference.3 \
XML::DOM::NamedNodeMap.3 XML::DOM::Node.3 \
XML::DOM::NodeList.3 XML::DOM::Notation.3 \
XML::DOM::Parser.3 XML::DOM::PerlSAX.3 \
XML::DOM::ProcessingInstruction.3 XML::DOM::Text.3 \
XML::DOM::XMLDecl.3 XML::Handler::BuildDOM.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
PBASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500007
post-patch:
@${PERL} -i -pe 's/^use bytes;.*//;' ${WRKSRC}/lib/XML/DOM.pm
.endif
.include <bsd.port.post.mk>
|