- Update to 0.4004

- Convert to new options framework
- Cleanup Makefile

Changes:	http://search.cpan.org/dist/Module-Build/Changes
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-03-29 18:57:13 +00:00
parent 1af70cac92
commit e2cd91b0c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315562
2 changed files with 7 additions and 29 deletions

View file

@ -1,12 +1,8 @@
# New ports collection makefile for: Module::Build
# Date created: 29 June 2003
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= Module-Build
PORTVERSION= 0.4003
PORTVERSION= 0.4004
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -17,6 +13,8 @@ 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
OPTIONS_DEFINE= DOCS
PORTSCOUT= skipv:0.31012
PERL_MODBUILD= yes
@ -53,24 +51,6 @@ PORTDOCS= Changes INSTALL README
.include <bsd.port.pre.mk>
#.if ${PERL_LEVEL} < 501000
#RUN_DEPENDS+= p5-Test-Harness>=3.16:${PORTSDIR}/devel/p5-Test-Harness
#MAN1= config_data.1
#PLIST_FILES= bin/config_data
#.endif
#.if ${PERL_LEVEL} < 501001
#BUILD_DEPENDS+= p5-ExtUtils-Install>=1.54:${PORTSDIR}/devel/p5-ExtUtils-Install
#RUN_DEPENDS+= p5-ExtUtils-Install>=1.54:${PORTSDIR}/devel/p5-ExtUtils-Install
#.endif
#.if ${PERL_LEVEL} < 501200
#BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0.27:${PORTSDIR}/devel/p5-ExtUtils-CBuilder \
# p5-ExtUtils-ParseXS>=2.21:${PORTSDIR}/devel/p5-ExtUtils-ParseXS
#RUN_DEPENDS+= p5-ExtUtils-CBuilder>=0.27:${PORTSDIR}/devel/p5-ExtUtils-CBuilder \
# p5-ExtUtils-ParseXS>=2.21:${PORTSDIR}/devel/p5-ExtUtils-ParseXS
#.endif
.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 \
@ -87,14 +67,12 @@ RUN_DEPENDS+= p5-CPAN-Meta>=2.110420:${PORTSDIR}/devel/p5-CPAN-Meta \
.endif
post-patch:
#.if ${PERL_LEVEL} >= 501000
@${RM} -f ${WRKSRC}/bin/config_data
@${REINPLACE_CMD} -e '/script_files/d' ${WRKSRC}/Build.PL
@${REINPLACE_CMD} -e '/^bin\/config_data/d' ${WRKSRC}/MANIFEST
#.endif
post-install:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}/
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."

View file

@ -1,2 +1,2 @@
SHA256 (Module-Build-0.4003.tar.gz) = 42831046366bba16bf0dbac2225cf2612c04009b30002381b4ce49eb9e11fdc7
SIZE (Module-Build-0.4003.tar.gz) = 307352
SHA256 (Module-Build-0.4004.tar.gz) = 5779e61442334e532c517b72ac0e51f3a8841893c4e259a2a096346e7c854c43
SIZE (Module-Build-0.4004.tar.gz) = 307445