editors/jove: Revive port

This commit is contained in:
Neel Chauhan 2024-06-05 23:11:53 -04:00
parent 92a9331f78
commit 1e59715b75
7 changed files with 84 additions and 1 deletions

1
MOVED
View file

@ -2945,7 +2945,6 @@ editors/edith||2024-01-17|Has expired: Upstream last release was in 2000
x11-toolkits/p5-Gtk2-GladeXML||2024-01-17|Has expired: Upstream marked this module as Deprecated
x11-toolkits/p5-Gtk2-TrayIcon||2024-01-17|Has expired: Upstream marked this module as Deprecated
editors/led||2024-01-17|Has expired: Last upstream release was in 2002 reconsider using editors/nano
editors/jove||2024-01-18|Has expired: No upstream update in last 23 years
editors/impress||2024-01-18|Has expired: Upstream last release was in 2000
biology/sim4||2024-01-18|Has expired: Upstream last update was in 2005
x11-wm/w9wm||2024-01-18|Has expired: Last upstream release was in 2002

View file

@ -68,6 +68,7 @@
SUBDIR += jed
SUBDIR += jedit
SUBDIR += joe
SUBDIR += jove
SUBDIR += jucipp
SUBDIR += jupp
SUBDIR += kakoune

22
editors/jove/Makefile Normal file
View file

@ -0,0 +1,22 @@
PORTNAME= jove
DISTVERSION= 4.17.5.3
CATEGORIES= editors
MAINTAINER= nc@FreeBSD.org
COMMENT= Jonathan's Own Version of Emacs
WWW= https://github.com/jonmacs/jove
LICENSE= BSD0CLAUSE
USES= groff ncurses
USE_GITHUB= yes
GH_ACCOUNT= jonmacs
pre-patch:
${REINPLACE_CMD} -e 's,/usr/local/,${PREFIX}/,' ${WRKSRC}/Makefile
post-install:
@${MKDIR} ${STAGEDIR}/var/lib/jove/tmp
.include <bsd.port.mk>

3
editors/jove/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1717641168
SHA256 (jonmacs-jove-4.17.5.3_GH0.tar.gz) = ca5a5fcf71009c7389d655d1f1ae8139710f6cc531be95581e4b375e67f098d2
SIZE (jonmacs-jove-4.17.5.3_GH0.tar.gz) = 548835

View file

@ -0,0 +1,20 @@
--- Makefile.orig 2024-06-06 03:00:44 UTC
+++ Makefile
@@ -67,7 +67,7 @@ DETCDIR = $(DESTDIR)$(JETCDIR)
JETCDIR = /etc/jove
DETCDIR = $(DESTDIR)$(JETCDIR)
-JTMPDIR = /var/tmp
+JTMPDIR = /var/lib/jove/tmp
JRECDIR = /var/lib/jove/preserve
DRECDIR = $(DESTDIR)$(JRECDIR)
# Install permission for DRECDIR
@@ -328,7 +328,7 @@ setmaps.o: setmaps.c
# create a temporary directory to hold some temporary intermediate files that the
# Makefile generates, as a precaution against security hole via races (mktemp would be
# better, but we try to keep this Makefile working on old Unix, pre-POSIX, sigh)
-TDIR=$(JTMPDIR)/jbuild$$$$
+TDIR=/var/tmp/jbuild$$$$
TFILE=$(TDIR)/temp
keys.c: setmaps$(LOCALEXT) keys.txt Makefile .ALWAYS

3
editors/jove/pkg-descr Normal file
View file

@ -0,0 +1,3 @@
Jonathan's Own Version of Emacs (Jove) is a venerable, fast, small Emacs clone
that was originally written for 2.8BSD on PDP-11. Many people have been using
and contributing to it since 1986.

35
editors/jove/pkg-plist Normal file
View file

@ -0,0 +1,35 @@
bin/jove
bin/teachjove
lib/jove/recover
man/man1/jove.1
man/man1/teachjove.1
%%DOCSDIR%%/example.rc
%%DOCSDIR%%/jove.man.pdf
%%DOCSDIR%%/jove.man.txt
%%DOCSDIR%%/jove.qref
%%DATADIR%%/XTermresource
%%DATADIR%%/cmds.txt
%%DATADIR%%/jem.txt
%%DATADIR%%/jove.rc
%%DATADIR%%/jove.rc.3022
%%DATADIR%%/jove.rc.sun
%%DATADIR%%/jove.rc.sun-cmd
%%DATADIR%%/jove.rc.vt100
%%DATADIR%%/jove.rc.wyse
%%DATADIR%%/jove.rc.xterm
%%DATADIR%%/jove.rc.xterm-256color
%%DATADIR%%/jove.rc.z29
%%DATADIR%%/keychart.3022
%%DATADIR%%/keychart.sun
%%DATADIR%%/keychart.sun-cmd
%%DATADIR%%/keychart.vt100
%%DATADIR%%/keychart.wyse
%%DATADIR%%/keychart.xterm
%%DATADIR%%/keychart.xterm-256color
%%DATADIR%%/keychart.z29
%%DATADIR%%/teach-jove
@mode 777
@dir /var/lib/jove/tmp
@dir /var/lib/jove/preserve
@dir /var/lib/jove
@dir /var/lib