freebsd-ports/devel/p5-DateTime-Format-Builder/Makefile
Sunpoet Po-Chuan Hsieh 80e9e940a7 - Add LICENSE
- Add NO_ARCH
- Remove DOCS option
- Convert to new options target helper
- Sort PLIST
- Bump PORTREVISION for package change
2015-11-09 18:44:35 +00:00

38 lines
1.1 KiB
Makefile

# Created by: Mathieu Arnold <m@absolight.net>
# $FreeBSD$
PORTNAME= DateTime-Format-Builder
PORTVERSION= 0.81
PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Create DateTime parser classes and objects
LICENSE= ART20
LICENSE_FILE= ${WRKSRC}/LICENSE
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= EXAMPLES
NO_ARCH= yes
USES= perl5
USE_PERL5= configure
PORTEXAMPLES= Apache.pm Fall.pm ICal.pm MySQL.pm Simple.pm Tivoli.pm W3CDTF.pm
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>