diff options
author | uebayasi <uebayasi> | 2008-10-11 09:31:54 +0000 |
---|---|---|
committer | uebayasi <uebayasi> | 2008-10-11 09:31:54 +0000 |
commit | c4b82a5cd529780fd545357545325d304952e605 (patch) | |
tree | 28f89f081daec07805c1f982f0bc63a420c005ba /textproc/emacs-dict-client | |
parent | a7300be85c95b1f5616bddb1498456305605775e (diff) | |
download | pkgsrc-c4b82a5cd529780fd545357545325d304952e605.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/emacs-dict-client')
-rw-r--r-- | textproc/emacs-dict-client/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/textproc/emacs-dict-client/Makefile b/textproc/emacs-dict-client/Makefile index 052ebe7a0ed..1265f4c2c67 100644 --- a/textproc/emacs-dict-client/Makefile +++ b/textproc/emacs-dict-client/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/03/04 21:30:46 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2008/10/11 09:31:58 uebayasi Exp $ DISTNAME= dictionary-1.8.2 PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/dictionary/emacs-dict-client/} @@ -10,12 +10,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://me.in-berlin.de/~myrkr/dictionary/ COMMENT= Emacs package for talking to a dictionary server +PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS= ${EMACS_LISPPREFIX:C|^${PREFIX}/||}/dictionary + do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp/dictionary cd ${WRKSRC}; \ ${INSTALL_DATA} connection.elc connection.el dictionary.elc \ dictionary.el link.elc link.el dictionary-init.el \ - ${PREFIX}/share/emacs/site-lisp/dictionary + ${DESTDIR}${EMACS_LISPPREFIX}/dictionary -.include "../../mk/emacs.mk" +.include "../../editors/emacs/modules.mk" .include "../../mk/bsd.pkg.mk" |