aboutsummaryrefslogtreecommitdiffstats
path: root/security/yassl/Makefile
blob: 05bc7600f92ef6c938456c838418dad6d7726d05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $FreeBSD$

PORTNAME=   cyassl
PORTVERSION=    2.6.0
CATEGORIES= security devel
MASTER_SITES=   http://www.yassl.com/

MAINTAINER= johans@FreeBSD.org
COMMENT=    Embedded SSL C-Library

LICENSE=    GPLv2

USE_ZIP=    yes
USE_AUTOTOOLS=  libtool
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-dependency-tracking \
        --enable-shared --enable-static \
        --enable-dtls --enable-opensslextra --enable-ipv6 \
        --enable-dsa --enable-ecc
USE_LDCONFIG=   yes
PORTDOCS=   *

post-configure:
    @${REINPLACE_CMD} \
        -e 's|$${prefix}/cyassl/include|$${prefix}/include/cyassl|' \
        -e 's|$${prefix}/cyassl/lib|$${prefix}/lib/cyassl|' \
        ${WRKSRC}/Makefile
    # i386 assembly is broken: do not use
    @${REINPLACE_CMD} -e 's/(TFM_X86)/(TFM_X86_BROKEN)/' \
        ${WRKSRC}/ctaocrypt/src/asm.c

.include <bsd.port.mk>