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).
This commit is contained in:
parent
0af533d213
commit
c2b8c5a018
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555627
@ -192,6 +192,7 @@
|
||||
SUBDIR += linux-sublime3
|
||||
SUBDIR += madedit
|
||||
SUBDIR += mg
|
||||
SUBDIR += mg-static
|
||||
SUBDIR += micro
|
||||
SUBDIR += mined
|
||||
SUBDIR += mle
|
||||
|
19
editors/mg-static/Makefile
Normal file
19
editors/mg-static/Makefile
Normal file
@ -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"
|
@ -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@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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user