2006-03-04 22:28:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.16 2006/03/04 21:29:15 jlam Exp $
|
2000-11-30 03:29:27 +01:00
|
|
|
|
2003-01-11 16:33:27 +01:00
|
|
|
DISTNAME= haskell-mode-1.44
|
2005-08-28 06:25:28 +02:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2000-11-30 03:29:27 +01:00
|
|
|
CATEGORIES= devel editors
|
2001-05-06 02:08:29 +02:00
|
|
|
MASTER_SITES= http://www.haskell.org/haskell-mode/
|
2000-11-30 03:29:27 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-11-30 03:29:27 +01:00
|
|
|
HOMEPAGE= http://www.haskell.org/haskell-mode/
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Haskell mode for Emacs
|
2000-11-30 03:29:27 +01:00
|
|
|
|
2002-09-07 13:07:55 +02:00
|
|
|
HTML= .emacs fontlock.hs indent.hs index.html installation-guide.html
|
|
|
|
SRCS= 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
|
2000-11-30 03:29:27 +01:00
|
|
|
|
|
|
|
do-build:
|
2001-05-06 02:08:29 +02:00
|
|
|
for f in ${SRCS}; do \
|
2003-01-11 16:33:27 +01:00
|
|
|
${EMACS_BIN} --no-init-file --no-site-file -batch \
|
2001-05-06 02:08:29 +02:00
|
|
|
-f batch-byte-compile ${WRKSRC}/$$f; \
|
2001-01-28 04:27:59 +01:00
|
|
|
done
|
2000-11-30 03:29:27 +01:00
|
|
|
|
|
|
|
do-install:
|
2002-09-14 05:20:28 +02:00
|
|
|
${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/haskell-mode
|
2001-04-29 01:59:17 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
|
2002-09-14 05:20:28 +02:00
|
|
|
${EMACS_LISPPREFIX}/haskell-mode
|
2002-09-07 13:07:55 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/haskell-mode
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${HTML} \
|
|
|
|
${PREFIX}/share/doc/html/haskell-mode
|
2000-11-30 03:29:27 +01:00
|
|
|
|
2003-01-11 16:33:27 +01:00
|
|
|
.include "../../mk/emacs.mk"
|
2000-11-30 03:29:27 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|