1 |
# $MidnightBSD$ |
2 |
# $FreeBSD: head/security/wolfssl/Makefile 385058 2015-04-30 19:41:38Z johans $ |
3 |
|
4 |
PORTNAME= wolfssl |
5 |
PORTVERSION= 3.13.0 |
6 |
CATEGORIES= security devel |
7 |
MASTER_SITES= http://www.wolfssl.com/ |
8 |
|
9 |
MAINTAINER= ports@MidnightBSD.org |
10 |
COMMENT= Embedded SSL C-Library |
11 |
|
12 |
LICENSE= gpl2 |
13 |
|
14 |
BUILD_DEPENDS= bash:shells/bash |
15 |
|
16 |
BROKEN_mips= fails to package: pkg-static: Unable to access file libwolfssl.so.3: No such file or directory |
17 |
BROKEN_mips64= fails to package: pkg-static: Unable to access file libwolfssl.so.3: No such file or directory |
18 |
BROKEN_powerpc64= fails to package: pkg-static: Unable to access file libwolfssl.so.3: No such file or directory |
19 |
|
20 |
USES= libtool zip |
21 |
GNU_CONFIGURE= yes |
22 |
CONFIGURE_SHELL=bash |
23 |
CONFIGURE_ARGS= --disable-dependency-tracking \ |
24 |
--enable-shared --enable-static \ |
25 |
--enable-dtls --enable-opensslextra --enable-ipv6 \ |
26 |
--enable-dsa --enable-dh --enable-ecc --enable-sni \ |
27 |
--enable-ripemd --enable-sha512 --enable-opensslcoexist |
28 |
|
29 |
USE_LDCONFIG= yes |
30 |
PORTDOCS= * |
31 |
|
32 |
post-configure: |
33 |
@${REINPLACE_CMD} \ |
34 |
-e 's|$${prefix}/cyassl/include|$${prefix}/include/cyassl|' \ |
35 |
-e 's|$${prefix}/cyassl/lib|$${prefix}/lib/cyassl|' \ |
36 |
-e '/^pkgconfigdir/s|(libdir)|&data|' \ |
37 |
${WRKSRC}/Makefile |
38 |
|
39 |
post-install: |
40 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libwolfssl.so |
41 |
|
42 |
.include <bsd.port.mk> |