deskutils/jot: New port: Rapid note management for the terminal

This commit is contained in:
Yuri Victorovich 2023-01-04 17:33:44 -08:00
parent deaaad55d5
commit 69665dab69
4 changed files with 154 additions and 0 deletions

View File

@ -128,6 +128,7 @@
SUBDIR += itinerary
SUBDIR += jjclient
SUBDIR += jlj
SUBDIR += jot
SUBDIR += just
SUBDIR += kaddressbook
SUBDIR += kalarm

64
deskutils/jot/Makefile Normal file
View File

@ -0,0 +1,64 @@
PORTNAME= jot
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.1
CATEGORIES= deskutils
MAINTAINER= yuri@FreeBSD.org
COMMENT= Rapid note management for the terminal
WWW= https://github.com/araekiel/jot
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= araekiel
CARGO_CRATES= atty-0.2.14 \
autocfg-1.1.0 \
bitflags-1.3.2 \
cfg-if-1.0.0 \
clap-3.2.15 \
clap_derive-3.2.15 \
clap_lex-0.2.4 \
directories-4.0.1 \
dirs-sys-0.3.7 \
fs_extra-1.2.0 \
getrandom-0.2.7 \
hashbrown-0.12.3 \
heck-0.4.0 \
hermit-abi-0.1.19 \
indexmap-1.9.1 \
libc-0.2.126 \
once_cell-1.13.0 \
os_str_bytes-6.2.0 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro2-1.0.42 \
quote-1.0.20 \
redox_syscall-0.2.16 \
redox_users-0.4.3 \
serde-1.0.142 \
serde_derive-1.0.142 \
strsim-0.10.0 \
syn-1.0.98 \
termcolor-1.1.3 \
textwrap-0.15.0 \
thiserror-1.0.33 \
thiserror-impl-1.0.33 \
toml-0.5.9 \
unicode-ident-1.0.2 \
version_check-0.9.4 \
wasi-0.11.0+wasi-snapshot-preview1 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0
PLIST_FILES= bin/jt
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/jt
.include <bsd.port.mk>

83
deskutils/jot/distinfo Normal file
View File

@ -0,0 +1,83 @@
TIMESTAMP = 1672880970
SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
SIZE (rust/crates/atty-0.2.14.crate) = 5470
SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
SIZE (rust/crates/autocfg-1.1.0.crate) = 13272
SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
SIZE (rust/crates/bitflags-1.3.2.crate) = 23021
SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934
SHA256 (rust/crates/clap-3.2.15.crate) = 44bbe24bbd31a185bc2c4f7c2abe80bea13a20d57ee4e55be70ac512bdc76417
SIZE (rust/crates/clap-3.2.15.crate) = 213317
SHA256 (rust/crates/clap_derive-3.2.15.crate) = 9ba52acd3b0a5c33aeada5cdaa3267cdc7c594a98731d4268cdc1532f4264cb4
SIZE (rust/crates/clap_derive-3.2.15.crate) = 28218
SHA256 (rust/crates/clap_lex-0.2.4.crate) = 2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5
SIZE (rust/crates/clap_lex-0.2.4.crate) = 9652
SHA256 (rust/crates/directories-4.0.1.crate) = f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210
SIZE (rust/crates/directories-4.0.1.crate) = 16040
SHA256 (rust/crates/dirs-sys-0.3.7.crate) = 1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6
SIZE (rust/crates/dirs-sys-0.3.7.crate) = 10597
SHA256 (rust/crates/fs_extra-1.2.0.crate) = 2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394
SIZE (rust/crates/fs_extra-1.2.0.crate) = 29918
SHA256 (rust/crates/getrandom-0.2.7.crate) = 4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6
SIZE (rust/crates/getrandom-0.2.7.crate) = 28854
SHA256 (rust/crates/hashbrown-0.12.3.crate) = 8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888
SIZE (rust/crates/hashbrown-0.12.3.crate) = 102968
SHA256 (rust/crates/heck-0.4.0.crate) = 2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9
SIZE (rust/crates/heck-0.4.0.crate) = 11161
SHA256 (rust/crates/hermit-abi-0.1.19.crate) = 62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33
SIZE (rust/crates/hermit-abi-0.1.19.crate) = 9979
SHA256 (rust/crates/indexmap-1.9.1.crate) = 10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e
SIZE (rust/crates/indexmap-1.9.1.crate) = 54114
SHA256 (rust/crates/libc-0.2.126.crate) = 349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836
SIZE (rust/crates/libc-0.2.126.crate) = 590481
SHA256 (rust/crates/once_cell-1.13.0.crate) = 18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1
SIZE (rust/crates/once_cell-1.13.0.crate) = 31726
SHA256 (rust/crates/os_str_bytes-6.2.0.crate) = 648001efe5d5c0102d8cea768e348da85d90af8ba91f0bea908f157951493cd4
SIZE (rust/crates/os_str_bytes-6.2.0.crate) = 21037
SHA256 (rust/crates/proc-macro-error-1.0.4.crate) = da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c
SIZE (rust/crates/proc-macro-error-1.0.4.crate) = 25293
SHA256 (rust/crates/proc-macro-error-attr-1.0.4.crate) = a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869
SIZE (rust/crates/proc-macro-error-attr-1.0.4.crate) = 7971
SHA256 (rust/crates/proc-macro2-1.0.42.crate) = c278e965f1d8cf32d6e0e96de3d3e79712178ae67986d9cf9151f51e95aac89b
SIZE (rust/crates/proc-macro2-1.0.42.crate) = 41464
SHA256 (rust/crates/quote-1.0.20.crate) = 3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804
SIZE (rust/crates/quote-1.0.20.crate) = 28160
SHA256 (rust/crates/redox_syscall-0.2.16.crate) = fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a
SIZE (rust/crates/redox_syscall-0.2.16.crate) = 24012
SHA256 (rust/crates/redox_users-0.4.3.crate) = b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b
SIZE (rust/crates/redox_users-0.4.3.crate) = 15353
SHA256 (rust/crates/serde-1.0.142.crate) = e590c437916fb6b221e1d00df6e3294f3fccd70ca7e92541c475d6ed6ef5fee2
SIZE (rust/crates/serde-1.0.142.crate) = 76384
SHA256 (rust/crates/serde_derive-1.0.142.crate) = 34b5b8d809babe02f538c2cfec6f2c1ed10804c0e5a6a041a049a4f5588ccc2e
SIZE (rust/crates/serde_derive-1.0.142.crate) = 54872
SHA256 (rust/crates/strsim-0.10.0.crate) = 73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623
SIZE (rust/crates/strsim-0.10.0.crate) = 11355
SHA256 (rust/crates/syn-1.0.98.crate) = c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd
SIZE (rust/crates/syn-1.0.98.crate) = 235451
SHA256 (rust/crates/termcolor-1.1.3.crate) = bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755
SIZE (rust/crates/termcolor-1.1.3.crate) = 17242
SHA256 (rust/crates/textwrap-0.15.0.crate) = b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb
SIZE (rust/crates/textwrap-0.15.0.crate) = 52998
SHA256 (rust/crates/thiserror-1.0.33.crate) = 3d0a539a918745651435ac7db7a18761589a94cd7e94cd56999f828bf73c8a57
SIZE (rust/crates/thiserror-1.0.33.crate) = 17252
SHA256 (rust/crates/thiserror-impl-1.0.33.crate) = c251e90f708e16c49a16f4917dc2131e75222b72edfa9cb7f7c58ae56aae0c09
SIZE (rust/crates/thiserror-impl-1.0.33.crate) = 15429
SHA256 (rust/crates/toml-0.5.9.crate) = 8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7
SIZE (rust/crates/toml-0.5.9.crate) = 55667
SHA256 (rust/crates/unicode-ident-1.0.2.crate) = 15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7
SIZE (rust/crates/unicode-ident-1.0.2.crate) = 34951
SHA256 (rust/crates/version_check-0.9.4.crate) = 49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f
SIZE (rust/crates/version_check-0.9.4.crate) = 14895
SHA256 (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423
SIZE (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 28131
SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419
SIZE (rust/crates/winapi-0.3.9.crate) = 1200382
SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6
SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815
SHA256 (rust/crates/winapi-util-0.1.5.crate) = 70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178
SIZE (rust/crates/winapi-util-0.1.5.crate) = 10164
SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f
SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998
SHA256 (araekiel-jot-v0.1.1_GH0.tar.gz) = e9df02b102408c7e9a9781c01df1f3324da436d4cef59d8353f137511f90f12c
SIZE (araekiel-jot-v0.1.1_GH0.tar.gz) = 73796

6
deskutils/jot/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
Jot is a feature-stripped version of Obsidian focused on rapid note management
through the terminal.
It uses the same format of storage as Obsidian, i.e. markdown files for notes,
and local folders for vaults (and sub-folders).
Commands that encompass all basic needs are included. Each command has an alias
(two letter abbreviation) to further increase rapidity.