blob: 18c392322c71db45b8cab823af7fb7e48f182e35 (
plain) (
blame)
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
44
|
# Created by: Jun Kuriyama <kuriyama@FreeBSD.org>
# $FreeBSD$
PORTNAME= magit
PORTVERSION= 2.11.0
PORTREVISION= 1
CATEGORIES= devel elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= yasu@utahime.org
COMMENT= Interface to Git for Emacs
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= dash.el${EMACS_PKGNAMESUFFIX}>=2.12.1:devel/dash.el@${EMACS_FLAVOR} \
with-editor${EMACS_PKGNAMESUFFIX}>=2.5.0:editors/with-editor@${EMACS_FLAVOR}
RUN_DEPENDS= dash.el${EMACS_PKGNAMESUFFIX}>=2.12.1:devel/dash.el@${EMACS_FLAVOR} \
with-editor${EMACS_PKGNAMESUFFIX}>=2.5.0:editors/with-editor@${EMACS_FLAVOR}
USES= emacs gmake makeinfo
USE_GITHUB= yes
INFO= magit magit-popup
PORTDOCS= AUTHORS.md
NO_ARCH= yes
ELISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
MAKE_ENV+= INSTALL_INFO=install-info \
LOAD_PATH="-L ${WRKSRC}/lisp -L ${PREFIX}/${EMACS_SITE_LISPDIR} -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}" \
VERSION=${PORTVERSION} \
lispdir=${PREFIX}/${ELISPDIR} \
infodir=${PREFIX}/${INFO_PATH} \
docdir=${DOCSDIR}
PLIST_SUB+= ELISPDIR=${ELISPDIR}
OPTIONS_DEFINE= DOCS GIT_SUBVERSION
GIT_SUBVERSION_DESC= Use devel/git-subversion as backend
GIT_SUBVERSION_BUILD_DEPENDS= git-subversion>0:devel/git-subversion
GIT_SUBVERSION_BUILD_DEPENDS_OFF= git>0:devel/git
GIT_SUBVERSION_RUN_DEPENDS= git-subversion>0:devel/git-subversion
GIT_SUBVERSION_RUN_DEPENDS_OFF= git>0:devel/git
.include <bsd.port.mk>
|