2013-05-31 14:39:57 +02:00
|
|
|
# $NetBSD: Makefile,v 1.37 2013/05/31 12:42:21 wiz Exp $
|
2002-01-30 23:16:50 +01:00
|
|
|
|
2012-07-06 14:37:33 +02:00
|
|
|
DISTNAME= XML-SAX-0.99
|
2002-01-30 23:16:50 +01:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2013-05-31 14:39:57 +02:00
|
|
|
PKGREVISION= 2
|
2002-01-30 23:16:50 +01:00
|
|
|
CATEGORIES= textproc perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-02-22 08:14:14 +01:00
|
|
|
HOMEPAGE= http://search.cpan.org/dist/XML-SAX/
|
2002-01-30 23:16:50 +01:00
|
|
|
COMMENT= Perl interface to the SAX2 XML Parser
|
2012-07-06 14:37:33 +02:00
|
|
|
LICENSE= ${PERL5_LICENSE}
|
2002-01-30 23:16:50 +01:00
|
|
|
|
2007-06-14 01:17:31 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2006-11-05 17:30:43 +01:00
|
|
|
|
2012-07-06 14:37:33 +02:00
|
|
|
CONFLICTS+= p5-XML-SAX-Base<1.07
|
2009-03-08 14:30:46 +01:00
|
|
|
|
2003-03-03 12:30:58 +01:00
|
|
|
DEPENDS+= p5-XML-NamespaceSupport>=0.03:../../textproc/p5-XML-NamespaceSupport
|
2012-07-06 14:37:33 +02:00
|
|
|
DEPENDS+= p5-XML-SAX-Base>=1.08:../../textproc/p5-XML-SAX-Base
|
2007-06-14 01:17:31 +02:00
|
|
|
# included in perl>=5.6.1
|
|
|
|
#DEPENDS+= p5-File-Temp-[0-9]*:../../devel/p5-File-Temp
|
2004-01-05 23:16:24 +01:00
|
|
|
|
2007-06-14 01:17:31 +02:00
|
|
|
MAKE_ENV= SKIP_SAX_INSTALL=yes
|
2007-09-18 23:06:14 +02:00
|
|
|
EGSUBDIR= share/examples/p5-XML-SAX
|
|
|
|
CONF_FILES= ${EGSUBDIR}/ParserDetails.ini \
|
|
|
|
${PERL5_INSTALLVENDORLIB}/XML/SAX/ParserDetails.ini
|
2002-01-30 23:16:50 +01:00
|
|
|
|
2007-06-14 01:17:31 +02:00
|
|
|
PERL5_PACKLIST= auto/XML/SAX/.packlist
|
2006-11-05 17:30:43 +01:00
|
|
|
|
2007-09-18 23:06:14 +02:00
|
|
|
INSTALLATION_DIRS+= ${EGSUBDIR}
|
2006-11-05 17:30:43 +01:00
|
|
|
|
2010-02-17 15:59:35 +01:00
|
|
|
pre-configure:
|
2012-02-02 10:38:24 +01:00
|
|
|
${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM} -f
|
2010-02-16 15:00:14 +01:00
|
|
|
|
2007-06-14 01:17:31 +02:00
|
|
|
post-install:
|
2007-09-18 23:06:14 +02:00
|
|
|
${ECHO} > ${DESTDIR:Q}${PREFIX:Q}/${EGSUBDIR}/ParserDetails.ini
|
2006-11-05 17:30:43 +01:00
|
|
|
|
2002-09-26 12:12:16 +02:00
|
|
|
.include "../../lang/perl5/module.mk"
|
2002-01-30 23:16:50 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|