summaryrefslogtreecommitdiff
path: root/lang/haskell-mode.el/Makefile
blob: 1438a74fbfada83e6ee6f8c52c68536aff08a45f (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
PORTNAME=	haskell-mode
DISTVERSION=	17.2
PORTREVISION=	3
CATEGORIES=	lang elisp
PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}

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

LICENSE=	GPLv3

USES=		emacs gmake
USE_GITHUB=	yes
GH_ACCOUNT=	haskell

PORTDOCS=	NEWS README.md
ALL_TARGET=	haskell-mode-autoloads.el
NO_ARCH=	yes

OPTIONS_DEFINE=	DOCS

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-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-autoloads.el \
		haskell-mode-pkg.el \
		haskell-mode.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-svg.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>