freebsd-ports/security/wolfssl/Makefile

41 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= wolfssl
PORTVERSION= 3.13.0
CATEGORIES= security devel
MASTER_SITES= http://www.wolfssl.com/
MAINTAINER= johans@FreeBSD.org
COMMENT= Embedded SSL C-Library
LICENSE= GPLv2
BUILD_DEPENDS= bash:shells/bash
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
BROKEN_powerpc64= fails to package: pkg-static: Unable to access file libwolfssl.so.3: No such file or directory
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= *
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>