2014-04-23 02:57:10 +02:00
|
|
|
# Created by: KIMURA Yasuhiro <yasu@utahime.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= git-modes
|
2015-03-30 13:49:25 +02:00
|
|
|
PORTVERSION= 20150317
|
2014-04-23 02:57:10 +02:00
|
|
|
CATEGORIES= devel elisp
|
|
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
|
|
|
|
|
|
|
MAINTAINER= yasu@utahime.org
|
|
|
|
COMMENT= GNU Emacs modes for Git-related files
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= magit
|
2015-03-30 13:49:25 +02:00
|
|
|
GH_TAGNAME= b77c865
|
2014-04-23 02:57:10 +02:00
|
|
|
|
|
|
|
USES= gmake
|
|
|
|
USE_EMACS= yes
|
|
|
|
PORTDOCS= CONTRIBUTING.md README.md
|
|
|
|
|
|
|
|
ALL_TARGET= lisp
|
|
|
|
|
2014-11-01 17:11:32 +01:00
|
|
|
OPTIONS_DEFINE= DOCS GIT_SUBVERSION
|
2014-04-23 02:57:10 +02:00
|
|
|
|
|
|
|
ELISPDIR= ${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
|
|
|
|
PLIST_SUB= ELISPDIR=${ELISPDIR}
|
2014-11-01 17:11:32 +01:00
|
|
|
GIT_SUBVERSION_DESC= Use devel/git-subversion as backend
|
|
|
|
GIT_SUBVERSION_RUN_DEPENDS= git-subversion>0:${PORTSDIR}/devel/git-subversion
|
|
|
|
GIT_SUBVERSION_RUN_DEPENDS_OFF= git>0:${PORTSDIR}/devel/git
|
2014-04-23 02:57:10 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.el ${WRKSRC}/*.elc ${STAGEDIR}${PREFIX}/${ELISPDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/CONTRIBUTING.md ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|