aboutsummaryrefslogtreecommitdiffstats
path: root/security/libecc/Makefile
blob: d654f737865fb043c4785ce83089a90ec870d9a0 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   libecc
PORTVERSION=    0.14.0
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   SF

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

LIB_DEPENDS=    libgmp.so:${PORTSDIR}/math/gmp

USES=       libtool
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

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

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

.include <bsd.port.mk>