2018-01-08 18:11:27 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libdecaf
|
|
|
|
PORTVERSION= 0.9.4
|
2018-01-10 08:39:30 +01:00
|
|
|
PORTREVISION= 1
|
2018-01-08 18:11:27 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= SF/ed448goldilocks/
|
|
|
|
|
|
|
|
MAINTAINER= krion@FreeBSD.org
|
|
|
|
COMMENT= Implementation of elliptic curve cryptography
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
|
2018-01-10 08:39:30 +01:00
|
|
|
ONLY_FOR_ARCHS= amd64
|
|
|
|
|
2018-01-08 18:11:27 +01:00
|
|
|
USES= gmake python:2.7 tar:tgz
|
|
|
|
USE_LDCONFIG= yes
|
2018-01-10 08:39:30 +01:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2018-01-08 18:11:27 +01:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|PYTHON ?= python|PYTHON ?= ${PYTHON_CMD}|g' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/build/bin/* ${STAGEDIR}${PREFIX}/bin/
|
2018-01-10 08:55:18 +01:00
|
|
|
cd ${WRKSRC}/src/GENERATED/include && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/
|
2018-01-08 18:11:27 +01:00
|
|
|
${INSTALL_LIB} ${WRKSRC}/build/lib/* ${STAGEDIR}${PREFIX}/lib/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|