pkgsrc/textproc/p5-XML-Atom/Makefile

33 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.20 2012/10/25 06:56:33 asau Exp $
DISTNAME= XML-Atom-0.41
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
SVR4_PKGNAME= p5xat
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
MAINTAINER= kleink@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/XML-Atom/
COMMENT= Atom feed and API implementation
LICENSE= ${PERL5_LICENSE}
Update p5-XML-Atom to 0.23, mostly as provided by Martin Wilke in PR pkg/34420. Revision history for XML::Atom: 0.23 2006.08.27 * Fixed the method to get xml:lang and xml:base due to the XML::LibXML 1.60 change which invalidated it. 0.22 2006.07.24 * Refactored internal element accessors by eating the new dog food mk_elem_accessors and mk_object_list_accessor. * Added support of Atom 1.0 <category> parse and generation * Added $thing->links and $thing->categories as a moniker method that returns an array reference in a scalar context * Fixed a bug in $content->body() where it accidentally thinks the content is not a valid Unicode string even if it is, if you call eval {} in elsewhere in the code and $@ is left set. (Thanks to Chris Dent for the patch) 0.21 2006.07.13 * propagate $entry's version when we create content element off of entry using $entry->content("foo") syntax. (Thanks to Simon Wistow for spotting this bug) 0.20 2006.07.12 * Lots of refactoring, which simplifies much of the code in the various construct modules (Person, Link, etc), and which should also make it much more straightforward to add extension classes in the future. * Added global $XML::Atom::ForceUnicode flag to return everything as Unicode flagged (Suggested by many people) * Added global $XML::Atom::DefaultVersion flag to set default version number for generated Atom feed. Defaults to 0.3 (for backward compatibility) * Added support for atom:content @type in Atom 1.0 feeds (Suggested by many people, especially Chris Dent and Andy Lester from Socialtext) 0.19 2006.03.19 * Fix 0.18 bug where renaming stuff was totally broken. 0.18 2006.03.16 * Support Atom 0.3 -> 1.0 renaming bits (issued -> published, modified -> updated, tagline -> subtitle) * $atom->content->body doesn't return Unicode flagged variable anymore, even if it's text/ data. Now it just returns UTF-8 bytes. (Thanks to Garth Webb)
2006-09-03 18:27:12 +02:00
DEPENDS+= p5-Class-Data-Inheritable-[0-9]*:../../devel/p5-Class-Data-Inheritable
DEPENDS+= p5-XML-LibXML>=1.64:../../textproc/p5-XML-LibXML
DEPENDS+= p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64
DEPENDS+= p5-XML-XPath-[0-9]*:../../textproc/p5-XML-XPath
# Client/Server for Atom API
DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
DEPENDS+= p5-LWP-Authen-Wsse-[0-9]*:../../www/p5-LWP-Authen-Wsse
DEPENDS+= p5-Digest-SHA1-[0-9]*:../../security/p5-Digest-SHA1
DEPENDS+= p5-DateTime-[0-9]*:../../time/p5-DateTime
# Feed and API Auto-discovery
DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
PERL5_PACKLIST= auto/XML/Atom/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"