diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2008-10-11 09:31:54 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2008-10-11 09:31:54 +0000 |
commit | 34004f51e031966e3fbd210678c5083e196bf3e6 (patch) | |
tree | 28f89f081daec07805c1f982f0bc63a420c005ba /devel/haskell-mode | |
parent | 6bcc8c586e8d598300da44f38c8ec67a571ea234 (diff) | |
download | pkgsrc-34004f51e031966e3fbd210678c5083e196bf3e6.tar.gz |
Move mk/emacs.mk to editors/emacs/modules.mk.
Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users. Be DEPENDS to it. This should
address pkg/37146 by Aleksey Cheusov.
While here convert some emacs lisp packages to user-destdir.
Diffstat (limited to 'devel/haskell-mode')
-rw-r--r-- | devel/haskell-mode/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/haskell-mode/Makefile b/devel/haskell-mode/Makefile index adaa8ce6589..78b3ef65bac 100644 --- a/devel/haskell-mode/Makefile +++ b/devel/haskell-mode/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2008/03/03 17:45:35 jlam Exp $ +# $NetBSD: Makefile,v 1.18 2008/10/11 09:31:55 uebayasi Exp $ DISTNAME= haskell-mode-1.44 PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME} @@ -11,6 +11,8 @@ HOMEPAGE= http://www.haskell.org/haskell-mode/ COMMENT= Haskell mode for Emacs PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS= ${EMACS_LISPPREFIX:C|^${PREFIX}/||}/haskell-mode \ + share/doc/html/haskell-mode HTML= .emacs fontlock.hs indent.hs index.html installation-guide.html SRCS= haskell-decl-scan.el haskell-doc.el haskell-font-lock.el \ @@ -24,12 +26,10 @@ do-build: done do-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/haskell-mode cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \ ${DESTDIR}${EMACS_LISPPREFIX}/haskell-mode - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/haskell-mode cd ${WRKSRC} && ${INSTALL_DATA} ${HTML} \ ${DESTDIR}${PREFIX}/share/doc/html/haskell-mode -.include "../../mk/emacs.mk" +.include "../../editors/emacs/modules.mk" .include "../../mk/bsd.pkg.mk" |