From add5e29dd1f7251bcea6af768c721665d0ec1c4d Mon Sep 17 00:00:00 2001 From: mef Date: Wed, 20 Jun 2018 11:08:22 +0000 Subject: [PATCH] editors/emacs26-nox11: import emacs26-nox11-26.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 26. --- editors/emacs26-nox11/DESCR | 19 +++++++++++++++++++ editors/emacs26-nox11/Makefile | 29 +++++++++++++++++++++++++++++ editors/emacs26-nox11/buildlink3.mk | 16 ++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 editors/emacs26-nox11/DESCR create mode 100644 editors/emacs26-nox11/Makefile create mode 100644 editors/emacs26-nox11/buildlink3.mk diff --git a/editors/emacs26-nox11/DESCR b/editors/emacs26-nox11/DESCR new file mode 100644 index 000000000000..00759b8bd3af --- /dev/null +++ b/editors/emacs26-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 26 without X11 Window System Extension. diff --git a/editors/emacs26-nox11/Makefile b/editors/emacs26-nox11/Makefile new file mode 100644 index 000000000000..b6cfca19d941 --- /dev/null +++ b/editors/emacs26-nox11/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2018/06/20 11:08:22 mef Exp $ + +PKGNAME= ${DISTNAME:S/emacs/emacs26/:S/-/-nox11-/} +CONFLICTS+= emacs26-[0-9]* + +FILESDIR= ${.CURDIR}/../../editors/emacs26/files +PATCHDIR= ${.CURDIR}/../../editors/emacs26/patches +PKGDIR= ${.CURDIR}/../../editors/emacs26 +DISTINFO_FILE= ${.CURDIR}/../../editors/emacs26/distinfo + +.include "../../editors/emacs26/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-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/emacs26-nox11/buildlink3.mk b/editors/emacs26-nox11/buildlink3.mk new file mode 100644 index 000000000000..1e3d448bc2e1 --- /dev/null +++ b/editors/emacs26-nox11/buildlink3.mk @@ -0,0 +1,16 @@ +# $NetBSD: buildlink3.mk,v 1.1 2018/06/20 11:08:22 mef 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