svn commit: r555627 - in head/editors: . mg mg-static
Jan Beich
jbeich at FreeBSD.org
Wed Nov 18 10:04:27 UTC 2020
Author: jbeich
Date: Wed Nov 18 10:04:26 2020
New Revision: 555627
URL: https://svnweb.freebsd.org/changeset/ports/555627
Log:
editors/mg: add -static slave installed as /rescue/mg
When recovering from a broken rtld(1) one may want a visual editor that
feels like Emacs. ee(1) isn't under /rescue, and its Emacs keys support
lacks even C-x C-c (save-buffers-kill-emacs).
Added:
head/editors/mg-static/
head/editors/mg-static/Makefile (contents, props changed)
Modified:
head/editors/Makefile (contents, props changed)
head/editors/mg/Makefile (contents, props changed)
Modified: head/editors/Makefile
==============================================================================
--- head/editors/Makefile Wed Nov 18 08:49:01 2020 (r555626)
+++ head/editors/Makefile Wed Nov 18 10:04:26 2020 (r555627)
@@ -192,6 +192,7 @@
SUBDIR += linux-sublime3
SUBDIR += madedit
SUBDIR += mg
+ SUBDIR += mg-static
SUBDIR += micro
SUBDIR += mined
SUBDIR += mle
Added: head/editors/mg-static/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/mg-static/Makefile Wed Nov 18 10:04:26 2020 (r555627)
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTEPOCH= 0 # don't bump accidentally
+PKGNAMESUFFIX= -static
+
+COMMENT= Small, fast Emacs-like editor (rescue(8) version)
+
+MASTERDIR= ${.CURDIR}/../mg
+
+CONFIGURE_ARGS= --enable-static
+PLIST_FILES= /rescue/${PORTNAME}
+
+OPTIONS_EXCLUDE=DOCS
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PLIST_FILES:[1]:H}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PLIST_FILES:[1]}
+
+.include "${MASTERDIR}/Makefile"
Modified: head/editors/mg/Makefile
==============================================================================
--- head/editors/mg/Makefile Wed Nov 18 08:49:01 2020 (r555626)
+++ head/editors/mg/Makefile Wed Nov 18 10:04:26 2020 (r555627)
@@ -3,18 +3,18 @@
PORTNAME= mg
PORTVERSION= 6.7
-PORTEPOCH= 1
+PORTEPOCH?= 1
CATEGORIES= editors
MASTER_SITES= https://github.com/ibara/mg/releases/download/mg-${PORTVERSION}/
MAINTAINER= ports at FreeBSD.org
-COMMENT= Small, fast Emacs-like editor
+COMMENT?= Small, fast Emacs-like editor
LICENSE= PD
USES= ncurses
HAS_CONFIGURE= yes
-PLIST_FILES= bin/mg \
+PLIST_FILES?= bin/mg \
man/man1/mg.1.gz
PORTDOCS= README-Mg README.md tutorial
More information about the svn-ports-all
mailing list