mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
f14f0b6d48
- Use new LIB_DEPENDS syntax - Switch to USES=libtool, drop .la files
31 lines
593 B
Makefile
31 lines
593 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pbc
|
|
PORTVERSION= 0.5.14
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://crypto.stanford.edu/pbc/files/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Library of pairing-based cryptosystems
|
|
|
|
LICENSE= LGPL3
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
|
|
|
|
USES= bison libtool
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|^CFLAGS=$$|| ; \
|
|
s|-O3||' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|