summaryrefslogtreecommitdiff
path: root/security/yassl/Makefile
blob: eceb40b2fa52e3b91adc4d095dc50fe00dc259f4 (plain)
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
33
34
35
36
37
38
39
40
41
42
# New ports collection makefile for:    cyassl
# Date created:         10 Dec 2009
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

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

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	A embedded SSL C-Library

LICENSE=	GPLv2

USE_ZIP=	yes
USE_AUTOTOOLS=	libtool
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-dependency-tracking
CONFIGURE_ARGS+=	--enable-shared --enable-static
CONFIGURE_ARGS+=	--enable-dtls --enable-opensslExtra --enable-ipv6
CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/${PORTNAME} --includedir=${PREFIX}/include/${PORTNAME}
USE_LDCONFIG=	${PREFIX}/lib/${PORTNAME}
PORTDOCS=	AUTHORS ChangeLog NEWS README

post-configure:
	${REINPLACE_CMD} \
		-e 's|$${prefix}/cyassl/include|$${prefix}/include/cyassl|' \
		-e 's|$${prefix}/cyassl/lib|$${prefix}/lib/cyassl|' \
		${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_MAN} ${WRKSRC}/${i} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>