Uploaded the distfile manually into distcache to prevent failures during fetch. Reviewed by: philip
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= wolfssl
|
|
PORTVERSION= 4.4.0
|
|
CATEGORIES= security devel
|
|
MASTER_SITES= https://www.wolfssl.com/ \
|
|
LOCAL/fox
|
|
MAINTAINER= fox@FreeBSD.org
|
|
COMMENT= Embedded SSL C-Library
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
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
|
|
|
|
USES= libtool zip
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-dependency-tracking \
|
|
--enable-dh \
|
|
--enable-dsa \
|
|
--enable-dtls \
|
|
--enable-ecc \
|
|
--enable-ipv6 \
|
|
--enable-keygen \
|
|
--enable-opensslextra \
|
|
--enable-ripemd \
|
|
--enable-sha512 \
|
|
--enable-shared \
|
|
--enable-sni \
|
|
--enable-ssh \
|
|
--enable-static \
|
|
--enable-tls13 \
|
|
--enable-tls13-draft18 \
|
|
--enable-tls13-draft22 \
|
|
--enable-tls13-draft23 \
|
|
--enable-tls13-draft26 \
|
|
--enable-tls13-draft28
|
|
TEST_TARGET= check
|
|
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>
|