summaryrefslogtreecommitdiff
path: root/editors/emacs21/version.mk
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2008-10-11 09:31:54 +0000
committeruebayasi <uebayasi>2008-10-11 09:31:54 +0000
commitb96889b1354fc2db619e890c37d47726128607e1 (patch)
tree28f89f081daec07805c1f982f0bc63a420c005ba /editors/emacs21/version.mk
parent82bb21f245fe7a2dee3f10a3aec11ffd03c27e07 (diff)
downloadpkgsrc-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 'editors/emacs21/version.mk')
-rw-r--r--editors/emacs21/version.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/editors/emacs21/version.mk b/editors/emacs21/version.mk
new file mode 100644
index 00000000000..5ffee21196e
--- /dev/null
+++ b/editors/emacs21/version.mk
@@ -0,0 +1,9 @@
+# $NetBSD: version.mk,v 1.1 2008/10/11 09:31:56 uebayasi Exp $
+
+_EMACS_FLAVOR= emacs
+_EMACS_REQD= emacs>=21<22
+_EMACS_PKGDEP.base=
+_EMACS_PKGDEP.leim= leim>=21.${EMACS_VERSION_MINOR}<22:../../editors/leim21
+
+_EMACS_VERSION_MAJOR= 21
+_EMACS_VERSION_MINOR= 4