summaryrefslogtreecommitdiff
path: root/devel/rust-cbindgen/Makefile
blob: 0c3767fe92ed8b0be93ca85707964a3b2a856cce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
PORTNAME=	cbindgen
DISTVERSION=	0.24.3
PORTREVISION=	9
CATEGORIES=	devel
MASTER_SITES=	CRATESIO
PKGNAMEPREFIX=	rust-
# XXX Teach USES=cargo to have proper default
DISTFILES=	${CARGO_DIST_SUBDIR}/${DISTNAME}${CARGO_CRATE_EXT}

MAINTAINER=	gecko@FreeBSD.org
COMMENT=	Generate C bindings from Rust code
WWW=		https://github.com/eqrion/cbindgen

LICENSE=	MPL20

RUN_DEPENDS=	cargo:lang/${RUST_DEFAULT}

USES=		cargo
PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>