diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-10-12 10:51:00 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2017-10-12 10:51:00 +0000 |
commit | 3bd9ad953216e6069ccdd80edf19996c7daf1c6d (patch) | |
tree | f61bef2aa5af89cd34221e5c0e01ba04158a0534 /Mk/Uses/cargo.mk | |
parent | fef5c71e47cae2d297c968333dbf9e8bb2064d2c (diff) | |
download | ports-3bd9ad953216e6069ccdd80edf19996c7daf1c6d.tar.gz ports-3bd9ad953216e6069ccdd80edf19996c7daf1c6d.zip |
Notes
Diffstat (limited to 'Mk/Uses/cargo.mk')
-rw-r--r-- | Mk/Uses/cargo.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk index 54d4b323ce9c..1037df26792b 100644 --- a/Mk/Uses/cargo.mk +++ b/Mk/Uses/cargo.mk @@ -38,7 +38,7 @@ CARGO_DIST_SUBDIR?= rust/crates # Generate list of DISTFILES. .for _crate in ${CARGO_CRATES} -MASTER_SITES+= ${MASTER_SITES_CRATESIO}/${_crate:C/-[^-]*$//}/${_crate:C/^.*-//}/download?dummy=/:cargo_${_crate:S/-//g:S/.//g} +MASTER_SITES+= ${MASTER_SITES_CRATESIO}/${_crate:C/-[0-9].*$//}/${_crate:C/^.*-([0-9].*)/\1/}/download?dummy=/:cargo_${_crate:S/-//g:S/.//g} DISTFILES+= ${CARGO_DIST_SUBDIR}/${_crate}.tar.gz:cargo_${_crate:S/-//g:S/.//g} .endfor |