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 /textproc/ispell-emacs | |
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 'textproc/ispell-emacs')
-rw-r--r-- | textproc/ispell-emacs/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/textproc/ispell-emacs/Makefile b/textproc/ispell-emacs/Makefile index 47041f09e03..47dcc3bfbb0 100644 --- a/textproc/ispell-emacs/Makefile +++ b/textproc/ispell-emacs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/10/04 22:01:00 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2008/10/11 09:31:58 uebayasi Exp $ # DISTNAME= ispell.el @@ -12,6 +12,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.eng.utah.edu/~kstevens/ispell-page.html COMMENT= Emacs interface for ispell spell checker +PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS= ${EMACS_LISPPREFIX:C|^${PREFIX}/||}/ispell + DEPENDS+= ispell-base-[0-9]*:../../textproc/ispell-base DIST_SUBDIR= ${PKGNAME_NOREV:C|^xemacs-||} @@ -21,8 +24,7 @@ NO_CONFIGURE= yes NO_BUILD= yes do-install: - ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/ispell - ${INSTALL_DATA} ${WRKSRC}/ispell.el ${EMACS_LISPPREFIX}/ispell + ${INSTALL_DATA} ${WRKSRC}/ispell.el ${DESTDIR}${EMACS_LISPPREFIX}/ispell -.include "../../mk/emacs.mk" +.include "../../editors/emacs/modules.mk" .include "../../mk/bsd.pkg.mk" |