-
Notifications
You must be signed in to change notification settings - Fork 724
/
Makefile
40 lines (30 loc) · 922 Bytes
/
Makefile
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
# Created by: Frederic Culot <culot@FreeBSD.org>
PORTNAME= HTTP-Message
PORTVERSION= 6.33
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Representation of HTTP style messages
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Clone>=0:devel/p5-Clone \
p5-Encode-Locale>=1:converters/p5-Encode-Locale \
p5-HTTP-Date>=6:www/p5-HTTP-Date \
p5-IO-HTML>=0:devel/p5-IO-HTML \
p5-LWP-MediaTypes>=6:www/p5-LWP-MediaTypes \
p5-URI>=1.10:net/p5-URI
TEST_DEPENDS= p5-Try-Tiny>=0:lang/p5-Try-Tiny
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 503000
BUILD_DEPENDS+= p5-Encode>=3.01:converters/p5-Encode
RUN_DEPENDS+= p5-Encode>=3.01:converters/p5-Encode
.endif
post-patch:
@${RM} ${WRKSRC}/lib/HTTP/Headers.pm.orig
.include <bsd.port.post.mk>