Lines 1-15
Link Here
|
1 |
# Created by: Jun Kuriyama <kuriyama@FreeBSD.org> |
|
|
2 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
3 |
|
2 |
|
4 |
PORTNAME= magit |
3 |
PORTNAME= magit |
5 |
PORTVERSION= 2.90.1 |
4 |
DISTVERSION= 2.90.1.20201112 |
6 |
PORTREVISION= 4 |
|
|
7 |
CATEGORIES= devel elisp |
5 |
CATEGORIES= devel elisp |
8 |
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${PORTVERSION}/ |
6 |
PKGNAMESUFFIX= -devel${EMACS_PKGNAMESUFFIX} |
9 |
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} |
|
|
10 |
|
7 |
|
11 |
MAINTAINER= yasu@utahime.org |
8 |
MAINTAINER= yasu@utahime.org |
12 |
COMMENT= Interface to Git for Emacs |
9 |
COMMENT= Interface to Git for Emacs (Development Version) |
13 |
|
10 |
|
14 |
LICENSE= GPLv3+ |
11 |
LICENSE= GPLv3+ |
15 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
Lines 16-45
Link Here
|
16 |
|
13 |
|
17 |
BUILD_DEPENDS= dash.el${EMACS_PKGNAMESUFFIX}>=2.14.1:devel/dash.el@${EMACS_FLAVOR} \ |
14 |
BUILD_DEPENDS= dash.el${EMACS_PKGNAMESUFFIX}>=2.14.1:devel/dash.el@${EMACS_FLAVOR} \ |
18 |
ghub${EMACS_PKGNAMESUFFIX}>=3.0.0:devel/ghub@${EMACS_FLAVOR} \ |
15 |
ghub${EMACS_PKGNAMESUFFIX}>=3.0.0:devel/ghub@${EMACS_FLAVOR} \ |
19 |
git:devel/git \ |
16 |
transient${EMACS_PKGNAMESUFFIX}>=0.2.0.20201103:devel/transient@${EMACS_FLAVOR} \ |
20 |
magit-popup${EMACS_PKGNAMESUFFIX}>=2.12.4:devel/magit-popup@${EMACS_FLAVOR} \ |
|
|
21 |
with-editor${EMACS_PKGNAMESUFFIX}>=2.8.0:editors/with-editor@${EMACS_FLAVOR} |
17 |
with-editor${EMACS_PKGNAMESUFFIX}>=2.8.0:editors/with-editor@${EMACS_FLAVOR} |
22 |
RUN_DEPENDS= dash.el${EMACS_PKGNAMESUFFIX}>=2.14.1:devel/dash.el@${EMACS_FLAVOR} \ |
18 |
RUN_DEPENDS= dash.el${EMACS_PKGNAMESUFFIX}>=2.14.1:devel/dash.el@${EMACS_FLAVOR} \ |
23 |
ghub${EMACS_PKGNAMESUFFIX}>=3.0.0:devel/ghub@${EMACS_FLAVOR} \ |
19 |
ghub${EMACS_PKGNAMESUFFIX}>=3.0.0:devel/ghub@${EMACS_FLAVOR} \ |
24 |
git>0:devel/git \ |
20 |
transient${EMACS_PKGNAMESUFFIX}>=0.2.0.20201103:devel/transient@${EMACS_FLAVOR} \ |
25 |
magit-popup${EMACS_PKGNAMESUFFIX}>=2.12.4:devel/magit-popup@${EMACS_FLAVOR} \ |
|
|
26 |
with-editor${EMACS_PKGNAMESUFFIX}>=2.8.0:editors/with-editor@${EMACS_FLAVOR} |
21 |
with-editor${EMACS_PKGNAMESUFFIX}>=2.8.0:editors/with-editor@${EMACS_FLAVOR} |
27 |
|
22 |
|
28 |
USES= emacs gmake makeinfo |
23 |
USES= emacs gmake makeinfo |
29 |
|
24 |
|
30 |
INFO= magit |
25 |
USE_GITHUB= yes |
31 |
PORTDOCS= AUTHORS.md |
26 |
GH_TAGNAME= 8ba17a5 |
|
|
27 |
|
28 |
CONFLICTS_INSTALL= magit-emacs* |
29 |
|
30 |
INFO= magit magit-section |
31 |
PORTDOCS= AUTHORS.md ReleaseNote |
32 |
NO_ARCH= yes |
32 |
NO_ARCH= yes |
33 |
|
33 |
|
34 |
ELISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} |
34 |
ELISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME} |
35 |
MAKE_ENV+= INSTALL_INFO=install-info \ |
35 |
MAKE_ENV+= docdir=${DOCSDIR} \ |
|
|
36 |
infodir=${PREFIX}/${INFO_PATH} \ |
37 |
INSTALL_INFO=install-info \ |
38 |
lispdir=${PREFIX}/${ELISPDIR} \ |
36 |
LOAD_PATH="-L ${WRKSRC}/lisp -L ${PREFIX}/${EMACS_SITE_LISPDIR} -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/ghub" \ |
39 |
LOAD_PATH="-L ${WRKSRC}/lisp -L ${PREFIX}/${EMACS_SITE_LISPDIR} -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/ghub" \ |
37 |
VERSION=${PORTVERSION} \ |
40 |
VERSION=${PORTVERSION} |
38 |
lispdir=${PREFIX}/${ELISPDIR} \ |
41 |
|
39 |
infodir=${PREFIX}/${INFO_PATH} \ |
|
|
40 |
docdir=${DOCSDIR} |
41 |
PLIST_SUB+= ELISPDIR=${ELISPDIR} |
42 |
PLIST_SUB+= ELISPDIR=${ELISPDIR} |
42 |
|
43 |
|
43 |
OPTIONS_DEFINE= DOCS |
44 |
OPTIONS_DEFINE= DOCS LIBEGIT2 |
|
|
45 |
OPTIONS_SUB= yes |
46 |
LIBEGIT2_DESC= Use libegit2 as backend (EXPERIMENTAL) |
47 |
LIBEGIT2_LIB_DEPENDS= libegit2.so:devel/libegit2@${FLAVOR} |
48 |
LIBEGIT2_BUILD_DEPENDS_OFF= git:devel/git |
49 |
LIBEGIT2_RUN_DEPENDS_OFF= git:devel/git |
50 |
LIBEGIT2_VARS_OFF= MAKE_ENV+=BUILD_MAGIT_LIBGIT=false |
44 |
|
51 |
|
|
|
52 |
do-install-DOCS-on: |
53 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
54 |
${INSTALL_DATA} ${WRKSRC}/Documentation/RelNotes/3.0.0.org \ |
55 |
${STAGEDIR}${DOCSDIR}/ReleaseNote |
56 |
|
45 |
.include <bsd.port.mk> |
57 |
.include <bsd.port.mk> |