pkgsrc/textproc/p5-XML-SAX/Makefile
heinz bfcba15fc1 Improve handling of dynamically changed parser registry file. Instead of
including ParserDetails.ini statically in PLIST we put it in an example
directory (can you call an empty file an example? :-) and let
CONF_FILES take care of copying it to the correct place.
This way "pkg_admin check" will not report an incorrect checksum.
2007-09-18 21:06:14 +00:00

33 lines
955 B
Makefile

# $NetBSD: Makefile,v 1.21 2007/09/18 21:06:14 heinz Exp $
DISTNAME= XML-SAX-0.16
PKGNAME= p5-${DISTNAME}
PKGREVISION= 2
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/XML-SAX/
COMMENT= Perl interface to the SAX2 XML Parser
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
DEPENDS+= p5-XML-NamespaceSupport>=0.03:../../textproc/p5-XML-NamespaceSupport
# included in perl>=5.6.1
#DEPENDS+= p5-File-Temp-[0-9]*:../../devel/p5-File-Temp
MAKE_ENV= SKIP_SAX_INSTALL=yes
EGSUBDIR= share/examples/p5-XML-SAX
CONF_FILES= ${EGSUBDIR}/ParserDetails.ini \
${PERL5_INSTALLVENDORLIB}/XML/SAX/ParserDetails.ini
PERL5_PACKLIST= auto/XML/SAX/.packlist
INSTALLATION_DIRS+= ${EGSUBDIR}
post-install:
${ECHO} > ${DESTDIR:Q}${PREFIX:Q}/${EGSUBDIR}/ParserDetails.ini
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"