summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-DOM/Makefile
blob: 2ebcc5cd3f2f1cd5e9e7a21a85c22043a206e851 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:	XML::DOM
# Date created:		7 Nov 1999
# Whom:			Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	XML-DOM
PORTVERSION=	1.44
CATEGORIES=	textproc perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	XML
PKGNAMEPREFIX=	p5-

MAINTAINER=	kuriyama@FreeBSD.org
COMMENT=	Perl module for building DOM Level 1 compliant document structures

RUN_DEPENDS=	${PBASE}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \
		${PBASE}/XML/Parser/PerlSAX.pm:${PORTSDIR}/textproc/p5-libxml \
		${PBASE}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
		${PBASE}/XML/RegExp.pm:${PORTSDIR}/textproc/p5-XML-RegExp
BUILD_DEPENDS=	${RUN_DEPENDS}

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

PBASE=		${SITE_PERL}

.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>