1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/devel/p5-DateTime-Format-Epoch/Makefile
Mathieu Arnold 4194fb822a Update to 0.10
PR:		98246
Submitted by:	aaron
2006-06-14 13:32:25 +00:00

58 lines
1.6 KiB
Makefile

# New ports collection makefile for: p5-DateTime-Format-Epoch
# Date created: 2 july 2003
# Whom: Mathieu Arnold <m@absolight.net>
#
# $FreeBSD$
#
PORTNAME= DateTime-Format-Epoch
PORTVERSION= 0.10
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DateTime
PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
COMMENT= Convert DateTimes to/from epoch seconds
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
${SITE_PERL}/Math/BigInt.pm:${PORTSDIR}/math/p5-Math-BigInt
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= DateTime::Format::Epoch.3 \
DateTime::Format::Epoch::ActiveDirectory.3 \
DateTime::Format::Epoch::DotNet.3 \
DateTime::Format::Epoch::JD.3 \
DateTime::Format::Epoch::Lilian.3 \
DateTime::Format::Epoch::MJD.3 \
DateTime::Format::Epoch::MacOS.3 \
DateTime::Format::Epoch::RJD.3 \
DateTime::Format::Epoch::RataDie.3 \
DateTime::Format::Epoch::TAI64.3 \
DateTime::Format::Epoch::TJD.3 \
DateTime::Format::Epoch::Unix.3
.if !defined(NOPORTDOCS)
PORTDOCS= Changes README TODO
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif
.if ${PERL_LEVEL} < 500600
IGNORE= requires at least Perl 5.6 due to dependencies. Please install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>