[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / p5-XML-Sablotron

File: [cvs.NetBSD.org] / pkgsrc / textproc / p5-XML-Sablotron / Attic / Makefile (download)

Revision 1.19, Thu May 29 23:37:47 2014 UTC (4 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.18: +2 -2 lines

Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.

# $NetBSD: Makefile,v 1.19 2014/05/29 23:37:47 wiz Exp $

DISTNAME=	XML-Sablotron-1.01
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	4
SVR4_PKGNAME=	p5xsb
CATEGORIES=	textproc perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=XML/}

MAINTAINER=	adam@migus.org
HOMEPAGE=	http://www.gingerall.com/charlie/ga/xml/p_sab.xml
COMMENT=	Perl interface to the Sablotron XSLT processor
LICENSE=	mpl-1.1 OR gnu-gpl-v2

DEPENDS+=	p5-XML-DOM>=1.25:../../textproc/p5-XML-DOM
DEPENDS+=	p5-XML-Parser>=2.23:../../textproc/p5-XML-Parser

EXPATLIBPATH=	${BUILDLINK_PREFIX.expat}/lib
EXPATINCPATH=	${BUILDLINK_PREFIX.expat}/include
SABLOTLIBPATH=	${BUILDLINK_PREFIX.sablotron}/lib
SABLOTINCPATH=	${BUILDLINK_PREFIX.sablotron}/include

PERL5_PACKLIST=		auto/XML/Sablotron/.packlist

.include "../../textproc/expat/buildlink3.mk"
.include "../../textproc/sablotron/buildlink3.mk"
.include "../../lang/perl5/module.mk"

post-patch:
	${MV} ${WRKSRC:Q}/Makefile.PL ${WRKSRC:Q}/Makefile.PL.orig
	${SED} \
	-e 's|^\(my \$$expat_libpath = '\''\)\('\'';\)$$|\1${EXPATLIBPATH}\2|' \
	-e 's|^\(my \$$expat_incpath = '\''\)\('\'';\)$$|\1${EXPATINCPATH}\2|' \
	-e 's|^\(my \$$sablot_libpath = '\''\)\('\'';\)$$|\1${SABLOTLIBPATH}\2|' \
	-e 's|^\(my \$$sablot_incpath = '\''\)\('\'';\)$$|\1${SABLOTINCPATH}\2|' \
	${WRKSRC:Q}/Makefile.PL.orig > ${WRKSRC:Q}/Makefile.PL

.include "../../mk/bsd.pkg.mk"