aboutsummaryrefslogtreecommitdiffstats
path: root/security/libsparkcrypto/Makefile
blob: ba3093d2f7d940b3d93048838ddc91e1fc100e6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libsparkcrypto
PORTVERSION=    0.1.1
PORTREVISION=   5
CATEGORIES= security
MASTER_SITES=   http://senier.net/libsparkcrypto/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Cryptographic library implemented in SPARK

LICENSE=    BSD3CLAUSE

BROKEN=     unfetchable
DEPRECATED= Unfetchable, unmaintained
EXPIRATION_DATE=    2019-10-16

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>