opnsense-ports/www/p5-HTTP-MHTTP/Makefile
Franco Fichtner 69ffeb8a51 */*: sync with upstream
Taken from: HardenedBSD
2021-04-07 20:24:01 +02:00

24 lines
500 B
Makefile

# Created by: Sergey Skvortsov <skv@protey.ru>
PORTNAME= HTTP-MHTTP
PORTVERSION= 0.15
PORTREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Low level access to the HTTP protocol
USES= perl5 ssl
USE_PERL5= configure patch
CONFIGURE_ENV= GOTSSL=yes
CONFIGURE_ARGS= --default
MAKE_JOBS_UNSAFE= yes
post-patch:
@${PERL} -pi -e 's!(?<=POSSIBLE_SSL_DIRS = qw\().*(?=\);)!${OPENSSLBASE}!;' \
${WRKSRC}/Makefile.PL
.include <bsd.port.mk>