summaryrefslogtreecommitdiff
path: root/security/wolfssl/Makefile
blob: cfa24382674453046bf602d4daf1b7b644b68d3e (plain)
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
41
42
# $FreeBSD$

PORTNAME=	wolfssl
PORTVERSION=	3.13.0
CATEGORIES=	security devel
MASTER_SITES=	https://www.wolfssl.com/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Embedded SSL C-Library

LICENSE=	GPLv2

BROKEN_mips=		fails to package: pkg-static: Unable to access file libwolfssl.so.3: No such file or directory
BROKEN_mips64=		fails to package: pkg-static: Unable to access file libwolfssl.so.3: No such file or directory

BUILD_DEPENDS=	bash:shells/bash

USES=		libtool zip
GNU_CONFIGURE=	yes
CONFIGURE_SHELL=bash
CONFIGURE_ARGS=	--disable-dependency-tracking \
		--enable-shared --enable-static \
		--enable-dtls --enable-opensslextra --enable-ipv6 \
		--enable-dsa --enable-dh --enable-ecc --enable-sni \
		--enable-ripemd --enable-sha512 --enable-opensslcoexist

USE_LDCONFIG=	yes
PORTDOCS=	*

OPTIONS_DEFINE=	DOCS

post-configure:
	@${REINPLACE_CMD} \
		-e 's|$${prefix}/cyassl/include|$${prefix}/include/cyassl|' \
		-e 's|$${prefix}/cyassl/lib|$${prefix}/lib/cyassl|' \
		-e '/^pkgconfigdir/s|(libdir)|&data|' \
		${WRKSRC}/Makefile

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libwolfssl.so

.include <bsd.port.mk>