summaryrefslogtreecommitdiffstats
path: root/devel/git-modes/Makefile
blob: ef4f86e99d1f33ab81f3672985c3e9bcc7217ca8 (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
# Created by: KIMURA Yasuhiro <yasu@utahime.org>
# $FreeBSD$

PORTNAME=	git-modes
PORTVERSION=	20140314
CATEGORIES=	devel elisp
PKGNAMESUFFIX=	-${EMACS_PORT_NAME}

MAINTAINER=	yasu@utahime.org
COMMENT=	GNU Emacs modes for Git-related files

LICENSE=	GPLv3

RUN_DEPENDS=	git>0:${PORTSDIR}/devel/git

USE_GITHUB=	yes
GH_ACCOUNT=	magit
GH_TAGNAME=	${GH_COMMIT}
GH_COMMIT=	42e989c

USES=		gmake
USE_EMACS=	yes
PORTDOCS=	CONTRIBUTING.md README.md

ALL_TARGET=	lisp

OPTIONS_DEFINE=	DOCS

ELISPDIR=	${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
PLIST_SUB=	ELISPDIR=${ELISPDIR}

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>
OpenPOWER on IntegriCloud