Files
ports/editors/mg-static/Makefile
T
Jan Beich c2b8c5a018 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).
2020-11-18 10:04:26 +00:00

20 lines
413 B
Makefile

# $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"