freebsd-ports/devel/magit/Makefile
Torsten Zuehlsdorff a6df270ad2 devel/magit: Update from 2.7.0 to 2.8.0
Changes: https://emacsair.me/2016/08/21/magit-2.8/

PR:          212142
Submitter:   Yasuhiro KIMURA <yasu@utahime.org>
Approved by: pi (mentor)
2016-11-04 15:18:33 +00:00

45 lines
1.3 KiB
Makefile

# Created by: Jun Kuriyama <kuriyama@FreeBSD.org>
# $FreeBSD$
PORTNAME= magit
PORTVERSION= 2.8.0
CATEGORIES= devel elisp
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Interface to Git for Emacs
LICENSE= GPLv3
BUILD_DEPENDS= dash.el>=2.12.1:devel/dash.el \
with-editor-${EMACS_PORT_NAME}>=2.5.0:editors/with-editor
RUN_DEPENDS= dash.el>=2.12.1:devel/dash.el \
with-editor-${EMACS_PORT_NAME}>=2.5.0:editors/with-editor
USE_GITHUB= yes
USES= gmake makeinfo
USE_EMACS= yes
INFO= magit magit-popup
PORTDOCS= AUTHORS.md
NO_ARCH= yes
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.pre.mk>
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}
.include <bsd.port.post.mk>