aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net-DAV-Server/Makefile
blob: d91797d0b04c4b3c856ebb89d814ffc1e65f6fac (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
38
39
40
41
42
43
# New ports collection makefile for:    p5-Net-DAV-Server
# Date created:     2006-07-19
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   Net-DAV-Server
PORTVERSION=    1.29
CATEGORIES= net perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX=  p5-

MAINTAINER= gslin@gslin.org
COMMENT=    Provide a DAV Server

RUN_DEPENDS=    ${SITE_PERL}/Class/Accessor/Fast.pm:${PORTSDIR}/devel/p5-Class-Accessor \
        ${SITE_PERL}/File/Find/Rule/Filesys/Virtual.pm:${PORTSDIR}/devel/p5-File-Find-Rule-Filesys-Virtual \
        ${SITE_PERL}/File/Slurp.pm:${PORTSDIR}/devel/p5-File-Slurp \
        ${SITE_PERL}/HTTP/Date.pm:${PORTSDIR}/devel/p5-DateTime-Format-HTTP \
        ${SITE_PERL}/HTTP/Headers.pm:${PORTSDIR}/www/p5-libwww \
        ${SITE_PERL}/HTTP/Request.pm:${PORTSDIR}/www/p5-libwww \
        ${SITE_PERL}/HTTP/Response.pm:${PORTSDIR}/www/p5-libwww \
        ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
        ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI \
        ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML

PERL_CONFIGURE= yes

MAN3=       Net::DAV::Server.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} == 500701
RUN_DEPENDS+=   ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
.endif

.if ${PERL_LEVEL} < 500701
RUN_DEPENDS+=   ${SITE_PERL}/Encode.pm:${PORTSDIR}/converters/p5-Encode
.endif

.include <bsd.port.post.mk>