diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2006-03-11 06:23:20 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2006-03-11 06:23:20 +0000 |
commit | f8b1aeea7f9004306fe0e82c606cf8778d49bd03 (patch) | |
tree | 73aad43fad14a77e82ea57ff255966405820794c /mk | |
parent | 2be075804b6cd1a5c577e21d173289c3b2378161 (diff) | |
download | pkgsrc-f8b1aeea7f9004306fe0e82c606cf8778d49bd03.tar.gz |
Export EMACS_VERSION_MAJOR and EMACS_VERSION_MINOR to packages using emacs.mk.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/emacs.mk | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/mk/emacs.mk b/mk/emacs.mk index dd453b8343f..b0eac9b555b 100644 --- a/mk/emacs.mk +++ b/mk/emacs.mk @@ -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 @@ CONFLICTS+= ${PKGBASE:C|^xemacs-||}-[0-9]* 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 |