mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
Uses/cargo: Try to load Makefile.crates
Some ports stash the `make cargo-crates` output there which might as well be supported by USES=cargo.
This commit is contained in:
parent
83d8cc195d
commit
905b1bd86f
@ -14,6 +14,8 @@ _INCLUDE_USES_CARGO_MK= yes
|
|||||||
IGNORE+= USES=cargo takes no arguments
|
IGNORE+= USES=cargo takes no arguments
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.sinclude "${MASTERDIR}/Makefile.crates"
|
||||||
|
|
||||||
# List of static dependencies. The format is cratename-version.
|
# List of static dependencies. The format is cratename-version.
|
||||||
# CARGO_CRATES will be downloaded from MASTER_SITE_CRATESIO.
|
# CARGO_CRATES will be downloaded from MASTER_SITE_CRATESIO.
|
||||||
CARGO_CRATES?=
|
CARGO_CRATES?=
|
||||||
|
@ -18,7 +18,6 @@ USES= cargo
|
|||||||
PLIST_FILES= bin/doh-proxy
|
PLIST_FILES= bin/doh-proxy
|
||||||
|
|
||||||
# make cargo-crates > Makefile.crates
|
# make cargo-crates > Makefile.crates
|
||||||
.include "Makefile.crates"
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/doh-proxy
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/doh-proxy
|
||||||
|
@ -45,8 +45,6 @@ TREMOR_VARS= CARGO_FEATURES+=with-tremor
|
|||||||
VORBIS_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
|
VORBIS_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
|
||||||
VORBIS_VARS= CARGO_FEATURES+=with-vorbis
|
VORBIS_VARS= CARGO_FEATURES+=with-vorbis
|
||||||
|
|
||||||
.include "Makefile.crates"
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/librespot
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/librespot
|
||||||
|
|
||||||
|
@ -21,8 +21,6 @@ CARGO_TEST= yes
|
|||||||
|
|
||||||
RUSTFLAGS+= -C link-arg=-fuse-ld=lld
|
RUSTFLAGS+= -C link-arg=-fuse-ld=lld
|
||||||
|
|
||||||
.include "${.CURDIR}/Makefile.crates"
|
|
||||||
|
|
||||||
CARGO_GIT_SUBDIR= rethutil:reth-util:crates/util
|
CARGO_GIT_SUBDIR= rethutil:reth-util:crates/util
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
@ -17,9 +17,6 @@ USE_RC_SUBR= jail_exporter
|
|||||||
|
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
# This Makefile contains the CARGO_CRATES section.
|
|
||||||
.include "Makefile.crates"
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.8 \
|
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.8 \
|
||||||
${STAGEDIR}${MANPREFIX}/man/man8
|
${STAGEDIR}${MANPREFIX}/man/man8
|
||||||
|
Loading…
Reference in New Issue
Block a user