blob: ce2c1a81369dcac30a6beb0142d4a4c794d50ec2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: KIMURA Yasuhiro <yasu@utahime.org>
# $FreeBSD$
PORTNAME= with-editor
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.2
PORTREVISION= 1
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>
|