summaryrefslogtreecommitdiff
path: root/security/libecc/Makefile
blob: 527c563e35f11eadc1c706469ce70bd9c2180395 (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
# ex:ts=8
# Ports collection makefile for:	libecc
# Date created:			Oct 29, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	libecc
PORTVERSION=	0.12.1
PORTREVISION=	2
CATEGORIES=	security
MASTER_SITES=	SF

MAINTAINER=	johans@FreeBSD.org
COMMENT=	C++ Elliptic Curve Library

LIB_DEPENDS=	gmp.10:${PORTSDIR}/math/gmp

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

CONFIGURE_ENV+=	LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib" \
		CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include"

post-patch:
	@${REINPLACE_CMD} 's@endian\.h@sys/&@' ${WRKSRC}/include/libecc/bitset.h

.include <bsd.port.mk>