1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/security/wolfssl/Makefile
Mark Linimon a3973d3826 These ports now build on powerpc64.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-12-05 20:01:10 +00:00

43 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= wolfssl
PORTVERSION= 3.13.0
CATEGORIES= security devel
MASTER_SITES= https://www.wolfssl.com/
MAINTAINER= johans@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>