openbsd-ports/security/rust-openssl-tests/Makefile

37 lines
862 B
Makefile

COMMENT = source of the rust-openssl crate for regression testing
# Follows HEAD
VERSION = 20230122
DISTNAME = rust-openssl-tests-${VERSION}
GH_ACCOUNT = sfackler
GH_PROJECT = rust-openssl
GH_COMMIT = 78c241f2716320f509f284261ce04812c3751b4f
CATEGORIES = security devel
MAINTAINER = Theo Buehler <tb@openbsd.org>
# Various, mostly MIT/Apache2, see crates.inc for details
PERMIT_PACKAGE = Yes
# Must be different from '.orig': .cargo-checksum.json contains Cargo.toml.orig
PATCHORIG = .patch.orig
MODULES = devel/cargo
NO_BUILD = Yes
NO_TEST = Yes
OPENSSL_TESTS_DIR = ${PREFIX}/share/rust-openssl-tests
do-install:
${INSTALL_DATA_DIR} ${OPENSSL_TESTS_DIR}
cd ${WRKSRC} && \
pax -rw -s '/^.*${PATCHORIG}$$//' -s '/.*\.cargo\.ok//' \
-s '/.*\.cargo_vcs_info\.json//' . ${OPENSSL_TESTS_DIR}
.include "crates.inc"
.include <bsd.port.mk>