1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/security/cyassl/Makefile
Pietro Cerutti 24da58df34 - Move security/yassl to security/cyassl in preparation for the import of the
real yassl package.

Approved by:	maintainer
2014-05-06 08:16:59 +00:00

36 lines
880 B
Makefile

# $FreeBSD$
PORTNAME= cyassl
PORTVERSION= 3.0.0
CATEGORIES= security devel
MASTER_SITES= http://www.yassl.com/
MAINTAINER= johans@FreeBSD.org
COMMENT= Embedded SSL C-Library
LICENSE= GPLv2
USES= zip libtool
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-dependency-tracking \
--enable-shared --enable-static \
--enable-dtls --enable-opensslextra --enable-ipv6 \
--enable-dsa --enable-ecc --enable-sni
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
# i386 assembly is broken: do not use
@${REINPLACE_CMD} -e 's/(TFM_X86)/(TFM_X86_BROKEN)/' \
${WRKSRC}/ctaocrypt/src/asm.c
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcyassl.so
.include <bsd.port.mk>