summaryrefslogtreecommitdiffstats
path: root/security/pbc/Makefile
blob: 76b1424ef52e9a042a1c37c60dde17934e3f5890 (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
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=	pbc
PORTVERSION=	0.5.14
CATEGORIES=	security
MASTER_SITES=	http://crypto.stanford.edu/pbc/files/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Library of pairing-based cryptosystems

LICENSE=	LGPL3

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

USES=		bison
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

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

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e \
		's|^CFLAGS=$$|| ; \
		 s|-O3||' ${WRKSRC}/configure

.include <bsd.port.mk>
OpenPOWER on IntegriCloud