mirror of https://git.FreeBSD.org/ports.git
36 lines
798 B
Makefile
36 lines
798 B
Makefile
PORTNAME= rustls-ffi
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.14.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= brnrd@FreeBSD.org
|
|
COMMENT= FFI bindings for the rustls TLS library
|
|
WWW= https://github.com/rustls/rustls-ffi
|
|
|
|
LICENSE= APACHE20 ISCL MIT
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
|
|
LICENSE_FILE_ISCL= ${WRKSRC}/LICENSE-ISC
|
|
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
|
|
|
|
BUILD_DEPENDS= cargo-cbuild:devel/cargo-c \
|
|
bindgen:devel/rust-bindgen-cli
|
|
|
|
USES= cargo
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= rustls
|
|
|
|
do-build:
|
|
@${CARGO_CARGO_RUN} cbuild --verbose --verbose ${CARGO_BUILD_ARGS}
|
|
|
|
do-install:
|
|
@${CARGO_CARGO_RUN} cinstall --verbose --verbose \
|
|
--destdir "${STAGEDIR}" \
|
|
--prefix "${PREFIX}" \
|
|
${CARGO_INSTALL_ARGS}
|
|
|
|
.include <bsd.port.mk>
|