1189d2b4b8
- Respect PORTEXAMPLES - Use PORTEXAMPLES macro - Do not silence installation message
52 lines
1.7 KiB
Makefile
52 lines
1.7 KiB
Makefile
# New ports collection makefile for: p5-DateTime-Format-Builder
|
|
# Date created: 2 july 2003
|
|
# Whom: 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
|
|
|
|
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
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}/
|
|
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
|
|
${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}/
|
|
cd ${WRKSRC}/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/
|
|
${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|