blob: 072db8c072bc5e831c63f35d1602cd8d45edc211 (
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
|
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
WWW= https://metacpan.org/release/HTTP-MHTTP
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
USES= perl5 ssl
USE_PERL5= configure patch
CONFIGURE_ARGS= --default
CONFIGURE_ENV= GOTSSL=yes
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
CFLAGS+= -Wno-error=int-conversion
.endif
post-patch:
@${PERL} -pi -e 's!(?<=POSSIBLE_SSL_DIRS = qw\().*(?=\);)!${OPENSSLBASE}!;' \
${WRKSRC}/Makefile.PL
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/HTTP/MHTTP/MHTTP.so
.include <bsd.port.post.mk>
|