pkgsrc-WIP-changes archive

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

editors/ee: import ee-1.5.2 as wip/ee



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Sun Jul 17 18:14:27 2022 +0200
Changeset:	fd3e01a44b84ac780c0457efe375d0cc332e17f1

Added Files:
	ee/DESCR
	ee/Makefile
	ee/PLIST
	ee/distinfo
	ee/patches/patch-create.make
	ee/patches/patch-ee.c

Log Message:
editors/ee: import ee-1.5.2 as wip/ee

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

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

diffstat:
 ee/DESCR                     |  3 +++
 ee/Makefile                  | 29 +++++++++++++++++++++++++++++
 ee/PLIST                     |  3 +++
 ee/distinfo                  |  7 +++++++
 ee/patches/patch-create.make | 15 +++++++++++++++
 ee/patches/patch-ee.c        | 17 +++++++++++++++++
 6 files changed, 74 insertions(+)

diffs:
diff --git a/ee/DESCR b/ee/DESCR
new file mode 100644
index 0000000000..e3972a6cdb
--- /dev/null
+++ b/ee/DESCR
@@ -0,0 +1,3 @@
+An easy to use text editor. Intended to be usable with little or no
+instruction. Provides a terminal (curses based) interface. Features
+pop-up menus. Born in HP-UX, included in FreeBSD.
diff --git a/ee/Makefile b/ee/Makefile
new file mode 100644
index 0000000000..1aa4a8ec26
--- /dev/null
+++ b/ee/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD$
+
+DISTNAME=	ee-1.5.2.src
+PKGNAME=	${DISTNAME:S,.src,,}
+CATEGORIES=	editors
+MASTER_SITES=	http://web.archive.org/web/20120716042037/http://mahon.cwx.net/sources/
+DIST_SUBDIR=	${PKGNAME_NOREV}
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	vms%retrobsd.ddns.net@localhost
+HOMEPAGE=	https://www.ucl.ac.uk/~ccaabaa/is/unix/ee.htm
+COMMENT=	EasyEdit, a classic curses text editor
+LICENSE=	2-clause-bsd
+
+USE_TOOLS+=	pkg-config
+USE_NCURSES=	yes     # fixterm()
+
+SUBST_CLASSES+=		paths
+SUBST_STAGE.paths=	pre-configure
+SUBST_FILES.paths+=	Makefile
+SUBST_SED.paths=	-e 's|/usr/local|${DESTDIR}${PREFIX}|g'
+SUBST_MESSAGE.paths=	Fixing installation dirs.
+
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
+
+WRKSRC=	${WRKDIR}/easyedit-1.5.2
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ee/PLIST b/ee/PLIST
new file mode 100644
index 0000000000..cc6003020a
--- /dev/null
+++ b/ee/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/ee
+man/man1/ee.1
diff --git a/ee/distinfo b/ee/distinfo
new file mode 100644
index 0000000000..d85a2e758d
--- /dev/null
+++ b/ee/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+BLAKE2s (ee-1.5.2/ee-1.5.2.src.tgz) = a8be0743e80ab053ff72e238da2ce66ed80bc494f1aa066cb50eb57ab5a9faf9
+SHA512 (ee-1.5.2/ee-1.5.2.src.tgz) = 9ca0e82d65971b0bce38e09c365b6eb8b81ca6ff5b244107ae254322e47e841e7f5345bf242a0a9dd66b731d46cead6f442016b9e070a1298e1a5319b1d7b97a
+Size (ee-1.5.2/ee-1.5.2.src.tgz) = 69651 bytes
+SHA1 (patch-create.make) = 703e98e869e26e611eed07b4c31b4d24db6428fc
+SHA1 (patch-ee.c) = 9da740c0bf6720c8b44839a6037d9cdbd7b3ba52
diff --git a/ee/patches/patch-create.make b/ee/patches/patch-create.make
new file mode 100644
index 0000000000..cfbc584ea0
--- /dev/null
+++ b/ee/patches/patch-create.make
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Link against ncurses.
+
+--- create.make.orig	2002-09-23 04:18:30.000000000 +0000
++++ create.make
+@@ -267,7 +267,7 @@ echo "all :	$TARGET" >> make.local
+ cat  >> make.local << EOF
+ 
+ curses :	ee.c
+-	cc ee.c -o ee \$(CFLAGS) -lcurses 
++	cc ee.c -o ee \$(CFLAGS) `pkg-config --libs ncurses`
+ 
+ ee :	ee.o new_curse.o
+ 	cc -o ee ee.o new_curse.o \$(CFLAGS) 
diff --git a/ee/patches/patch-ee.c b/ee/patches/patch-ee.c
new file mode 100644
index 0000000000..a7a16cff5d
--- /dev/null
+++ b/ee/patches/patch-ee.c
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Portability fix for POSIX <signal.h>
+
+--- ee.c.orig	2010-06-04 01:56:36.000000000 +0000
++++ ee.c
+@@ -111,6 +111,10 @@ nl_catd catalog;
+ #define SIGCHLD SIGCLD
+ #endif
+ 
++#ifndef	SIGUNUSED
++#define SIGUNUSED SIGSYS
++#endif
++
+ #define TAB 9
+ #define max(a, b)	(a > b ? a : b)
+ #define min(a, b)	(a < b ? a : b)


Home | Main Index | Thread Index | Old Index