Lines 2-19
Link Here
|
2 |
# $FreeBSD: head/security/pbc/Makefile 313828 2013-03-10 14:53:14Z wen $ |
2 |
# $FreeBSD: head/security/pbc/Makefile 313828 2013-03-10 14:53:14Z wen $ |
3 |
|
3 |
|
4 |
PORTNAME= pbc |
4 |
PORTNAME= pbc |
5 |
PORTVERSION= 0.5.13 |
5 |
PORTVERSION= 0.5.14 |
6 |
CATEGORIES= security |
6 |
CATEGORIES= security |
7 |
MASTER_SITES= http://crypto.stanford.edu/pbc/files/ |
7 |
MASTER_SITES= http://crypto.stanford.edu/pbc/files/ |
8 |
|
8 |
|
9 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
10 |
COMMENT= Library of pairing-based cryptosystems |
10 |
COMMENT= Library of pairing-based cryptosystems |
11 |
|
11 |
|
|
|
12 |
LICENSE= LGPL3 |
13 |
|
12 |
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp |
14 |
LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp |
13 |
|
15 |
|
|
|
16 |
USES= bison |
14 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
15 |
USE_GCC= 4.6+ |
|
|
16 |
USE_LDCONFIG= yes |
18 |
USE_LDCONFIG= yes |
|
|
19 |
|
20 |
CPPFLAGS+= -I${LOCALBASE}/include |
17 |
LDFLAGS+= -L${LOCALBASE}/lib |
21 |
LDFLAGS+= -L${LOCALBASE}/lib |
18 |
|
22 |
|
|
|
23 |
post-patch: |
24 |
@${REINPLACE_CMD} -e \ |
25 |
's|^CFLAGS=$$|| ; \ |
26 |
s|-O3||' ${WRKSRC}/configure |
27 |
|
19 |
.include <bsd.port.mk> |
28 |
.include <bsd.port.mk> |