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

PORTNAME=   haskell-mode
PORTVERSION=    1.44
CATEGORIES= lang elisp
MASTER_SITES=   http://www.haskell.org/haskell-mode/ \
        http://www.mirror.ac.uk/sites/www.haskell.org/haskell-mode/

MAINTAINER= jre@vineyard.net
COMMENT=    An Emacs lisp mode for editing haskell programs

NO_BUILD=   yes

ELISPDIR=   ${PREFIX}/${PLIST_DIRS}
ELISPFILES= haskell-decl-scan.el haskell-doc.el haskell-font-lock.el \
        haskell-ghci.el haskell-hugs.el haskell-indent.el \
        haskell-mode.el haskell-simple-indent.el

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

do-install:
    ${MKDIR} ${ELISPDIR}
.for i in ${ELISPFILES}
    ${INSTALL_DATA} ${WRKSRC}/${i} ${ELISPDIR}
.endfor

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>