summaryrefslogtreecommitdiff
path: root/lang/elixir-mode.el/Makefile
blob: 0dc43b08eb6a271ca10ccf1e486495caf132f9fb (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
PORTNAME=	elixir-mode.el
DISTVERSIONPREFIX=	v
PORTVERSION=	2.3.1
PORTREVISION=	9
CATEGORIES=	lang
PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}

MAINTAINER=	erlang@FreeBSD.org
COMMENT=	Emacs major mode for Elixir
WWW=		https://github.com/elixir-lang/emacs-elixir

LICENSE=	GPLv3

USES=		emacs
USE_GITHUB=	yes
GH_ACCOUNT=	elixir-lang
GH_PROJECT=	emacs-elixir

NO_ARCH=	yes
NO_BUILD=	yes

OPTIONS_DEFINE=	DOCS

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
	${INSTALL_DATA} ${WRKSRC}/*.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>