# New ports collection makefile for: XML::DOM # Date created: 7 Nov 1999 # Whom: Jun Kuriyama # # $FreeBSD$ # PORTNAME= XML-DOM PORTVERSION= 1.39 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}/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 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} PBASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} .include .if ${OSVERSION} < 500007 post-patch: @${PERL} -i -pe 's/^use bytes;.*//;' ${WRKSRC}/lib/XML/DOM.pm .endif .include