freebsd-ports/editors/with-editor/Makefile
Li-Wen Hsu b33f98eb57 editors/with-editor: Update to 3.0.2
PR:		250745
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer)
2020-11-02 01:42:04 +00:00

42 lines
1.1 KiB
Makefile

# Created by: KIMURA Yasuhiro <yasu@utahime.org>
# $FreeBSD$
PORTNAME= with-editor
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.2
CATEGORIES= editors elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@utahime.org
COMMENT= Use the Emacsclient as the $$EDITOR of child processes
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= emacs gmake makeinfo
USE_GITHUB= yes
GH_ACCOUNT= magit
NO_ARCH= yes
INFO= with-editor
MAKE_ENV+= EFLAGS="-L ${PREFIX}/${EMACS_SITE_LISPDIR}"
PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/with-editor.el \
${EMACS_VERSION_SITE_LISPDIR}/with-editor.elc \
${EMACS_VERSION_SITE_LISPDIR}/with-editor-autoloads.el
OPTIONS_DEFINE= DOCS
PORTDOCS= README.md
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \
${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>