mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
Changes: https://github.com/rust-lang/rust-bindgen/releases/tag/v0.71.0 Changes: https://github.com/rust-lang/rust-bindgen/releases/tag/v0.71.1 Reported by: GitHub (watch releases)
24 lines
658 B
Makefile
24 lines
658 B
Makefile
PORTNAME= bindgen-cli
|
|
DISTVERSION= 0.71.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= CRATESIO
|
|
PKGNAMEPREFIX= rust-
|
|
# XXX Teach USES=cargo to have proper default
|
|
DISTFILES= ${CARGO_DIST_SUBDIR}/${DISTNAME}${CARGO_CRATE_EXT}
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
COMMENT= Generate Rust bindings from C (and some C++) code
|
|
WWW= https://github.com/rust-lang/rust-bindgen
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cargo llvm:run,noexport
|
|
PLIST_FILES= bin/${PORTNAME:S/-cli//}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,"llvm-config,"${LLVM_CONFIG},' \
|
|
${WRKSRC_crate_clang-sys}/build/common.rs \
|
|
${WRKSRC_crate_clang-sys}/src/support.rs
|
|
|
|
.include <bsd.port.mk>
|