freebsd-ports/devel/p5-ExtUtils-AutoInstall/Makefile
Erwin Lansing 434f21c658 ExtUtils::AutoInstall lets module writers to specify a more
sophisticated form of dependency information than the PREREQ_PM
option offered by ExtUtils::MakeMaker.

This module works best with the Module::Install framework,
a drop-in replacement for MakeMaker.

WWW: http://search.cpan.org/dist/ExtUtils-AutoInstall/

PR:		ports/89855
Submitted by:	Lars Balker Rasmussen <lars@balker.dk>
2005-12-02 20:01:57 +00:00

35 lines
893 B
Makefile

# New ports collection makefile for: ExtUtils-AutoInstall
# Date created: 2 December 2005
# Whom: Lars Balker Rasmussen <lars@balker.dk>
#
# $FreeBSD$
#
PORTNAME= ExtUtils-AutoInstall
PORTVERSION= 0.63
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ExtUtils
PKGNAMEPREFIX= p5-
MAINTAINER= lars@balker.dk
COMMENT= Automatic install of dependencies via CPAN
BUILD_DEPENDS= p5-ExtUtils-MakeMaker>=0:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker \
p5-version>=0.28:${PORTSDIR}/devel/p5-version
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= ExtUtils::AutoInstall.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6.0 or higer. Install lang/perl5 or lang/perl5.8 and try again.
.endif
post-extract:
@${PERL} -i.bak -ne 'print unless m,^features, .. m,^\);,' ${WRKSRC}/Makefile.PL
.include <bsd.port.post.mk>