aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTTP-MHTTP/Makefile
blob: 44be032d3703b00f2f0cc347ff8b3a0a484fc5f8 (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
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=	HTTP-MHTTP
PORTVERSION=	0.15
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Low level access to the HTTP protocol

USES=		perl5
USE_PERL5=	configure patch
USE_OPENSSL=	yes
CONFIGURE_ENV=	GOTSSL=yes
CONFIGURE_ARGS=	--default

MAN3=		HTTP::MHTTP.3

NO_STAGE=	yes
post-patch:
	@${PERL} -pi -e 's!(?<=POSSIBLE_SSL_DIRS = qw\().*(?=\);)!${OPENSSLBASE}!;' \
		${WRKSRC}/Makefile.PL

.include <bsd.port.mk>