summaryrefslogtreecommitdiff
path: root/lang/haskell-mode.el/Makefile
blob: 8f0b837d30c8b508e40167675af04cc89cd8adde (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Created by: Josh Elsasser <jre@vineyard.net>
# $FreeBSD$

PORTNAME=	haskell-mode
PORTVERSION=	16.1
PORTREVISION=	1
DISTVERSIONPREFIX=v
CATEGORIES=	lang elisp

MAINTAINER=	aehlig@linta.de
COMMENT=	Emacs lisp mode for editing haskell programs

LICENSE=	GPLv3

USE_EMACS=	yes

OPTIONS_DEFINE=	DOCS

GH_ACCOUNT=	haskell
PORTDOCS=	NEWS README.md
USE_GITHUB=	yes
USES=		gmake
ALL_TARGET=	haskell-mode-autoloads.el
NO_ARCH=	yes

ELISPDIR=	${PREFIX}/${PLIST_DIRS}
ELISPFILES=	ghc-core.el ghci-script-mode.el haskell-align-imports.el \
		haskell-c2hs.el \
		haskell-cabal.el \
		haskell-collapse.el haskell-commands.el \
		haskell-compat.el haskell-compile.el \
		haskell-complete-module.el haskell-completions.el \
		haskell-customize.el \
		haskell-debug.el haskell-decl-scan.el \
		haskell-doc.el haskell-font-lock.el \
		haskell-ghc-support.el \
		haskell-hoogle.el \
		haskell-indent.el haskell-indentation.el \
		haskell-interactive-mode.el haskell-lexeme.el haskell-load.el \
		haskell-menu.el haskell-mode-pkg.el haskell-mode.el \
		haskell-mode-autoloads.el haskell-modules.el \
		haskell-move-nested.el haskell-navigate-imports.el \
		haskell-presentation-mode.el \
		haskell-process.el haskell-repl.el haskell-sandbox.el \
		haskell-session.el \
		haskell-sort-imports.el haskell-string.el \
		haskell-unicode-input-method.el haskell-utils.el \
		haskell.el highlight-uses-mode.el inf-haskell.el \
		w3m-haddock.el

PLIST_DIRS=	share/emacs/site-lisp/${PORTNAME}/
PLIST_FILES=	${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g}
SUB_FILES=	pkg-message

do-install:
	@${MKDIR} ${STAGEDIR}${ELISPDIR}
	${INSTALL_DATA} ${ELISPFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${ELISPDIR}/

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>