summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-04-06 22:41:03 +0000
committerwiz <wiz@pkgsrc.org>2022-04-06 22:41:03 +0000
commita6a9c455a4c079ae9967646c53b36c658d44c2e2 (patch)
tree5d430c2465118430f9fbd398bee9c877e306c75b /editors
parent635aac9e5323ad31f62994ddc21fce80f68c414e (diff)
downloadpkgsrc-a6a9c455a4c079ae9967646c53b36c658d44c2e2.tar.gz
editors/emacs28-nox11: import emacs28-nox11-28.1
GNU Emacs is an extensible, customizable editor textand more. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing. The features of GNU Emacs include: - Content-sensitive editing modes, including syntax coloring, for a wide variety of file types including plain text, source code, and HTML. - Complete built-in documentation, including a tutorial for new users. - Support for many languages and their scripts, including all scripts, Russian, Greek, Japanese, Chinese, Korean, Thai, Vietnamese, Lao, Ethiopian, and some Indian scripts. - Highly customizable, using Emacs Lisp code or a graphical customization interface. - A large number of extensions that add other functionality, including a project planner, mail and news reader, debugger interface, calendar, and more. Many of these extensions are distributed with GNU Emacs; others are available separately. This package contains Emacs version 28.
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs28-nox11/DESCR19
-rw-r--r--editors/emacs28-nox11/Makefile17
-rw-r--r--editors/emacs28-nox11/buildlink3.mk16
-rw-r--r--editors/emacs28-nox11/version.mk7
4 files changed, 59 insertions, 0 deletions
diff --git a/editors/emacs28-nox11/DESCR b/editors/emacs28-nox11/DESCR
new file mode 100644
index 00000000000..95fbd133563
--- /dev/null
+++ b/editors/emacs28-nox11/DESCR
@@ -0,0 +1,19 @@
+GNU Emacs is an extensible, customizable editor textand more. At its
+core is an interpreter for Emacs Lisp, a dialect of the Lisp
+programming language with extensions to support text editing. The
+features of GNU Emacs include:
+
+- Content-sensitive editing modes, including syntax coloring, for a
+ wide variety of file types including plain text, source code, and
+ HTML.
+- Complete built-in documentation, including a tutorial for new users.
+- Support for many languages and their scripts, including all scripts,
+ Russian, Greek, Japanese, Chinese, Korean, Thai, Vietnamese, Lao,
+ Ethiopian, and some Indian scripts.
+- Highly customizable, using Emacs Lisp code
+- A large number of extensions that add other functionality, including
+ a project planner, mail and news reader, debugger interface,
+ calendar, and more. Many of these extensions are distributed with
+ GNU Emacs; others are available separately.
+
+This package contains Emacs version 28 without X11 Window System Extension.
diff --git a/editors/emacs28-nox11/Makefile b/editors/emacs28-nox11/Makefile
new file mode 100644
index 00000000000..62a16307a42
--- /dev/null
+++ b/editors/emacs28-nox11/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2022/04/06 22:41:03 wiz Exp $
+
+PKGNAME= ${DISTNAME:S/emacs/emacs28/:S/-/-nox11-/}
+CONFLICTS+= emacs28-[0-9]*
+
+FILESDIR= ${.CURDIR}/../../editors/emacs28/files
+PATCHDIR= ${.CURDIR}/../../editors/emacs28/patches
+PKGDIR= ${.CURDIR}/../../editors/emacs28
+DISTINFO_FILE= ${.CURDIR}/../../editors/emacs28/distinfo
+
+# minimal emacs without X
+CONFIGURE_ARGS+= --without-all --without-x
+# but we want to gzip installed files
+CONFIGURE_ARGS+= --with-compress-install
+
+.include "../../editors/emacs28/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/emacs28-nox11/buildlink3.mk b/editors/emacs28-nox11/buildlink3.mk
new file mode 100644
index 00000000000..0b5922e6547
--- /dev/null
+++ b/editors/emacs28-nox11/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/04/06 22:41:03 wiz Exp $
+#
+
+BUILDLINK_TREE+= emacs-nox11
+
+.if !defined(EMACS_NOX11_BUILDLINK3_MK)
+EMACS_NOX11_BUILDLINK3_MK:=
+
+.include "../../editors/emacs/modules.mk"
+BUILDLINK_API_DEPENDS.emacs-nox11+= ${_EMACS_REQD}
+BUILDLINK_PKGSRCDIR.emacs-nox11?= ${_EMACS_PKGDIR}
+
+BUILDLINK_CONTENTS_FILTER.emacs-nox11= ${EGREP} '.*\.el$$|.*\.elc$$'
+.endif # EMACS_NOX11_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -emacs-nox11
diff --git a/editors/emacs28-nox11/version.mk b/editors/emacs28-nox11/version.mk
new file mode 100644
index 00000000000..ce2474bf5d2
--- /dev/null
+++ b/editors/emacs28-nox11/version.mk
@@ -0,0 +1,7 @@
+# $NetBSD: version.mk,v 1.1 2022/04/06 22:41:03 wiz Exp $
+
+_EMACS_FLAVOR= emacs
+_EMACS_REQD= emacs28-nox11>=28.1<29
+
+_EMACS_VERSION_MAJOR= 28
+_EMACS_VERSION_MINOR= 1