mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
21812668e5
Reported by: pav
49 lines
1.5 KiB
Makefile
49 lines
1.5 KiB
Makefile
# 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>
|