1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

New port: misc/cheat: Create and view interactive cheatsheets on the command-line

This commit is contained in:
Yuri Victorovich 2019-11-12 03:24:56 +00:00
parent 75777eba40
commit cfab4519aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517302
4 changed files with 63 additions and 0 deletions

View File

@ -36,6 +36,7 @@
SUBDIR += buffer
SUBDIR += cave
SUBDIR += cdcollect
SUBDIR += cheat
SUBDIR += chef
SUBDIR += chmlib
SUBDIR += cinnamon-translations

32
misc/cheat/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $FreeBSD$
PORTNAME= cheat
DISTVERSION= 3.0.6
CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org
COMMENT= Create and view interactive cheatsheets on the command-line
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= go:modules
USE_GITHUB= yes
GH_TUPLE= \
alecthomas:chroma:v0.6.8:alecthomas_chroma/vendor/github.com/alecthomas/chroma \
danwakefield:fnmatch:cbb64ac3d964:danwakefield_fnmatch/vendor/github.com/danwakefield/fnmatch \
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
dlclark:regexp2:v1.1.6:dlclark_regexp2/vendor/github.com/dlclark/regexp2 \
docopt:docopt.go:0.6.2:docopt_docopt_go/vendor/github.com/docopt/docopt.go \
go-yaml:yaml:9f9df34309c0:go_yaml_yaml/vendor/gopkg.in/yaml.v1 \
go-yaml:yaml:v2.2.4:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
golang:sys:543471e840be:golang_sys/vendor/golang.org/x/sys \
mattn:go-colorable:v0.0.9:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
mattn:go-isatty:v0.0.10:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
mgutz:ansi:9520e82c474b:mgutz_ansi/vendor/github.com/mgutz/ansi \
mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir
GO_TARGET= ./cmd/${PORTNAME}
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.mk>

25
misc/cheat/distinfo Normal file
View File

@ -0,0 +1,25 @@
TIMESTAMP = 1573527632
SHA256 (cheat-cheat-3.0.6_GH0.tar.gz) = 405ca6372d5bf3bea9c27b32b214ac8e6971de44cbd1a605c0a6a7f0ebdea215
SIZE (cheat-cheat-3.0.6_GH0.tar.gz) = 1979965
SHA256 (alecthomas-chroma-v0.6.8_GH0.tar.gz) = b76b5ea13171f286cdb28f2942784fafa69adf8e120ed4e68cd05484428a09b1
SIZE (alecthomas-chroma-v0.6.8_GH0.tar.gz) = 581789
SHA256 (danwakefield-fnmatch-cbb64ac3d964_GH0.tar.gz) = 7ebff38d382142f9220d2cfcb4731d0ae90cdef71238c94a15c35f8aa746007f
SIZE (danwakefield-fnmatch-cbb64ac3d964_GH0.tar.gz) = 4955
SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e
SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152
SHA256 (dlclark-regexp2-v1.1.6_GH0.tar.gz) = 81ede5b49ff46bd1c686416c52605aa4698b9dce07d011581c49a1d35b8a5239
SIZE (dlclark-regexp2-v1.1.6_GH0.tar.gz) = 203691
SHA256 (docopt-docopt.go-0.6.2_GH0.tar.gz) = bfd2816c9b1830eff84fc97fdad8fbf88ed56b6fccfe29d40c85c55e676edea9
SIZE (docopt-docopt.go-0.6.2_GH0.tar.gz) = 23808
SHA256 (go-yaml-yaml-v2.2.4_GH0.tar.gz) = 9004c9709200d52ef6e5c69af3f71f3adb1a2b7e884ea7597f306bf54b1f007c
SIZE (go-yaml-yaml-v2.2.4_GH0.tar.gz) = 72209
SHA256 (golang-sys-543471e840be_GH0.tar.gz) = 4d797f5647e0f68b313fb9663b0e4310f2d4a9dfa0d98de52902566785ea212b
SIZE (golang-sys-543471e840be_GH0.tar.gz) = 1494161
SHA256 (mattn-go-colorable-v0.0.9_GH0.tar.gz) = 703db7bd13f84446bb06a7f075cf6b21d65b828cd6831dc9069e28b564bdfb87
SIZE (mattn-go-colorable-v0.0.9_GH0.tar.gz) = 7593
SHA256 (mattn-go-isatty-v0.0.10_GH0.tar.gz) = 55408e1afd78eaa112842ae2263e70703d5b5133feaa17fa477980a87a961fe7
SIZE (mattn-go-isatty-v0.0.10_GH0.tar.gz) = 4465
SHA256 (mgutz-ansi-9520e82c474b_GH0.tar.gz) = f9203c71aceb8b7ffa87181fd8f51dc69acce3d2161c4c017ea92c6840f85093
SIZE (mgutz-ansi-9520e82c474b_GH0.tar.gz) = 4876
SHA256 (mitchellh-go-homedir-v1.1.0_GH0.tar.gz) = 646671c73a84a8dfb4a5a76b80c7b63549ffefa906524d45077301bc7da76600
SIZE (mitchellh-go-homedir-v1.1.0_GH0.tar.gz) = 3362

5
misc/cheat/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
cheat allows you to create and view interactive cheatsheets on the command-line.
It was designed to help remind *nix system administrators of options for
commands that they use frequently, but not frequently enough to remember.
WWW: https://github.com/cheat/cheat