diff options
author | uebayasi <uebayasi> | 2008-10-11 09:31:54 +0000 |
---|---|---|
committer | uebayasi <uebayasi> | 2008-10-11 09:31:54 +0000 |
commit | b96889b1354fc2db619e890c37d47726128607e1 (patch) | |
tree | 28f89f081daec07805c1f982f0bc63a420c005ba /devel/haskell-mode | |
parent | 82bb21f245fe7a2dee3f10a3aec11ffd03c27e07 (diff) | |
download | pkgsrc-b96889b1354fc2db619e890c37d47726128607e1.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" |