aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Test-Fake-HTTPD/Makefile
blob: 137ed2153bdb267552b5d3fadaf94406d3ec2ccd (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
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   Test-Fake-HTTPD
PORTVERSION=    0.08
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Fake HTTP server

LICENSE=    ART10 GPLv1+
LICENSE_COMB=   dual
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS=  ${RUN_DEPENDS}
RUN_DEPENDS=    p5-HTTP-Daemon>=0:www/p5-HTTP-Daemon \
        p5-Plack>=0:www/p5-Plack \
        p5-Test-SharedFork>=0.29:devel/p5-Test-SharedFork \
        p5-Test-TCP>=0:devel/p5-Test-TCP \
        p5-URI>=0:net/p5-URI
TEST_DEPENDS=   p5-Test-Exception>=0:devel/p5-Test-Exception \
        p5-Test-TCP>=0:devel/p5-Test-TCP \
        p5-Test-UseAllModules>=0:devel/p5-Test-UseAllModules \
        p5-libwww>=0:www/p5-libwww

OPTIONS_DEFINE= SSL

NO_ARCH=    yes
USE_PERL5=  modbuildtiny
USES=       perl5

SSL_BUILD_DEPENDS=  p5-HTTP-Daemon-SSL>=0:www/p5-HTTP-Daemon-SSL
SSL_RUN_DEPENDS=    p5-HTTP-Daemon-SSL>=0:www/p5-HTTP-Daemon-SSL

.include <bsd.port.mk>