freebsd-ports/textproc/p5-XML-Atom/Makefile
Cheng-Lung Sung 46b52e54fb - update to 0.11
- from Changes:
    - Remove the default: namespace when converting to XML using as_xml
      (the earlier fix only fixed it when getting the contents of an entry
      using $entry->content).
    - UTF-8 data is no longer base64-encoded in XML::Atom::Content.
    - Added XML::Atom::Entry::getlist($ns, $element) to retrieve the values
      of an element that may appear multiple times in the entry (like
      dc:subject).
    - Added ability to set namespaced attributes in an XML::Atom::Link
      object.
    - XML::Atom::Entry::add_link($link) no longer clones $link if it's
      a XML::Atom::Link object.
2005-02-25 03:00:12 +00:00

47 lines
1.4 KiB
Makefile

# New ports collection makefile for: p5-XML-Atom
# Date created: Dec 27 2003
# Whom: Cheng-Lung Sung <clsung@dragon2.net>
#
# $FreeBSD$
#
PORTNAME= XML-Atom
PORTVERSION= 0.11
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= XML
PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= Perl5 modules for Atom feed and API implementation
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
${SITE_PERL}/${PERL_ARCH}/XML/LibXSLT.pm:${PORTSDIR}/textproc/p5-XML-LibXSLT \
${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/LWP/Authen/Wsse.pm:${PORTSDIR}/www/p5-LWP-Authen-Wsse \
${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_MODBUILD= yes
MAN3= XML::Atom.3 \
XML::Atom::Client.3 \
XML::Atom::Entry.3 \
XML::Atom::Feed.3 \
XML::Atom::Person.3 \
XML::Atom::Server.3 \
XML::Atom::Util.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500805
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
.endif
.if ${PERL_LEVEL} < 500601
IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
.endif
.include <bsd.port.post.mk>