module directory has changed (eg. "darwin-2level" vs. "darwin-thread-multi-2level"). binary packages of perl modules need to be distinguishable between being built against threaded perl and unthreaded perl, so bump the PKGREVISION of all perl module packages and introduce BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct dependencies are registered and the binary packages are distinct. addresses PR pkg/28619 from H. Todd Fujinaka.
29 lines
666 B
Makefile
29 lines
666 B
Makefile
# $NetBSD: Makefile,v 1.4 2004/12/20 11:31:01 grant Exp $
|
|
#
|
|
|
|
DISTNAME= Module-Build-0.21
|
|
PKGNAME= p5-${DISTNAME}
|
|
SVR4_PKGNAME= p5mob
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Module/}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/Module-Build/
|
|
COMMENT= Build and install Perl modules
|
|
|
|
USE_PERL5= YES
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PERL5} Build.PL
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./Build
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./Build test
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./Build install
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|