1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/devel/p5-ExtUtils-MakeMaker/Makefile
Mathieu Arnold 61de712f46 Remove all the bootstrap files (.bs) from the plists.
Starting with perl 5.20, they're not installed any more if empty,
and on FreeBSD, they're (always ?) empty.

PR:		190681
Submitted by:	mat
Exp-Run by:	antoine
Sponsored by:	Absolight
2014-06-10 12:14:12 +00:00

37 lines
961 B
Makefile

# Created by: Michael Johnson <ahze@ahze.net>
# $FreeBSD$
PORTNAME= ExtUtils-MakeMaker
PORTVERSION= 6.98
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Designed to write a Makefile for an extension module
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501600
BUILD_DEPENDS+= p5-CPAN-Meta>=2.113640:${PORTSDIR}/devel/p5-CPAN-Meta
RUN_DEPENDS+= p5-CPAN-Meta>=2.113640:${PORTSDIR}/devel/p5-CPAN-Meta
.endif
.if ${PERL_LEVEL} < 501800
BUILD_DEPENDS+= p5-CPAN-Meta-Requirements>=2.121:${PORTSDIR}/devel/p5-CPAN-Meta-Requirements
RUN_DEPENDS+= p5-CPAN-Meta-Requirements>=2.121:${PORTSDIR}/devel/p5-CPAN-Meta-Requirements
.endif
post-patch:
@${REINPLACE_CMD} -e '/EXE_FILES/d; /my::bundles/d' ${WRKSRC}/Makefile.PL
@${REINPLACE_CMD} -e '/^bundled\//d' ${WRKSRC}/MANIFEST
@${RM} -fr ${WRKSRC}/bundled/
.include <bsd.port.post.mk>