devel/luajava: pin to openjdk8
Compiliing with jdk21 gives an error in javadoc which is fixed by making the patch-Makefile more generic so all jdk versions use '-Xdoclint:none'.
With the doclint option jdk11 and newer give an error on missing javah executable. I can't quickly fix this, so let's pin the port to openjdk8.
With this patch we can set JAVA_DEFAULT=21 and this port will still use openjdk8 to builld.
PR: 291579
Approved-By: maintainer timeout
sysutils/jvmtop: pin to java 8
It misses tools.jar when building with jdk11+.
[ERROR] Failed to execute goal on project jvmtop: Could not resolve dependencies for project com.jvmtop:jvmtop:jar:0.9.0-SNAPSHOT: Could not find artifact com.sun:tools:jar:1.6 at specified path /usr/local/openjdk11/../lib/tools.jar -> [Help 1]
NB: upstream repo is inactive for 9 years. A fork (https://github.com/MOschIT/jvmtop)
claims jdk21 support, but that is outside of the scope of the issue I'm trying to solve.
PR: 291538
Approved-By: maintainer timeout
textproc/bookokrat: Add new port
Bookokrat is a terminal-based EPUB reader with a split-view library and reader,
full MathML and image rendering, automatic bookmarks, inline annotations, and
customizable themes.
What you can do:
- Browse every EPUB in the current directory, drill into the table of
contents, and resume exactly where you left off.
- Search inside the current chapter or across the whole book, jump through a
per-book history, and inspect reading statistics.
- Highlight text, attach comments, copy snippets or entire chapters, and
toggle the raw HTML source for debugging.
- Open images in-place, follow internal anchors, launch external links in
your browser, and hand off the book to your system viewer.
- Customize with multiple color themes, adjustable margins, and zen mode;
settings persist across sessions.
https://bugzmanov.github.io/bookokrat/index.html
sysutils/treemd: Add new port
Treemd is a modern markdown viewer that combines the structural clarity of the
tree command with powerful interactive navigation. Whether you're exploring
large documentation files, analyzing markdown structure, or reading comfortably
in your terminal, treemd provides both CLI tools for scripting and a beautiful
TUI for interactive exploration.
Use it to:
- Navigate large documents by collapsing/expanding heading sections
- Search headings or full document content with highlighted matches
- Edit tables, toggle checkboxes, and follow links-all without leaving the
terminal
- Extract specific sections or query markdown elements with a jq-like syntax
- Pipe markdown from stdin for shell-scripted workflows
https://github.com/Epistates/treemd