freebsd-ports/devel/p5-DateTime-Format-Builder/Makefile
2013-02-05 10:06:04 +00:00

51 lines
1.7 KiB
Makefile

# Created by: Mathieu Arnold <m@absolight.net>
# $FreeBSD$
PORTNAME= DateTime-Format-Builder
PORTVERSION= 0.80
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Create DateTime parser classes and objects
BUILD_DEPENDS= p5-Class-Factory-Util>=1.6:${PORTSDIR}/devel/p5-Class-Factory-Util \
p5-DateTime>=0.12:${PORTSDIR}/devel/p5-DateTime \
p5-DateTime-Format-Strptime>=1.04:${PORTSDIR}/devel/p5-DateTime-Format-Strptime \
p5-Params-Validate>=0.72:${PORTSDIR}/devel/p5-Params-Validate \
p5-Task-Weaken>=0:${PORTSDIR}/devel/p5-Task-Weaken
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Devel-Cycle>=1.07:${PORTSDIR}/devel/p5-Devel-Cycle \
p5-Test-Memory-Cycle>=0:${PORTSDIR}/devel/p5-Test-Memory-Cycle
OPTIONS_DEFINE= DOCS EXAMPLES
PERL_MODBUILD= yes
MAN3= DateTime::Format::Builder.3 DateTime::Format::Builder::Parser.3 \
DateTime::Format::Builder::Parser::Dispatch.3 \
DateTime::Format::Builder::Parser::Regex.3 \
DateTime::Format::Builder::Parser::Quick.3 \
DateTime::Format::Builder::Parser::Strptime.3 \
DateTime::Format::Builder::Parser::generic.3 \
DateTime::Format::Builder::Tutorial.3
PORTDOCS= CREDITS Changes README
PORTEXAMPLES= Apache.pm Fall.pm ICal.pm MySQL.pm Simple.pm Tivoli.pm W3CDTF.pm
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}/
cd ${WRKSRC}/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/
@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
.endif
.include <bsd.port.mk>