pkgsrc-WIP-changes archive

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

remove mg, imported.



Module Name:	pkgsrc-wip
Committed By:	nikita <nikita%NetBSD.org@localhost>
Pushed By:	nikita
Date:		Tue Apr 25 23:54:32 2023 +0200
Changeset:	6214f77715b95db492c46665ed7d67867848727c

Removed Files:
	mg/DESCR
	mg/Makefile
	mg/PLIST
	mg/distinfo
	mg/patches/patch-GNUmakefile
	mg/patches/patch-af
	mg/patches/patch-paragraph.c
	mg/patches/patch-ttyio.c

Log Message:
remove mg, imported.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6214f77715b95db492c46665ed7d67867848727c

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

diffstat:
 mg/DESCR                     | 23 -----------------------
 mg/Makefile                  | 38 --------------------------------------
 mg/PLIST                     |  3 ---
 mg/distinfo                  |  9 ---------
 mg/patches/patch-GNUmakefile | 27 ---------------------------
 mg/patches/patch-af          | 32 --------------------------------
 mg/patches/patch-paragraph.c | 15 ---------------
 mg/patches/patch-ttyio.c     | 16 ----------------
 8 files changed, 163 deletions(-)

diffs:
diff --git a/mg/DESCR b/mg/DESCR
deleted file mode 100644
index 78cd9d0cc2..0000000000
--- a/mg/DESCR
+++ /dev/null
@@ -1,23 +0,0 @@
-This is the portable version of the OpenBSD mg editor
-
-Mg (mg) is a Public Domain EMACS style editor.  It is "broadly"
-compatible with GNU Emacs, the latest creation of Richard M.
-Stallman, Chief GNUisance and inventor of Emacs.  GNU Emacs (and other
-portions of GNU as they are released) are essentially free, (there are
-handling charges for obtaining it) and so is Mg.  You may never have
-to learn another editor.  (But probably will, at least long enough to
-port Mg...)  Mg was formerly named MicroGnuEmacs, the name change was
-done at the request of Richard Stallman.
-
-Mg is not associated with the GNU project, and most of it does not
-have the copyright restrictions present in GNU Emacs.  (However, some
-of the system dependent modules and the regular expression module do
-have copyright notices.  Look at the source code for exact
-copyright restrictions.)  The Mg authors individually may or may not
-agree with the opinions expressed by Richard Stallman in "The GNU
-Manifesto".
-
-This program is intended to be a small, fast, and portable editor for
-people who can't (or don't want to) run real Emacs for one reason
-or another.  It is compatible with GNU because there shouldn't be
-any reason to learn more than one Emacs flavor.
diff --git a/mg/Makefile b/mg/Makefile
deleted file mode 100644
index be9e7fb7f4..0000000000
--- a/mg/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-# $NetBSD: Makefile,v 1.13 2020/04/27 04:22:22 rillig Exp $
-
-DISTNAME=	mg-20230406
-CATEGORIES=	editors
-MASTER_SITES=	${MASTER_SITE_GITHUB:=hboetes/}
-GITHUB_PROJECT=	mg
-GITHUB_TAG=	${PKGVERSION_NOREV}
-
-MAINTAINER=	abs%NetBSD.org@localhost
-HOMEPAGE=	https://github.com/hboetes/mg
-COMMENT=	Small, fast, public domain EMACS style editor
-
-#FAKE_NCURSES=	yes
-USE_TOOLS+=	install gmake pkg-config
-MAKE_ENV+=	prefix=${PREFIX}
-MAKE_FILE=	GNUmakefile
-
-CFLAGS.NetBSD+=	-D_OPENBSD_SOURCE
-
-INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
-
-CONFLICTS+=	mg2a-[0-9]*
-
-BUILDLINK_TRANSFORM+=	rm:-Werror
-
-SUBST_CLASSES+=		path
-SUBST_STAGE.path=	pre-configure
-SUBST_MESSAGE.path=	Adjusting path.
-SUBST_FILES.path=	GNUmakefile mg.1
-SUBST_SED.path=		-e "s|/usr/local|${PREFIX}|g"
-SUBST_SED.path+=	-e "s|/usr/share/doc|${PREFIX}/share/doc|g"
-
-.include "../../mk/bsd.prefs.mk"
-.if !empty(MACHINE_PLATFORM:MLinux-*-*)
-.include "../../devel/libbsd/buildlink3.mk"
-.endif
-.include "../../devel/ncursesw/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/mg/PLIST b/mg/PLIST
deleted file mode 100644
index c98d728251..0000000000
--- a/mg/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2012/12/12 12:47:50 wiz Exp $
-bin/mg
-man/man1/mg.1
diff --git a/mg/distinfo b/mg/distinfo
deleted file mode 100644
index d90dfd7dfe..0000000000
--- a/mg/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 10:21:33 nia Exp $
-
-BLAKE2s (mg-20230406-20230406.tar.gz) = d93c2f38b6f82e189c02f131b8c09073aee2f20f67cc6f106d0d61a8ea3a01a1
-SHA512 (mg-20230406-20230406.tar.gz) = 0d1ad46899c7afc4ce6634f0274286400d8a6bd8a7e28df970e1b6470d10520e1a74acb6059f3774a9ab9f6fd8e9ed7ddacf1cb70134538348e10f58a354ea4f
-Size (mg-20230406-20230406.tar.gz) = 157992 bytes
-SHA1 (patch-GNUmakefile) = b79834c2f125db8338c16697cde1719d3e039b13
-SHA1 (patch-af) = 678983bc292b41a2d67f969182bc377a47b89d2b
-SHA1 (patch-paragraph.c) = d68754b802c99fecb63a6cfa634f0360945f034f
-SHA1 (patch-ttyio.c) = 125cbdf461aec3f629340affc3c9f600bb9d7102
diff --git a/mg/patches/patch-GNUmakefile b/mg/patches/patch-GNUmakefile
deleted file mode 100644
index c35091f5a4..0000000000
--- a/mg/patches/patch-GNUmakefile
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD$
-
-
---- GNUmakefile.orig	2023-04-06 05:06:27.000000000 +0200
-+++ GNUmakefile	2023-04-25 23:05:43.954953743 +0200
-@@ -13,14 +13,18 @@
- includedir=	$(prefix)/include
- mandir=		$(prefix)/man
- 
--PKG_CONFIG=	/usr/bin/pkg-config --silence-errors
--INSTALL=	/usr/bin/install
--STRIP=		/usr/bin/strip
-+PKG_CONFIG?=	/usr/bin/pkg-config --silence-errors
-+INSTALL?=	/usr/bin/install
-+STRIP?=		/usr/bin/strip
- 
- UNAME:=		$(shell uname)
- ifeq ($(UNAME),FreeBSD)
-   BSD_CPPFLAGS:= -DHAVE_UTIL_H
-   BSD_LIBS:=	 -lutil
-+endif
-+ifeq ($(UNAME),NetBSD)
-+  BSD_CPPFLAGS:= -DHAVE_UTIL_H
-+  BSD_LIBS:=	 -lutil
- else
-   BSD_CPPFLAGS:= $(shell $(PKG_CONFIG) --cflags libbsd-overlay) -DHAVE_PTY_H
-   BSD_LIBS:=	 $(shell $(PKG_CONFIG) --libs libbsd-overlay) -lutil
diff --git a/mg/patches/patch-af b/mg/patches/patch-af
deleted file mode 100644
index 7eb7ae5260..0000000000
--- a/mg/patches/patch-af
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-af,v 1.3 2014/07/07 18:06:58 jperkin Exp $
-
-Include limits.h for INT_{MIN,MAX}
-
---- grep.c.orig	2011-01-02 22:57:56.000000000 +0000
-+++ grep.c
-@@ -152,7 +153,7 @@ gid(int f, int n)
- 	/* Skip backwards over delimiters we are currently on */
- 	while (i > 0) {
- 		c = lgetc(curwp->w_dotp, i);
--		if (isalnum(c) || c == '_')
-+		if (isalnum((unsigned char)c) || c == '_')
- 			break;
- 
- 		i--;
-@@ -161,14 +162,14 @@ gid(int f, int n)
- 	/* Skip the symbol itself */
- 	for (; i > 0; i--) {
- 		c = lgetc(curwp->w_dotp, i - 1);
--		if (!isalnum(c) && c != '_')
-+		if (!isalnum((unsigned char)c) && c != '_')
- 			break;
- 	}
- 	/* Fill the symbol in cprompt[] */
- 	for (j = 0; j < sizeof(cprompt) - 1 && i < llength(curwp->w_dotp);
- 	    j++, i++) {
- 		c = lgetc(curwp->w_dotp, i);
--		if (!isalnum(c) && c != '_')
-+		if (!isalnum((unsigned char)c) && c != '_')
- 			break;
- 		cprompt[j] = c;
- 	}
diff --git a/mg/patches/patch-paragraph.c b/mg/patches/patch-paragraph.c
deleted file mode 100644
index 4c41d9c4bb..0000000000
--- a/mg/patches/patch-paragraph.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-paragraph.c,v 1.1 2014/07/07 18:06:58 jperkin Exp $
-
-Include limits.h for INT_{MIN,MAX}
-
---- paragraph.c.orig	2011-01-02 22:57:56.000000000 +0000
-+++ paragraph.c
-@@ -9,6 +9,8 @@
- 
- #include "def.h"
- 
-+#include <limits.h>
-+
- static int	fillcol = 70;
- 
- #define MAXWORD 256
diff --git a/mg/patches/patch-ttyio.c b/mg/patches/patch-ttyio.c
deleted file mode 100644
index 69256f7889..0000000000
--- a/mg/patches/patch-ttyio.c
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD$
-
-SunOS needs sys/filio.h for FIONREAD.
-
---- ttyio.c.orig	2023-04-25 22:27:51.465437426 +0200
-+++ ttyio.c	2023-04-25 22:28:25.938802102 +0200
-@@ -14,6 +14,9 @@
- #include <sys/queue.h>
- #include <sys/time.h>
- #include <sys/types.h>
-+#ifdef __sun
-+#include <sys/filio.h>
-+#endif
- #include <errno.h>
- #include <fcntl.h>
- #include <poll.h>


Home | Main Index | Thread Index | Old Index