pkgsrc-wip/haskell-mode/Makefile
Aleksej Saushev 696d670c8b Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.
2012-09-29 17:05:52 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2012/09/29 17:05:53 asau Exp $
#
DISTNAME= haskell-mode-2.7.0
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
CATEGORIES= devel
MASTER_SITES= http://projects.haskell.org/haskellmode-emacs/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.haskell.org/haskell-mode/
COMMENT= Haskell mode for Emacs
MESSAGE_SUBST+= LISPDIR=${EMACS_LISPPREFIX:Q}
SRCS= 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
do-build:
for f in ${SRCS}; do \
cd ${WRKSRC}; \
${EMACS_BIN} --no-init-file --no-site-file -batch \
-l haskell-mode.el -f batch-byte-compile $$f; \
done
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/haskell-mode
cd ${WRKSRC}; \
${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
${DESTDIR}${EMACS_LISPPREFIX}/haskell-mode
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"