blob: ff2b92cd57d65e854f8ae8627933d96c5cda7424 (
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
|
PORTNAME= git-modes
DISTVERSION= 1.4.2
PORTEPOCH= 1
CATEGORIES= devel elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@FreeBSD.org
COMMENT= GNU Emacs modes for Git-related files
WWW= https://github.com/magit/git-modes
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= compat.el${EMACS_PKGNAMESUFFIX}>=29.1.4.1:misc/compat.el@${EMACS_FLAVOR}
RUN_DEPENDS= compat.el${EMACS_PKGNAMESUFFIX}>=29.1.4.1:misc/compat.el@${EMACS_FLAVOR} \
git:devel/git
USES= emacs gmake
USE_GITHUB= yes
GH_ACCOUNT= magit
MAKE_ENV+= LOAD_PATH="-L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/compat"
MAKE_JOBS_UNSAFE= yes
NO_ARCH= yes
PLIST_SUB= ELISPDIR=${ELISPDIR}
PORTDOCS= README.org
OPTIONS_DEFINE= DOCS
ELISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR}
${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc \
${STAGEDIR}${PREFIX}/${ELISPDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.org ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|