pkgsrc-Changes archive

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

CVS commit: pkgsrc/editors/emacs30



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Wed Apr 30 12:36:36 UTC 2025

Modified Files:
        pkgsrc/editors/emacs30: Makefile.common
Added Files:
        pkgsrc/editors/emacs30: version.mk

Log Message:
editors/emacs30: editors/emacs/modules.mk requires version.mk


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/editors/emacs30/Makefile.common
cvs rdiff -u -r0 -r1.1 pkgsrc/editors/emacs30/version.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/editors/emacs30/Makefile.common
diff -u pkgsrc/editors/emacs30/Makefile.common:1.1 pkgsrc/editors/emacs30/Makefile.common:1.2
--- pkgsrc/editors/emacs30/Makefile.common:1.1  Mon Apr 28 08:28:54 2025
+++ pkgsrc/editors/emacs30/Makefile.common      Wed Apr 30 12:36:36 2025
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile.common,v 1.1 2025/04/28 08:28:54 wiz Exp $
+# $NetBSD: Makefile.common,v 1.2 2025/04/30 12:36:36 ryoon Exp $
 #
 # used by editors/emacs30/Makefile
 # used by editors/emacs30-nox11/Makefile
 
 .include "../../mk/bsd.prefs.mk"
 
-DISTNAME=      emacs-30.1
+DISTNAME=      emacs-${EMACS_VERSION}
 PKGNAME?=      ${DISTNAME:S/emacs/emacs30/}
 CATEGORIES=    editors
 MASTER_SITES=  ${MASTER_SITE_GNU:=emacs/}
@@ -16,6 +16,9 @@ HOMEPAGE=     https://www.gnu.org/software/e
 COMMENT=       GNU editing macros (editor)
 LICENSE=       gnu-gpl-v3
 
+.include "../../editors/emacs30/version.mk"
+EMACS_VERSION= ${_EMACS_VERSION_MAJOR}.${_EMACS_VERSION_MINOR}
+
 WRKSRC=                ${WRKDIR}/${DISTNAME:S/b$//}
 
 AUTOCONF_REQD+=        2.65

Added files:

Index: pkgsrc/editors/emacs30/version.mk
diff -u /dev/null pkgsrc/editors/emacs30/version.mk:1.1
--- /dev/null   Wed Apr 30 12:36:36 2025
+++ pkgsrc/editors/emacs30/version.mk   Wed Apr 30 12:36:36 2025
@@ -0,0 +1,7 @@
+# $NetBSD: version.mk,v 1.1 2025/04/30 12:36:36 ryoon Exp $
+
+_EMACS_FLAVOR= emacs
+_EMACS_REQD=   emacs30>=30.1<31
+
+_EMACS_VERSION_MAJOR=  30
+_EMACS_VERSION_MINOR=  1



Home | Main Index | Thread Index | Old Index