pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Export EMACS_VERSION_MAJOR and EMACS_VERSION_MINOR ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4057104a7f8c
branches: trunk
changeset: 509527:4057104a7f8c
user: uebayasi <uebayasi%pkgsrc.org@localhost>
date: Sat Mar 11 06:23:20 2006 +0000
description:
Export EMACS_VERSION_MAJOR and EMACS_VERSION_MINOR to packages using emacs.mk.
diffstat:
mk/emacs.mk | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r f63ce0459476 -r 4057104a7f8c mk/emacs.mk
--- a/mk/emacs.mk Sat Mar 11 04:56:48 2006 +0000
+++ b/mk/emacs.mk Sat Mar 11 06:23:20 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: emacs.mk,v 1.23 2005/12/05 22:07:07 rillig Exp $
+# $NetBSD: emacs.mk,v 1.24 2006/03/11 06:23:20 uebayasi Exp $
#
# This Makefile fragment handles Emacs Lisp Packages (== ELPs).
#
@@ -118,6 +118,18 @@
# Possible values:
# "", "xemacs-"
#
+# EMACS_VERSION_MAJOR
+# Description:
+# Emacs major version.
+# Possible values:
+# 20, 21, 22, <integers more than that in the future>
+#
+# EMACS_VERSION_MINOR
+# Description:
+# Emacs minor version.
+# Possible values:
+# <interger>
+#
# Variables provided in ELPs' PLIST:
#
# EMACS_ETCPREFIX
@@ -283,6 +295,8 @@
EMACS_FLAVOR= ${_EMACS_TYPE:C|nox||:C|[0-9].*||}
EMACS_BIN= ${PREFIX}/bin/${EMACS_FLAVOR}
+EMACS_VERSION_MAJOR= ${_EMACS_VERSION_MAJOR}
+EMACS_VERSION_MINOR= ${_EMACS_VERSION_MINOR}
.if ${EMACS_FLAVOR} == "emacs"
EMACS_ETCPREFIX= ${PREFIX}/share
EMACS_INFOPREFIX= ${PREFIX}/info
Home |
Main Index |
Thread Index |
Old Index