freebsd-ports/textproc/p5-XML-LibXML/Makefile
Anton Berezin c21fb45c65 Update to 1.62001. Require perl from ports.
Approved by:	maintainer
2006-12-20 14:20:32 +00:00

54 lines
1.6 KiB
Makefile

# New ports collection makefile for: XML::LibXML
# Date created: 28 May 2001
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= XML-LibXML
PORTVERSION= 1.62001
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Interface to Gnome libxml2 library
CONFLICTS= p5-XML-LibXML-XPathContext-*
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/LibXML/Common.pm:${PORTSDIR}/textproc/p5-XML-LibXML-Common \
${SITE_PERL}/XML/SAX.pm:${PORTSDIR}/textproc/p5-XML-SAX
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
CONFIGURE_ENV= XMLPREFIX=${LOCALBASE}
PKGDEINSTALL= ${PKGINSTALL}
WRKSRC= ${WRKDIR}/${DISTNAME:C/00.$//}
MAN3= XML::LibXML.3 XML::LibXML::Attr.3 XML::LibXML::Boolean.3 \
XML::LibXML::CDATASection.3 XML::LibXML::Comment.3 \
XML::LibXML::DOM.3 XML::LibXML::Document.3 \
XML::LibXML::DocumentFragment.3 XML::LibXML::Dtd.3 \
XML::LibXML::Element.3 XML::LibXML::InputCallback.3 \
XML::LibXML::Literal.3 XML::LibXML::Namespace.3 \
XML::LibXML::Node.3 XML::LibXML::NodeList.3 \
XML::LibXML::Number.3 XML::LibXML::PI.3 XML::LibXML::Parser.3 \
XML::LibXML::Reader.3 XML::LibXML::RelaxNG.3 XML::LibXML::SAX.3 \
XML::LibXML::SAX::Builder.3 XML::LibXML::SAX::Generator.3 \
XML::LibXML::Schema.3 XML::LibXML::Text.3 \
XML::LibXML::XPathContext.3
post-install:
@PKG_PREFIX=${PREFIX} ${PERL} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>