2009-08-06 03:44:45 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2009/08/06 01:44:48 minskim 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}
|
2009-08-06 03:44:45 +02:00
|
|
|
PKGREVISION= 2
|
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
|
|
|
|
2008-03-03 18:45:33 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2008-10-11 11:31:54 +02:00
|
|
|
INSTALLATION_DIRS= ${EMACS_LISPPREFIX:C|^${PREFIX}/||}/haskell-mode \
|
|
|
|
share/doc/html/haskell-mode
|
2008-03-03 18:45:33 +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:
|
2001-04-29 01:59:17 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
|
2008-03-03 18:45:33 +01:00
|
|
|
${DESTDIR}${EMACS_LISPPREFIX}/haskell-mode
|
2002-09-07 13:07:55 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${HTML} \
|
2008-03-03 18:45:33 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/doc/html/haskell-mode
|
2000-11-30 03:29:27 +01:00
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2000-11-30 03:29:27 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|