pkgsrc-WIP-changes archive

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

eh: Initial version, PR pkg/60705



Module Name:	pkgsrc-wip
Committed By:	Marcin Gondek <drixter%e-utp.net@localhost>
Pushed By:	drixter
Date:		Wed Oct 7 22:28:44 2026 +0200
Changeset:	bcec21dc03963f97cce2317bba0e19ae71b7ef25

Added Files:
	eh/DESCR
	eh/Makefile
	eh/PLIST
	eh/TODO
	eh/distinfo
	eh/patches/patch-Makefile

Log Message:
eh: Initial version, PR pkg/60705

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

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

diffstat:
 eh/DESCR                  |  2 ++
 eh/Makefile               | 22 ++++++++++++++++++++++
 eh/PLIST                  |  2 ++
 eh/TODO                   |  3 +++
 eh/distinfo               |  6 ++++++
 eh/patches/patch-Makefile | 17 +++++++++++++++++
 6 files changed, 52 insertions(+)

diffs:
diff --git a/eh/DESCR b/eh/DESCR
new file mode 100644
index 0000000000..469d406d99
--- /dev/null
+++ b/eh/DESCR
@@ -0,0 +1,2 @@
+eh is a small terminal text editor written in C, designed with
+simplicity and portability in mind.
diff --git a/eh/Makefile b/eh/Makefile
new file mode 100644
index 0000000000..40113768f9
--- /dev/null
+++ b/eh/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+DISTNAME=		eh-1.9.0
+CATEGORIES=		editors
+MASTER_SITES=		https://codeberg.org/SirWumpus/eh/archive/
+DISTFILES=		v${PKGVERSION_NOREV}.tar.gz
+
+MAINTAINER=		ricardsonwilliams%gmail.com@localhost
+HOMEPAGE=		https://codeberg.org/SirWumpus/eh/
+COMMENT=		Small terminal text editor
+LICENSE=		eh-license
+
+WRKSRC=			${WRKDIR}/eh
+
+MAKE_FLAGS+=		LDFLAGS=${LDFLAGS:Q}
+
+INSTALLATION_DIRS=	bin
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/eh ${DESTDIR}${PREFIX}/bin/eh
+
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/eh/PLIST b/eh/PLIST
new file mode 100644
index 0000000000..d4d505e0d4
--- /dev/null
+++ b/eh/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/eh
diff --git a/eh/TODO b/eh/TODO
new file mode 100644
index 0000000000..04cb983ea5
--- /dev/null
+++ b/eh/TODO
@@ -0,0 +1,3 @@
+Clarify license
+Optimalization
+
diff --git a/eh/distinfo b/eh/distinfo
new file mode 100644
index 0000000000..28604cc904
--- /dev/null
+++ b/eh/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (v1.9.0.tar.gz) = 6d0a1b68e7645b4d8034a11322dcdbc7b1d4c51c29f67ed925d37bd8baadddb5
+SHA512 (v1.9.0.tar.gz) = 41432003af57c6d3805b2b1566efd7efa4cde1552e4af571d1bf66740c6fc3dfee9705c1ed0057e3a0096c145c628353c33338f84e337cd4387885c221deedd9
+Size (v1.9.0.tar.gz) = 171387 bytes
+SHA1 (patch-Makefile) = fd797043c38765667b64407ed333480586fea91a
diff --git a/eh/patches/patch-Makefile b/eh/patches/patch-Makefile
new file mode 100644
index 0000000000..c2b693de12
--- /dev/null
+++ b/eh/patches/patch-Makefile
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Remove hardcoded MANDIR to avoid execution of find
+
+--- Makefile.orig	2026-10-07 20:19:15.562479714 +0000
++++ Makefile
+@@ -105,8 +105,8 @@ NCURSESW!= if find / -maxdepth 4 -name '
+ 
+ LIBS	!= echo '${LIBS} '; if ${NCURSESW}; then echo '-lncursesw'; elif ${NCURSES}; then echo '-lncurses'; else echo '-lcurses'; fi
+ 
+-MANDIR	!= dirname "$$(find /usr/local -maxdepth 3 -type d -name man1)"
+-MANDIR  != if test "${MANDIR}" = '.'; then echo /usr/local/share/man; else echo ${MANDIR}; fi
++#MANDIR	!= dirname "$$(find /usr/local -maxdepth 3 -type d -name man1)"
++#MANDIR  != if test "${MANDIR}" = '.'; then echo /usr/local/share/man; else echo ${MANDIR}; fi
+ 
+ #######################################################################
+ # Inference Rules


Home | Main Index | Thread Index | Old Index