summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2020-08-12 14:17:52 +0000
committerryoon <ryoon@pkgsrc.org>2020-08-12 14:17:52 +0000
commitd378360d651ce30d5563fdcf8fc216ec8f183f5f (patch)
tree19aec5eca9e6448053b290406e8f8a2ae5e20db2 /editors
parent61a01f87b6fbb4e970d2df0df061c95cf022a7c2 (diff)
downloadpkgsrc-d378360d651ce30d5563fdcf8fc216ec8f183f5f.tar.gz
editors/emacs27-nox11: import emacs27-nox11-27.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 27.
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs27-nox11/DESCR19
-rw-r--r--editors/emacs27-nox11/Makefile30
-rw-r--r--editors/emacs27-nox11/buildlink3.mk16
-rw-r--r--editors/emacs27-nox11/version.mk7
4 files changed, 72 insertions, 0 deletions
diff --git a/editors/emacs27-nox11/DESCR b/editors/emacs27-nox11/DESCR
new file mode 100644
index 00000000000..9c89bbfa05b
--- /dev/null
+++ b/editors/emacs27-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 27 without X11 Window System Extension.
diff --git a/editors/emacs27-nox11/Makefile b/editors/emacs27-nox11/Makefile
new file mode 100644
index 00000000000..66a8ea5e514
--- /dev/null
+++ b/editors/emacs27-nox11/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2020/08/12 14:17:52 ryoon Exp $
+
+PKGNAME= ${DISTNAME:S/emacs/emacs27/:S/-/-nox11-/}
+CONFLICTS+= emacs27-[0-9]*
+
+FILESDIR= ${.CURDIR}/../../editors/emacs27/files
+PATCHDIR= ${.CURDIR}/../../editors/emacs27/patches
+PKGDIR= ${.CURDIR}/../../editors/emacs27
+DISTINFO_FILE= ${.CURDIR}/../../editors/emacs27/distinfo
+
+.include "../../editors/emacs27/Makefile.common"
+
+CONFIGURE_ARGS+= --without-dbus
+CONFIGURE_ARGS+= --without-xml2
+CONFIGURE_ARGS+= --without-gnutls
+CONFIGURE_ARGS+= --without-rsvg
+CONFIGURE_ARGS+= --without-gconf
+CONFIGURE_ARGS+= --without-imagemagick
+CONFIGURE_ARGS+= --without-xaw3d
+CONFIGURE_ARGS+= --without-xft --without-libotf --without-m17n-flt
+CONFIGURE_ARGS+= --without-ns
+
+CONFIGURE_ARGS+= --without-x
+CONFIGURE_ARGS+= --without-xpm
+CONFIGURE_ARGS+= --without-jpeg
+CONFIGURE_ARGS+= --without-tiff
+CONFIGURE_ARGS+= --without-gif
+CONFIGURE_ARGS+= --without-png
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/emacs27-nox11/buildlink3.mk b/editors/emacs27-nox11/buildlink3.mk
new file mode 100644
index 00000000000..7ba99a7d456
--- /dev/null
+++ b/editors/emacs27-nox11/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/08/12 14:17:52 ryoon 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/emacs27-nox11/version.mk b/editors/emacs27-nox11/version.mk
new file mode 100644
index 00000000000..9267b109764
--- /dev/null
+++ b/editors/emacs27-nox11/version.mk
@@ -0,0 +1,7 @@
+# $NetBSD: version.mk,v 1.1 2020/08/12 14:17:52 ryoon Exp $
+
+_EMACS_FLAVOR= emacs
+_EMACS_REQD= emacs27-nox11>=27.1<28
+
+_EMACS_VERSION_MAJOR= 27
+_EMACS_VERSION_MINOR= 1