35 lines
774 B
Makefile
35 lines
774 B
Makefile
# Created by: Mathieu Arnold <m@absolight.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= DateTime-Locale
|
|
PORTVERSION= 0.45
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
#DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Localization support for DateTime
|
|
|
|
RUN_DEPENDS= p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
|
|
p5-Params-Validate>=0.91:${PORTSDIR}/devel/p5-Params-Validate
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
|
|
|
USES= perl5
|
|
USE_PERL5= modbuild
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
PORTDOCS= Changes
|
|
.endif
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|