pkgsrc/devel/cbindgen/Makefile
ryoon 983fe5cf5d cbindgen: Update to 0.19.0
Changelog:
    Simplify types in generics (#663)
    Use --profile=check for macro expansion (#671)
    Use exported name to prefix enum variants (#672)
    Fix path attribute handling in inline submodules (#679)
    Fix a stack overflow with some recursive typedefs (#680)
2021-04-26 14:34:41 +00:00

21 lines
494 B
Makefile

# $NetBSD: Makefile,v 1.27 2021/04/26 14:34:41 ryoon Exp $
DISTNAME= cbindgen-0.19.0
CATEGORIES= devel
EXTRACT_SUFX= .crate
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://github.com/eqrion/cbindgen/
COMMENT= Generating C bindings from Rust code
LICENSE= mpl-2.0
.include "cargo-depends.mk"
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/cbindgen ${DESTDIR}${PREFIX}/bin
RUST_RUNTIME= yes
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"