mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Fix *_DEPENDS:
- Add Module::Runtime and Try::Tiny - Remove Class::Load - Remove DOCS option - Bump PORTREVISION for dependency and package change PR: 201190 Submitted by: sunpoet@
This commit is contained in:
parent
71f77a0e77
commit
b029deb842
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391220
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= DateTime-TimeZone
|
||||
PORTVERSION= 1.92
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
@ -13,28 +14,15 @@ COMMENT= Time zone object base class and factory
|
||||
LICENSE= ART10 GPLv1
|
||||
LICENSE_COMB= dual
|
||||
|
||||
RUN_DEPENDS= p5-Class-Load>0:${PORTSDIR}/devel/p5-Class-Load \
|
||||
p5-Class-Singleton>=1.03:${PORTSDIR}/devel/p5-Class-Singleton \
|
||||
BUILD_DEPENDS= p5-Class-Singleton>=1.03:${PORTSDIR}/devel/p5-Class-Singleton \
|
||||
p5-List-AllUtils>0:${PORTSDIR}/devel/p5-List-AllUtils \
|
||||
p5-Params-Validate>=0.72:${PORTSDIR}/devel/p5-Params-Validate
|
||||
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
||||
p5-Module-Runtime>=0:${PORTSDIR}/devel/p5-Module-Runtime \
|
||||
p5-Params-Validate>=0.72:${PORTSDIR}/devel/p5-Params-Validate \
|
||||
p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
TEST_DEPENDS= p5-Test-Output>0:${PORTSDIR}/devel/p5-Test-Output
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
PORTDOCS= Changes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
@${ECHO_MSG} "===> Documentation installed in ${STAGEDIR}${DOCSDIR}."
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user