aboutsummaryrefslogtreecommitdiff
path: root/devel/corrosion/Makefile
blob: 80f79ff538ab7c7ababb04b4830462afd02df671 (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
PORTNAME=	corrosion
DISTVERSIONPREFIX=	v
DISTVERSION=	0.5
PORTREVISION=	1
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Easy Rust and C/C++ integration
WWW=		https://corrosion-rs.github.io/corrosion/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	rustc:lang/rust
RUN_DEPENDS=	rustc:lang/rust

USES=		cmake:testing compiler:c++14-lang

USE_GITHUB=	yes
GH_ACCOUNT=	corrosion-rs

PLIST_FILES=	lib/cmake/Corrosion/CorrosionConfig.cmake \
		lib/cmake/Corrosion/CorrosionConfigVersion.cmake \
		share/cmake/Corrosion.cmake \
		share/cmake/CorrosionGenerator.cmake \
		share/cmake/FindRust.cmake

CMAKE_TESTING_ON=	CORROSION_BUILD_TESTS # 2 tests fail

NO_ARCH=	yes

.include <bsd.port.mk>