mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
- Update to 0.40
- Add TEST_DEPENDS - Move post-install: downwards - Do not silence installation message - Cosmetic change Changes: http://search.cpan.org/dist/Module-Build/Changes
This commit is contained in:
parent
049100d6bb
commit
de1bce0491
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292485
@ -6,29 +6,22 @@
|
||||
#
|
||||
|
||||
PORTNAME= Module-Build
|
||||
PORTVERSION= 0.3800
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.4000
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
MASTER_SITE_SUBDIR= CPAN:DAGOLDEN
|
||||
PKGNAMEPREFIX= p5-
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:C/00$//}
|
||||
|
||||
MAINTAINER= perl@FreeBSD.org
|
||||
COMMENT= Build and install Perl modules
|
||||
|
||||
TEST_DEPENDS= p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \
|
||||
p5-PAR-Dist>=0.17:${PORTSDIR}/devel/p5-PAR-Dist
|
||||
|
||||
PORTSCOUT= skipv:0.31012
|
||||
|
||||
PERL_MODBUILD= yes
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= Changes INSTALL README
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||
.endif
|
||||
|
||||
MAN3= inc::latest.3 \
|
||||
Module::Build.3 \
|
||||
Module::Build::Bundling.3 \
|
||||
@ -57,6 +50,7 @@ MAN3= inc::latest.3 \
|
||||
Module::Build::Platform::os2.3 \
|
||||
Module::Build::Version.3 \
|
||||
Module::Build::YAML.3
|
||||
PORTDOCS= Changes INSTALL README
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -80,13 +74,16 @@ RUN_DEPENDS+= p5-ExtUtils-CBuilder>=0.27:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
|
||||
|
||||
.if ${PERL_LEVEL} < 501400
|
||||
BUILD_DEPENDS+= p5-CPAN-Meta>=2.110420:${PORTSDIR}/devel/p5-CPAN-Meta \
|
||||
p5-CPAN-Meta-YAML>=0.003:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
|
||||
p5-Module-Metadata>=1.000002:${PORTSDIR}/devel/p5-Module-Metadata \
|
||||
p5-Parse-CPAN-Meta>=1.44.01:${PORTSDIR}/devel/p5-Parse-CPAN-Meta \
|
||||
p5-Perl-OSType>=1.000:${PORTSDIR}/devel/p5-Perl-OSType \
|
||||
p5-Perl-OSType>=1:${PORTSDIR}/devel/p5-Perl-OSType \
|
||||
p5-version>=0.87:${PORTSDIR}/devel/p5-version
|
||||
RUN_DEPENDS+= p5-CPAN-Meta>=2.110420:${PORTSDIR}/devel/p5-CPAN-Meta \
|
||||
p5-CPAN-Meta-YAML>=0.003:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
|
||||
p5-Module-Metadata>=1.000002:${PORTSDIR}/devel/p5-Module-Metadata \
|
||||
p5-Perl-OSType>=1.000:${PORTSDIR}/devel/p5-Perl-OSType \
|
||||
p5-Parse-CPAN-Meta>=1.44.01:${PORTSDIR}/devel/p5-Parse-CPAN-Meta \
|
||||
p5-Perl-OSType>=1:${PORTSDIR}/devel/p5-Perl-OSType \
|
||||
p5-version>=0.87:${PORTSDIR}/devel/p5-version
|
||||
.endif
|
||||
|
||||
@ -97,4 +94,11 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e '/^bin\/config_data/d' ${WRKSRC}/MANIFEST
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}/
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
|
||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (Module-Build-0.3800.tar.gz) = 9bb82170deb541445a3b7e4203662668ea17b5e13f9269d4b0c021a28bed60be
|
||||
SIZE (Module-Build-0.3800.tar.gz) = 305459
|
||||
SHA256 (Module-Build-0.40.tar.gz) = 230025eafb75ae8aa513db228af150f223d6d73bda4989b7ffcc80cebff984c0
|
||||
SIZE (Module-Build-0.40.tar.gz) = 306800
|
||||
|
Loading…
Reference in New Issue
Block a user