1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/devel/p5-Module-Build/Makefile
Mathieu Arnold e603a10bea Reword the comment here so that updating the build depends version is not
forced here if it is not needed.

With hat:	perl@
Sponsored by:	Absolight
2014-07-28 16:08:00 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
#
# If you have compelling evidence that some ports need at least this version of
# p5-Module-Build to build, be sure to update the BUILD_DEPENDS version in
# Mk/Uses/perl5.mk.
PORTNAME= Module-Build
PORTVERSION= 0.4206
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Build and install Perl modules
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
TEST_DEPENDS= p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \
p5-PAR-Dist>=0.17:${PORTSDIR}/devel/p5-PAR-Dist
OPTIONS_DEFINE= DOCS
PORTSCOUT= skipv:0.31011,0.31012
USES= perl5
USE_PERL5= modbuild
PORTDOCS= Changes INSTALL README
post-patch:
@${RM} -f ${WRKSRC}/bin/config_data
@${REINPLACE_CMD} -e '/script_files/d' ${WRKSRC}/Build.PL
@${REINPLACE_CMD} -e '/^bin\/config_data/d' ${WRKSRC}/MANIFEST
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.include <bsd.port.mk>