1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/security/pbc/Makefile
Dmitry Marakasov f14f0b6d48 - Add LICENSE_FILE
- Use new LIB_DEPENDS syntax
- Switch to USES=libtool, drop .la files
2014-07-01 01:15:38 +00:00

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>