aboutsummaryrefslogtreecommitdiff
path: root/devel/clojure-cider/Makefile
blob: 54f5f386a7c89b1725dc302b5140a7be2db77ab7 (plain) (blame)
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
38
39
40
41
42
43
44
PORTNAME=	clojure-cider
PORTVERSION=	1.1.0
DISTVERSIONPREFIX=	v
CATEGORIES=	devel elisp
PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Clojure IDE and REPL for Emacs

LICENSE=	GPLv3+

RUN_DEPENDS=	clojure-mode.el${EMACS_PKGNAMESUFFIX}>0:lang/clojure-mode.el@${EMACS_FLAVOR} \
		dash.el${EMACS_PKGNAMESUFFIX}>0:devel/dash.el@${EMACS_FLAVOR} \
		epl.el${EMACS_PKGNAMESUFFIX}>0:devel/epl.el@${EMACS_FLAVOR} \
		pkg-info.el${EMACS_PKGNAMESUFFIX}>0:devel/pkg-info.el@${EMACS_FLAVOR}

USES=		emacs
USE_GITHUB=	yes
GH_ACCOUNT=	clojure-emacs
GH_PROJECT=	cider

NO_BUILD=	yes
NO_ARCH=	yes

PLIST_FILES=	${EMACS_SITE_LISPDIR}/cider-client.el \
		${EMACS_SITE_LISPDIR}/cider-eldoc.el \
		${EMACS_SITE_LISPDIR}/cider-inspector.el \
		${EMACS_SITE_LISPDIR}/cider-macroexpansion.el \
		${EMACS_SITE_LISPDIR}/cider-mode.el \
		${EMACS_SITE_LISPDIR}/cider-repl.el \
		${EMACS_SITE_LISPDIR}/cider-scratch.el \
		${EMACS_SITE_LISPDIR}/cider-selector.el \
		${EMACS_SITE_LISPDIR}/cider-stacktrace.el \
		${EMACS_SITE_LISPDIR}/cider-util.el \
		${EMACS_SITE_LISPDIR}/cider.el \
		${EMACS_SITE_LISPDIR}/nrepl-client.el

do-install:
.for f in ${PLIST_FILES:S,^${EMACS_SITE_LISPDIR}/,,}
	${INSTALL_DATA} ${WRKSRC}/${f} \
		${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
.endfor

.include <bsd.port.mk>