2013-07-12 15:40:50 +02:00
|
|
|
# Created by: John Marino <marino@FreeBSD.org>
|
2013-07-01 18:36:08 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libsparkcrypto
|
|
|
|
PORTVERSION= 0.1.1
|
2016-04-30 08:44:27 +02:00
|
|
|
PORTREVISION= 4
|
2013-07-01 18:36:08 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://senier.net/libsparkcrypto/
|
|
|
|
|
2017-04-21 22:25:00 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-07-01 18:36:08 +02:00
|
|
|
COMMENT= Cryptographic library implemented in SPARK
|
|
|
|
|
2014-02-15 18:46:31 +01:00
|
|
|
LICENSE= BSD3CLAUSE
|
2013-07-01 18:36:08 +02:00
|
|
|
|
2014-07-29 21:11:51 +02:00
|
|
|
USES= ada dos2unix gmake tar:tgz
|
2015-03-16 19:35:54 +01:00
|
|
|
DOS2UNIX_FILES= Makefile build/libsparkcrypto.gpr \
|
2015-07-05 11:11:52 +02:00
|
|
|
src/shared/generic/lsc-byteswap64.ads \
|
2015-03-16 19:35:54 +01:00
|
|
|
src/shared/generic/lsc-types.ads
|
2013-07-01 18:36:08 +02:00
|
|
|
SPARKARCH:= ${ARCH:S/amd64/x86_64/:S/i386/i686/}
|
2015-03-16 19:35:54 +01:00
|
|
|
ALL_TARGET= all build
|
2013-07-01 18:36:08 +02:00
|
|
|
|
2017-02-24 22:55:52 +01:00
|
|
|
BROKEN_aarch64= fails to compile: unsupported architecture: aarch64
|
|
|
|
|
2013-07-01 18:36:08 +02:00
|
|
|
MAKE_ENV+= SPARKARCH=${SPARKARCH} \
|
|
|
|
SPARK_DIR=${WRKSRC}/src/spark \
|
|
|
|
MODE=release \
|
|
|
|
RUNTIME=native \
|
|
|
|
NO_TESTS=true \
|
2013-07-21 16:31:45 +02:00
|
|
|
NO_PROOF=true
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
DOCS_BUILD_DEPENDS= adabrowse:textproc/adabrowse
|
2015-09-03 16:09:17 +02:00
|
|
|
DOCS_MAKE_ENV_OFF= NO_APIDOC=true
|
2013-07-01 18:36:08 +02:00
|
|
|
|
|
|
|
post-patch:
|
2013-11-10 12:54:26 +01:00
|
|
|
# ports passed unwanted ARCH definition to Makefile
|
2013-07-01 18:36:08 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|ARCH|SPARKARCH|g' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|