summaryrefslogtreecommitdiff
path: root/net-p2p/parity-ethereum/Makefile
blob: bf68a1919e125fcc1aadfd7e6206b9b27b8bcf90 (plain)
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
# $FreeBSD$

PORTNAME=	parity-ethereum
DISTVERSIONPREFIX=	v
DISTVERSION=	2.7.2
PORTREVISION=	2
CATEGORIES=	net-p2p

MAINTAINER=	ale@FreeBSD.org
COMMENT=	Fast and advanced Ethereum client

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_i386=		fails to build
BROKEN_FreeBSD_11=	fails to build

BUILD_DEPENDS=	${LOCALBASE}/bin/llvm-config90:devel/llvm90

USES=		cargo

USE_GITHUB=	yes
GH_ACCOUNT=	paritytech

PLIST_FILES=	bin/parity

CARGO_FEATURES=	final
CARGO_TEST=	yes

MAKE_ENV+=	LLVM_CONFIG_PATH="${LOCALBASE}/bin/llvm-config90"

.include "${.CURDIR}/Makefile.crates"

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/parity

.include <bsd.port.mk>