summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorfox <fox@pkgsrc.org>2021-11-08 05:11:27 +0000
committerfox <fox@pkgsrc.org>2021-11-08 05:11:27 +0000
commit155912710a17dbe42a19aa48c0e8a31d5ddca961 (patch)
treef4dc6c746deaa24e0feae8e2b27093c19e4c2326 /sysutils
parent65ced00e427a423cb29733e1428739999add1c54 (diff)
downloadpkgsrc-155912710a17dbe42a19aa48c0e8a31d5ddca961.tar.gz
sysutils/exa: Refactor the crates into it's own file.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/exa/Makefile50
-rw-r--r--sysutils/exa/cargo-depends.mk46
2 files changed, 49 insertions, 47 deletions
diff --git a/sysutils/exa/Makefile b/sysutils/exa/Makefile
index cae9fca717c..85dbb8a5a04 100644
--- a/sysutils/exa/Makefile
+++ b/sysutils/exa/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2021/04/13 03:34:50 fox Exp $
+# $NetBSD: Makefile,v 1.8 2021/11/08 05:11:27 fox Exp $
DISTNAME= exa-0.10.1
CATEGORIES= sysutils
@@ -12,52 +12,9 @@ HOMEPAGE= https://the.exa.website/
COMMENT= Replacement for ls(1) written in Rust
LICENSE= mit
-USE_LANGUAGES= c
+.include "cargo-depends.mk"
-CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
-CARGO_CRATE_DEPENDS+= autocfg-1.0.1
-CARGO_CRATE_DEPENDS+= bitflags-1.2.1
-CARGO_CRATE_DEPENDS+= byteorder-1.4.3
-CARGO_CRATE_DEPENDS+= cc-1.0.67
-CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
-CARGO_CRATE_DEPENDS+= datetime-0.5.2
-CARGO_CRATE_DEPENDS+= form_urlencoded-1.0.1
-CARGO_CRATE_DEPENDS+= git2-0.13.17
-CARGO_CRATE_DEPENDS+= glob-0.3.0
-CARGO_CRATE_DEPENDS+= hermit-abi-0.1.18
-CARGO_CRATE_DEPENDS+= idna-0.2.2
-CARGO_CRATE_DEPENDS+= jobserver-0.1.21
-CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
-CARGO_CRATE_DEPENDS+= libc-0.2.93
-CARGO_CRATE_DEPENDS+= libgit2-sys-0.12.18+1.1.0
-CARGO_CRATE_DEPENDS+= libz-sys-1.1.2
-CARGO_CRATE_DEPENDS+= locale-0.2.2
-CARGO_CRATE_DEPENDS+= log-0.4.14
-CARGO_CRATE_DEPENDS+= matches-0.1.8
-CARGO_CRATE_DEPENDS+= natord-1.0.9
-CARGO_CRATE_DEPENDS+= num_cpus-1.13.0
-CARGO_CRATE_DEPENDS+= number_prefix-0.4.0
-CARGO_CRATE_DEPENDS+= openssl-src-111.15.0+1.1.1k
-CARGO_CRATE_DEPENDS+= openssl-sys-0.9.61
-CARGO_CRATE_DEPENDS+= pad-0.1.6
-CARGO_CRATE_DEPENDS+= percent-encoding-2.1.0
-CARGO_CRATE_DEPENDS+= pkg-config-0.3.19
-CARGO_CRATE_DEPENDS+= redox_syscall-0.1.57
-CARGO_CRATE_DEPENDS+= scoped_threadpool-0.1.9
-CARGO_CRATE_DEPENDS+= term_grid-0.1.7
-CARGO_CRATE_DEPENDS+= term_size-0.3.2
-CARGO_CRATE_DEPENDS+= tinyvec-1.2.0
-CARGO_CRATE_DEPENDS+= tinyvec_macros-0.1.0
-CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.5
-CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.17
-CARGO_CRATE_DEPENDS+= unicode-width-0.1.8
-CARGO_CRATE_DEPENDS+= url-2.2.1
-CARGO_CRATE_DEPENDS+= users-0.11.0
-CARGO_CRATE_DEPENDS+= vcpkg-0.2.11
-CARGO_CRATE_DEPENDS+= winapi-0.3.9
-CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
-CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
-CARGO_CRATE_DEPENDS+= zoneinfo_compiled-0.5.1
+USE_LANGUAGES= c
INSTALLATION_DIRS= bin \
${PKGMANDIR}/man1 \
@@ -81,6 +38,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/completions/completions.zsh \
${DESTDIR}${PREFIX}/share/zsh/site-functions/_exa
-
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/exa/cargo-depends.mk b/sysutils/exa/cargo-depends.mk
new file mode 100644
index 00000000000..5d2000118a2
--- /dev/null
+++ b/sysutils/exa/cargo-depends.mk
@@ -0,0 +1,46 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2021/11/08 05:11:27 fox Exp $
+
+CARGO_CRATE_DEPENDS+= ansi_term-0.12.1
+CARGO_CRATE_DEPENDS+= autocfg-1.0.1
+CARGO_CRATE_DEPENDS+= bitflags-1.2.1
+CARGO_CRATE_DEPENDS+= byteorder-1.4.3
+CARGO_CRATE_DEPENDS+= cc-1.0.67
+CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
+CARGO_CRATE_DEPENDS+= datetime-0.5.2
+CARGO_CRATE_DEPENDS+= form_urlencoded-1.0.1
+CARGO_CRATE_DEPENDS+= git2-0.13.17
+CARGO_CRATE_DEPENDS+= glob-0.3.0
+CARGO_CRATE_DEPENDS+= hermit-abi-0.1.18
+CARGO_CRATE_DEPENDS+= idna-0.2.2
+CARGO_CRATE_DEPENDS+= jobserver-0.1.21
+CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+= libc-0.2.93
+CARGO_CRATE_DEPENDS+= libgit2-sys-0.12.18+1.1.0
+CARGO_CRATE_DEPENDS+= libz-sys-1.1.2
+CARGO_CRATE_DEPENDS+= locale-0.2.2
+CARGO_CRATE_DEPENDS+= log-0.4.14
+CARGO_CRATE_DEPENDS+= matches-0.1.8
+CARGO_CRATE_DEPENDS+= natord-1.0.9
+CARGO_CRATE_DEPENDS+= num_cpus-1.13.0
+CARGO_CRATE_DEPENDS+= number_prefix-0.4.0
+CARGO_CRATE_DEPENDS+= openssl-src-111.15.0+1.1.1k
+CARGO_CRATE_DEPENDS+= openssl-sys-0.9.61
+CARGO_CRATE_DEPENDS+= pad-0.1.6
+CARGO_CRATE_DEPENDS+= percent-encoding-2.1.0
+CARGO_CRATE_DEPENDS+= pkg-config-0.3.19
+CARGO_CRATE_DEPENDS+= redox_syscall-0.1.57
+CARGO_CRATE_DEPENDS+= scoped_threadpool-0.1.9
+CARGO_CRATE_DEPENDS+= term_grid-0.1.7
+CARGO_CRATE_DEPENDS+= term_size-0.3.2
+CARGO_CRATE_DEPENDS+= tinyvec-1.2.0
+CARGO_CRATE_DEPENDS+= tinyvec_macros-0.1.0
+CARGO_CRATE_DEPENDS+= unicode-bidi-0.3.5
+CARGO_CRATE_DEPENDS+= unicode-normalization-0.1.17
+CARGO_CRATE_DEPENDS+= unicode-width-0.1.8
+CARGO_CRATE_DEPENDS+= url-2.2.1
+CARGO_CRATE_DEPENDS+= users-0.11.0
+CARGO_CRATE_DEPENDS+= vcpkg-0.2.11
+CARGO_CRATE_DEPENDS+= winapi-0.3.9
+CARGO_CRATE_DEPENDS+= winapi-i686-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+= winapi-x86_64-pc-windows-gnu-0.4.0
+CARGO_CRATE_DEPENDS+= zoneinfo_compiled-0.5.1