misc/emacs-libvterm: Install etc/ under the vterm/ #568

Open
Jehops opened 4:35am on July 20, 2026 wants to merge 48 Ξ” into freebsd/freebsd-ports main from
ess
Diff Delta:
48
About 25 Diff Delta/hour
Classified as:  General

Jehops' Description of Work

Previously, the shell-integration scripts (emacs-vterm-bash.sh, emacs-vterm-zsh.sh, emacs-vterm.fish) were installed under ${EMACS_SITE_LISPDIR}/etc/, i.e. share/emacs/site-lisp/etc/. That is a shared, generically-named directory, and creating it cause problems for at least one other package [0].

Install everything under ${EMACS_SITE_LISPDIR}/vterm/ instead. This keeps the port self-contained, no longer pollutes a directory other ports probe, and matches ELPA package's layout.

[0]
math/ess auto-detects ess-etc-directory by probing paths relative to its own lisp directory, one of which is ../etc. With site-lisp/etc present, ESS selected it instead of the correct share/emacs/etc/ess, so M-x R failed to load ESSR with "cannot open the connection".

4 total changed files
(1 file ignored)
Loading changes...
Loading changes...
Loading changes...
That’s the last hunk
All files reviewed β€” nice work, champ! πŸ’ͺ