pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/phetch



Module Name:    pkgsrc
Committed By:   pin
Date:           Mon Oct 26 07:45:55 UTC 2020

Modified Files:
        pkgsrc/net/phetch: Makefile
Added Files:
        pkgsrc/net/phetch: cargo-depends.mk

Log Message:
net/phetch: simplify Makefile

Simplify Makefile by adding cargo-depends.mk file


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/phetch/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/phetch/cargo-depends.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/phetch/Makefile
diff -u pkgsrc/net/phetch/Makefile:1.7 pkgsrc/net/phetch/Makefile:1.8
--- pkgsrc/net/phetch/Makefile:1.7      Thu Oct 22 09:50:24 2020
+++ pkgsrc/net/phetch/Makefile  Mon Oct 26 07:45:55 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2020/10/22 09:50:24 pin Exp $
+# $NetBSD: Makefile,v 1.8 2020/10/26 07:45:55 pin Exp $
 
 DISTNAME=      phetch-1.0.7
 CATEGORIES=    net
@@ -10,53 +10,9 @@ HOMEPAGE=    https://github.com/xvxx/phetch
 COMMENT=       Quick lil gopher client for your terminal
 LICENSE=       mit
 
-USE_LANGUAGES+=                c       # rust, but needs a toolchain to link
+.include "cargo-depends.mk"
 
-CARGO_CRATE_DEPENDS+=  atty-0.2.14
-CARGO_CRATE_DEPENDS+=  autocfg-0.1.7
-CARGO_CRATE_DEPENDS+=  bitflags-1.2.1
-CARGO_CRATE_DEPENDS+=  byteorder-1.3.2
-CARGO_CRATE_DEPENDS+=  c2-chacha-0.2.3
-CARGO_CRATE_DEPENDS+=  cc-1.0.48
-CARGO_CRATE_DEPENDS+=  cfg-if-0.1.10
-CARGO_CRATE_DEPENDS+=  core-foundation-0.6.4
-CARGO_CRATE_DEPENDS+=  core-foundation-sys-0.6.2
-CARGO_CRATE_DEPENDS+=  foreign-types-0.3.2
-CARGO_CRATE_DEPENDS+=  foreign-types-shared-0.1.1
-CARGO_CRATE_DEPENDS+=  getrandom-0.1.13
-CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.6
-CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
-CARGO_CRATE_DEPENDS+=  libc-0.2.66
-CARGO_CRATE_DEPENDS+=  log-0.4.8
-CARGO_CRATE_DEPENDS+=  native-tls-0.2.3
-CARGO_CRATE_DEPENDS+=  numtoa-0.1.0
-CARGO_CRATE_DEPENDS+=  openssl-0.10.26
-CARGO_CRATE_DEPENDS+=  openssl-probe-0.1.2
-CARGO_CRATE_DEPENDS+=  openssl-sys-0.9.53
-CARGO_CRATE_DEPENDS+=  pkg-config-0.3.17
-CARGO_CRATE_DEPENDS+=  ppv-lite86-0.2.6
-CARGO_CRATE_DEPENDS+=  rand-0.7.2
-CARGO_CRATE_DEPENDS+=  rand_chacha-0.2.1
-CARGO_CRATE_DEPENDS+=  rand_core-0.5.1
-CARGO_CRATE_DEPENDS+=  rand_hc-0.2.0
-CARGO_CRATE_DEPENDS+=  redox_syscall-0.1.56
-CARGO_CRATE_DEPENDS+=  redox_termios-0.1.1
-CARGO_CRATE_DEPENDS+=  remove_dir_all-0.5.2
-CARGO_CRATE_DEPENDS+=  schannel-0.1.16
-CARGO_CRATE_DEPENDS+=  security-framework-0.3.4
-CARGO_CRATE_DEPENDS+=  security-framework-sys-0.3.3
-CARGO_CRATE_DEPENDS+=  socks-0.3.2
-CARGO_CRATE_DEPENDS+=  tempfile-3.1.0
-CARGO_CRATE_DEPENDS+=  termion-1.5.5
-CARGO_CRATE_DEPENDS+=  tor-stream-0.2.0
-CARGO_CRATE_DEPENDS+=  vcpkg-0.2.8
-CARGO_CRATE_DEPENDS+=  wasi-0.7.0
-CARGO_CRATE_DEPENDS+=  winapi-0.2.8
-CARGO_CRATE_DEPENDS+=  winapi-0.3.8
-CARGO_CRATE_DEPENDS+=  winapi-build-0.1.1
-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+=  ws2_32-sys-0.2.1
+USE_LANGUAGES+=                c       # rust, but needs a toolchain to link
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 

Added files:

Index: pkgsrc/net/phetch/cargo-depends.mk
diff -u /dev/null pkgsrc/net/phetch/cargo-depends.mk:1.1
--- /dev/null   Mon Oct 26 07:45:55 2020
+++ pkgsrc/net/phetch/cargo-depends.mk  Mon Oct 26 07:45:55 2020
@@ -0,0 +1,47 @@
+# $NetBSD: cargo-depends.mk,v 1.1 2020/10/26 07:45:55 pin Exp $
+
+CARGO_CRATE_DEPENDS+=  atty-0.2.14
+CARGO_CRATE_DEPENDS+=  autocfg-0.1.7
+CARGO_CRATE_DEPENDS+=  bitflags-1.2.1
+CARGO_CRATE_DEPENDS+=  byteorder-1.3.2
+CARGO_CRATE_DEPENDS+=  c2-chacha-0.2.3
+CARGO_CRATE_DEPENDS+=  cc-1.0.48
+CARGO_CRATE_DEPENDS+=  cfg-if-0.1.10
+CARGO_CRATE_DEPENDS+=  core-foundation-0.6.4
+CARGO_CRATE_DEPENDS+=  core-foundation-sys-0.6.2
+CARGO_CRATE_DEPENDS+=  foreign-types-0.3.2
+CARGO_CRATE_DEPENDS+=  foreign-types-shared-0.1.1
+CARGO_CRATE_DEPENDS+=  getrandom-0.1.13
+CARGO_CRATE_DEPENDS+=  hermit-abi-0.1.6
+CARGO_CRATE_DEPENDS+=  lazy_static-1.4.0
+CARGO_CRATE_DEPENDS+=  libc-0.2.66
+CARGO_CRATE_DEPENDS+=  log-0.4.8
+CARGO_CRATE_DEPENDS+=  native-tls-0.2.3
+CARGO_CRATE_DEPENDS+=  numtoa-0.1.0
+CARGO_CRATE_DEPENDS+=  openssl-0.10.26
+CARGO_CRATE_DEPENDS+=  openssl-probe-0.1.2
+CARGO_CRATE_DEPENDS+=  openssl-sys-0.9.53
+CARGO_CRATE_DEPENDS+=  pkg-config-0.3.17
+CARGO_CRATE_DEPENDS+=  ppv-lite86-0.2.6
+CARGO_CRATE_DEPENDS+=  rand-0.7.2
+CARGO_CRATE_DEPENDS+=  rand_chacha-0.2.1
+CARGO_CRATE_DEPENDS+=  rand_core-0.5.1
+CARGO_CRATE_DEPENDS+=  rand_hc-0.2.0
+CARGO_CRATE_DEPENDS+=  redox_syscall-0.1.56
+CARGO_CRATE_DEPENDS+=  redox_termios-0.1.1
+CARGO_CRATE_DEPENDS+=  remove_dir_all-0.5.2
+CARGO_CRATE_DEPENDS+=  schannel-0.1.16
+CARGO_CRATE_DEPENDS+=  security-framework-0.3.4
+CARGO_CRATE_DEPENDS+=  security-framework-sys-0.3.3
+CARGO_CRATE_DEPENDS+=  socks-0.3.2
+CARGO_CRATE_DEPENDS+=  tempfile-3.1.0
+CARGO_CRATE_DEPENDS+=  termion-1.5.5
+CARGO_CRATE_DEPENDS+=  tor-stream-0.2.0
+CARGO_CRATE_DEPENDS+=  vcpkg-0.2.8
+CARGO_CRATE_DEPENDS+=  wasi-0.7.0
+CARGO_CRATE_DEPENDS+=  winapi-0.2.8
+CARGO_CRATE_DEPENDS+=  winapi-0.3.8
+CARGO_CRATE_DEPENDS+=  winapi-build-0.1.1
+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+=  ws2_32-sys-0.2.1



Home | Main Index | Thread Index | Old Index