29db65d457
If you are only interested in processing certain nodes in an XML file, this module can help you simplify your Perl scripts significantly. The XML::Node module allows you to register callback functions or variables for any XML node. If you register a call back function, it will be called when the node of the type you specified are encountered. If you register a variable, the content of a XML node will be appended to that variable automatically.
21 lines
541 B
Makefile
21 lines
541 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2000/12/28 12:39:39 hubertf Exp $
|
|
#
|
|
|
|
DISTNAME= XML-Node-0.10
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= textproc perl5
|
|
MASTER_SITES= http://belmont-shores.ics.uci.edu/pub/ \
|
|
${MASTER_SITE_PERL_CPAN:=XML/}
|
|
|
|
MAINTAINER= hubertf@netbsd.org
|
|
HOMEPAGE= http://belmont-shores.ics.uci.edu/XML::Node/
|
|
|
|
DEPENDS+= XML-Parser-2.*:../p5-XML-Parser
|
|
|
|
USE_PERL5= yes
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/XML/Node/.packlist
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|