#53753 closed submission (fixed)
tldr c client
Reported by: | 1-61803 | Owned by: | kurthindenburg (Kurt Hindenburg) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | kurthindenburg (Kurt Hindenburg) | |
Port: | tldr-cpp-client |
Description
https://github.com/tldr-pages/tldr-cpp-client
Unfortunately CHANGELOG.md
and CONTRIBUTING.md
don't come with the tarball, so they are not included.
Attachments (3)
Change History (13)
Changed 8 years ago by 1-61803
comment:1 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)
Cc: | kurthindenburg added |
---|
comment:2 Changed 8 years ago by 1-61803
At first I thought all clients were more or less the same without checking them thoroughly.
The most recent and configurable is the node
client actually, but I haven't made ports with node yet.
tldr-cpp-client
has autocompletion
tldr-python-client
is more configurable (cache, colors), but no autocomplete — I guess I could use it from the c
client
tldr-node-client
has it all with a little more elbow grease (no bash
completion though)
Thing is, I gave the python
client a shot but failed with
Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
Let me know if you can take a look at it (portfile
and main.log
attached), otherwise I'll post it to the list, and if found a solution, I'll submit it separately.
comment:3 Changed 8 years ago by 1-61803
@kurthindenburg, is there a problem committing this one in the meantime?
comment:4 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)
Owner: | set to kurthindenburg |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:5 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)
If you want to add another ticket for the python version, go ahead - although perhaps this one is enough.
comment:6 Changed 8 years ago by 1-61803
ok, any ideas about the log I attached for the python client?
comment:7 Changed 8 years ago by 1-61803
While cutting leaves I realised it doesn't only depend during the build phase on these
depends_lib-append port:curl \ port:libzip
Do you need a separate ticket?
comment:9 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)
You are correct
otool -L /opt/local/bin/tldr /opt/local/bin/tldr: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0) /opt/local/lib/libcurl.4.dylib (compatibility version 9.0.0, current version 9.0.0) /opt/local/lib/libzip.4.dylib (compatibility version 5.0.0, current version 5.0.0)
comment:10 Changed 8 years ago by 1-61803
Ok, then please post back when you commit both changes above so that I can delete my local port.
Any reason to not use the python version? It appears to be updated more recently.