pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors Add emacs23 as a valid EMACS_TYPE.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f892692aa95c
branches:  trunk
changeset: 394129:f892692aa95c
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Jun 05 21:18:02 2009 +0000

description:
Add emacs23 as a valid EMACS_TYPE.

This addresses the issue reported in PR 40023.

diffstat:

 editors/emacs-snapshot/buildlink3.mk |  15 +++++++++++++++
 editors/emacs-snapshot/version.mk    |   9 +++++++++
 editors/emacs/modules.mk             |  21 ++++++++++++++-------
 3 files changed, 38 insertions(+), 7 deletions(-)

diffs (98 lines):

diff -r 125a483b3f1c -r f892692aa95c editors/emacs-snapshot/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/emacs-snapshot/buildlink3.mk      Fri Jun 05 21:18:02 2009 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2009/06/05 21:18:02 minskim Exp $
+
+BUILDLINK_TREE+=       emacs
+
+.if !defined(EMACS_BUILDLINK3_MK)
+EMACS_BUILDLINK3_MK:=
+
+.include "../../editors/emacs/modules.mk"
+BUILDLINK_API_DEPENDS.emacs+=  ${_EMACS_REQD}
+BUILDLINK_PKGSRCDIR.emacs?=    ${_EMACS_PKGDIR}
+
+BUILDLINK_CONTENTS_FILTER.emacs=       ${EGREP} '.*\.el$$|.*\.elc$$'
+.endif # EMACS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -emacs
diff -r 125a483b3f1c -r f892692aa95c editors/emacs-snapshot/version.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/emacs-snapshot/version.mk Fri Jun 05 21:18:02 2009 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: version.mk,v 1.1 2009/06/05 21:18:02 minskim Exp $
+
+_EMACS_FLAVOR= emacs
+_EMACS_REQD=   emacs>=23
+_EMACS_PKGDEP.base=
+_EMACS_PKGDEP.leim=
+
+_EMACS_VERSION_MAJOR=  23
+_EMACS_VERSION_MINOR=  0
diff -r 125a483b3f1c -r f892692aa95c editors/emacs/modules.mk
--- a/editors/emacs/modules.mk  Fri Jun 05 21:02:45 2009 +0000
+++ b/editors/emacs/modules.mk  Fri Jun 05 21:18:02 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: modules.mk,v 1.4 2008/10/28 00:17:31 uebayasi Exp $
+# $NetBSD: modules.mk,v 1.5 2009/06/05 21:18:02 minskim Exp $
 #
 # This Makefile fragment handles Emacs Lisp Packages (== ELPs).
 #
@@ -41,7 +41,9 @@
 #                      The user's favourite Emacs version.  The default
 #                      value is set in mk/defaults/mk.conf.
 #              Possible values:
-#                      emacs21, emacs21nox, emacs22, emacs22nox, emacs20, xemacs215, xemacs215nox, xemacs214, xemacs214nox
+#                      emacs21, emacs21nox, emacs22, emacs22nox,
+#                      emacs23, emacs20,
+#                      xemacs215, xemacs215nox, xemacs214, xemacs214nox
 #              Default value:
 #                      emacs22
 #
@@ -60,9 +62,13 @@
 #              Description:
 #                      Versions the ELP accepts (supports).
 #              Possible values:
-#                      emacs21, emacs21nox, emacs22, emacs22nox, emacs20, xemacs215, xemacs215nox, xemacs214, xemacs214nox
+#                      emacs21, emacs21nox, emacs22, emacs22nox,
+#                      emacs23, emacs20,
+#                      xemacs215, xemacs215nox, xemacs214, xemacs214nox
 #              Default value:
-#                      emacs21, emacs21nox, emacs22, emacs22nox, emacs20, xemacs215, xemacs215nox, xemacs214, xemacs214nox
+#                      emacs21, emacs21nox, emacs22, emacs22nox,
+#                      emacs23, emacs20,
+#                      xemacs215, xemacs215nox, xemacs214, xemacs214nox
 #
 #      EMACS_BUILDLINK
 #              Description:
@@ -165,10 +171,10 @@
 #              Possible values:
 #                      XXX
 #
-#      FOR_{emacs21,emacs21nox,emacs22,emacs22nox,emacs20,xemacs215,xemacs215nox,xemacs214,xemacs214nox}
+#      FOR_{emacs21,emacs21nox,emacs22,emacs22nox,emacs23,emacs20,xemacs215,xemacs215nox,xemacs214,xemacs214nox}
 #      FOR_{emacs,xemacs}
 #      FOR_{emacs_x,emacs_nox}
-#      NOTFOR_{emacs21,emacs21nox,emacs22,emacs22nox,emacs20,xemacs215,xemacs215nox,xemacs214,xemacs214nox}
+#      NOTFOR_{emacs21,emacs21nox,emacs22,emacs22nox,emacs23,emacs20,xemacs215,xemacs215nox,xemacs214,xemacs214nox}
 #      NOTFOR_{emacs,xemacs}
 #      NOTFOR_{emacs_x,emacs_nox}
 #              Description:
@@ -206,7 +212,7 @@
 #
 
 _EMACS_VERSIONS_ALL= \
-       emacs20 emacs21 emacs21nox emacs22 emacs22nox \
+       emacs20 emacs21 emacs21nox emacs22 emacs22nox emacs23 \
        xemacs214 xemacs214nox xemacs215 xemacs215nox
 
 _EMACS_PKGDIR_MAP= \
@@ -215,6 +221,7 @@
        emacs21nox@../../editors/emacs21-nox11 \
        emacs22@../../editors/emacs \
        emacs22nox@../../editors/emacs-nox11 \
+       emacs23@../../editors/emacs-snapshot \
        xemacs214@../../editors/xemacs \
        xemacs214nox@../../editors/xemacs-nox11 \
        xemacs215@../../editors/xemacs-current \



Home | Main Index | Thread Index | Old Index