1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/security/libsparkcrypto/Makefile
Mark Linimon eae8bbbfc9 Mark a few leaf ports broken on aarch64.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2017-02-24 21:55:52 +00:00

42 lines
1009 B
Makefile

# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$
PORTNAME= libsparkcrypto
PORTVERSION= 0.1.1
PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= http://senier.net/libsparkcrypto/
MAINTAINER= freebsd.contact@marino.st
COMMENT= Cryptographic library implemented in SPARK
LICENSE= BSD3CLAUSE
USES= ada dos2unix gmake tar:tgz
DOS2UNIX_FILES= Makefile build/libsparkcrypto.gpr \
src/shared/generic/lsc-byteswap64.ads \
src/shared/generic/lsc-types.ads
SPARKARCH:= ${ARCH:S/amd64/x86_64/:S/i386/i686/}
ALL_TARGET= all build
BROKEN_aarch64= fails to compile: unsupported architecture: aarch64
MAKE_ENV+= SPARKARCH=${SPARKARCH} \
SPARK_DIR=${WRKSRC}/src/spark \
MODE=release \
RUNTIME=native \
NO_TESTS=true \
NO_PROOF=true
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= adabrowse:textproc/adabrowse
DOCS_MAKE_ENV_OFF= NO_APIDOC=true
post-patch:
# ports passed unwanted ARCH definition to Makefile
@${REINPLACE_CMD} -e 's|ARCH|SPARKARCH|g' \
${WRKSRC}/Makefile
.include <bsd.port.mk>