ports/security/rust-ring/Makefile

33 lines
698 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
# If this port is changed, its consumers need to be bumped (static linking)
COMMENT = ring crate source patched for x-only assembly
VERSION = 0.16.20
DISTNAME = ring-${VERSION}
PKGNAME = rust-${DISTNAME}
2023-09-08 05:21:37 +00:00
REVISION = 8
2023-08-16 22:26:55 +00:00
SUBST_VARS = VERSION
2023-09-28 02:05:49 +00:00
SITES = https://crates.io/api/v1/crates/
2023-08-16 22:26:55 +00:00
DISTFILES += cargo/${DISTNAME}.tar.gz{ring/${VERSION}/download}
CATEGORIES = security
MAINTAINER = Theo Buehler <tb@openbsd.org>
# ISC, OpenSSL
PERMIT_PACKAGE = Yes
NO_BUILD = Yes
NO_TEST = Yes
RING_SOURCE_DIR = ${PREFIX}/share/ring-${VERSION}
do-install:
${INSTALL_DATA_DIR} ${RING_SOURCE_DIR}
cd ${WRKSRC} && \
pax -rw -s '/^.*${PATCHORIG}$$//' . ${RING_SOURCE_DIR}
.include <bsd.port.mk>