aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-DateTime-Set/Makefile
blob: 2b2dc287c7c2605c0966347388044a0074b33dc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    p5-DateTime-Set
# Date created:    26 june 2003
# Whom:        Mathieu Arnold <m@absolight.net>
#
# $FreeBSD$
#

PORTNAME=   DateTime-Set
DISTVERSION=    0.20
CATEGORIES= devel perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DateTime DateTime/FGLOCK
PKGNAMEPREFIX=  p5-
#DISTNAME=  ${PORTNAME}-${PORTVERSION:C/\.(..)$/\1/}

MAINTAINER= mat@FreeBSD.org
COMMENT=    Datetime sets and set math

BUILD_DEPENDS=  ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
        ${SITE_PERL}/Set/Infinite.pm:${PORTSDIR}/devel/p5-Set-Infinite
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_MODBUILD=  yes

MAN3=       DateTime::Set.3 DateTime::Span.3 \
        DateTime::SpanSet.3 Set::Infinite::_recurrence.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.mk>