pkgsrc-wip/haskell-mode/Makefile

38 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/
LICENSE= gnu-gpl-v3
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.haskell.org/haskell-mode/
COMMENT= Haskell mode for Emacs
MESSAGE_SUBST+= LISPDIR=${EMACS_LISPPREFIX}
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"