opnsense-ports/security/libecc/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

25 lines
502 B
Makefile

# 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>