aboutsummaryrefslogtreecommitdiffstats
path: root/lang/haskell-mode.el/Makefile
blob: e665dc6c0051712c815315d017f9ba47dd90ced6 (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
# New ports collection makefile for:    haskell-mode.el
# Date created:     5 March 2004
# Whom:         Josh Elsasser <jre@vineyard.net>
#
# $FreeBSD$
#

PORTNAME=   haskell-mode
PORTVERSION=    2.8.0
CATEGORIES= lang elisp
MASTER_SITES=   http://projects.haskell.org/haskellmode-emacs/

MAINTAINER= umq@ueo.co.jp
COMMENT=    An Emacs lisp mode for editing haskell programs

NO_BUILD=   yes

LICENSE=    GPLv3
PORTDOCS=   ChangeLog NEWS fontlock.hs indent.hs README

ELISPDIR=   ${PREFIX}/${PLIST_DIRS}
ELISPFILES= ghc-core.el haskell-c.el haskell-cabal.el haskell-decl-scan.el \
        haskell-doc.el haskell-font-lock.el haskell-ghci.el \
        haskell-hugs.el haskell-indent.el haskell-indentation.el \
        haskell-mode.el haskell-simple-indent.el haskell-site-file.el \
        inf-haskell.el

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

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

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>