New port: editors/with-editor
The library with-editor makes it easy to use the Emacsclient as the $EDITOR of child processes, making sure they know how to call home. For remote processes a substitute is provided, which communicates with Emacs on standard output instead of using a socket as the Emacsclient does. WWW: https://github.com/magit/with-editor PR: 206767 Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
This commit is contained in:
parent
6d59af2497
commit
e81fe7cba4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408080
4 changed files with 50 additions and 0 deletions
|
@ -255,6 +255,7 @@
|
|||
SUBDIR += vim
|
||||
SUBDIR += vim-lite
|
||||
SUBDIR += winefish
|
||||
SUBDIR += with-editor
|
||||
SUBDIR += wordgrinder
|
||||
SUBDIR += xcoral
|
||||
SUBDIR += xed
|
||||
|
|
40
editors/with-editor/Makefile
Normal file
40
editors/with-editor/Makefile
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Created by: KIMURA Yasuhiro <yasu@utahime.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= with-editor
|
||||
PORTVERSION= 2.5.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= editors elisp
|
||||
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
||||
|
||||
MAINTAINER= yasu@utahime.org
|
||||
COMMENT= Use the Emacsclient as the $EDITOR of child processes
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
BUILD_DEPENDS= dash.el>0:${PORTSDIR}/devel/dash.el
|
||||
RUN_DEPENDS= dash.el>0:${PORTSDIR}/devel/dash.el
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= magit
|
||||
|
||||
USES= gmake makeinfo
|
||||
USE_EMACS= yes
|
||||
NO_ARCH= yes
|
||||
INFO= with-editor
|
||||
PORTDOCS= README.md
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
MAKE_ENV+= EFLAGS="-L ${PREFIX}/${EMACS_SITE_LISPDIR}"
|
||||
|
||||
PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/with-editor.el \
|
||||
${EMACS_VERSION_SITE_LISPDIR}/with-editor.elc
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
|
||||
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
editors/with-editor/distinfo
Normal file
2
editors/with-editor/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (magit-with-editor-v2.5.0_GH0.tar.gz) = 8091465eefee4057a4a0daab72db1f2f0415e2abfe965d1e8b8206f3031aeba5
|
||||
SIZE (magit-with-editor-v2.5.0_GH0.tar.gz) = 14940
|
7
editors/with-editor/pkg-descr
Normal file
7
editors/with-editor/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
|||
The library with-editor makes it easy to use the Emacsclient as the
|
||||
$EDITOR of child processes, making sure they know how to call
|
||||
home. For remote processes a substitute is provided, which
|
||||
communicates with Emacs on standard output instead of using a socket
|
||||
as the Emacsclient does.
|
||||
|
||||
WWW: https://github.com/magit/with-editor
|
Loading…
Reference in a new issue