31 lines
683 B
Makefile
31 lines
683 B
Makefile
# Created by: Mathieu Arnold <m@absolight.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= DateTime-Format-Epoch
|
|
PORTVERSION= 0.13
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Convert DateTimes to/from epoch seconds
|
|
|
|
RUN_DEPENDS= p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate \
|
|
p5-DateTime>=0.31:${PORTSDIR}/devel/p5-DateTime
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
|
|
|
PORTSCOUT= skipv:0.801
|
|
|
|
USES= perl5
|
|
USE_PERL5= modbuild
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= Changes README TODO
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|