5542206cba
pkgsrc. Instead, a new variable PKGREVISION is invented that can get bumped independent of DISTNAME and PKGNAME. Example #1: DISTNAME= foo-X.Y PKGREVISION= Z => PKGNAME= foo-X.YnbZ Example #2: DISTNAME= barthing-X.Y PKGNAME= bar-X.Y PKGREVISION= Z => PKGNAME= bar=X.YnbZ (!) On subsequent changes, only PKGREVISION needs to be bumped, no more risk of getting DISTNAME changed accidentally.
33 lines
845 B
Makefile
33 lines
845 B
Makefile
# $NetBSD: Makefile,v 1.7 2001/11/29 01:12:50 hubertf Exp $
|
|
#
|
|
|
|
DISTNAME= XML-Node-0.10
|
|
PKGNAME= p5-${DISTNAME}
|
|
PKGREVISION= 1
|
|
SVR4_PKGNAME= p5xno
|
|
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/
|
|
COMMENT= Node-based XML parsing: an simplified interface to XML::Parser
|
|
|
|
DEPENDS+= p5-XML-Parser-2.*:../p5-XML-Parser
|
|
|
|
USE_BUILDLINK_ONLY= YES
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/XML/Node/.packlist
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
|
|
|
|
post-install:
|
|
${INSTALL_DATA} \
|
|
${WRKSRC}/orders.xml \
|
|
${WRKSRC}/test.xml \
|
|
${WRKSRC}/foo.xml \
|
|
${WRKSRC}/README \
|
|
${PERL5_SITELIB}/XML
|
|
|
|
.include "../../lang/perl5/buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|