aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-HTTP-MHTTP/Makefile
blob: a51ef775aa671a2d1290ec5534b09ab248ef017d (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
# New ports collection makefile for:    HTTP-MHTTP
# Date created:    22 January 2004
# Whom:        Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#

PORTNAME=   HTTP-MHTTP
PORTVERSION=    0.15
CATEGORIES= www perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= HTTP
PKGNAMEPREFIX=  p5-

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

PERL_CONFIGURE= yes
USE_OPENSSL=    yes
CONFIGURE_ENV=  GOTSSL=yes
CONFIGURE_ARGS= --default

MAN3=       HTTP::MHTTP.3

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

.include <bsd.port.mk>