pkgsrc-WIP-changes archive

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

ed: Follow the naming convention of binaries with "g" prefix



Module Name:	pkgsrc-wip
Committed By:	Marcin Gondek <drixter%e-utp.net@localhost>
Pushed By:	drixter
Date:		Mon Jul 13 10:38:37 2026 +0200
Changeset:	5c237a333472cb25ebdb2c89e34d6f81b5734b25

Modified Files:
	ed/Makefile
	ed/PLIST

Log Message:
ed: Follow the naming convention of binaries with "g" prefix

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

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

diffstat:
 ed/Makefile | 15 +++++++++++++++
 ed/PLIST    | 14 +++++++++-----
 2 files changed, 24 insertions(+), 5 deletions(-)

diffs:
diff --git a/ed/Makefile b/ed/Makefile
index 9204af088d..c883a1713b 100644
--- a/ed/Makefile
+++ b/ed/Makefile
@@ -19,4 +19,19 @@ USE_TOOLS+=		gmake
 
 INFO_FILES=		yes
 
+CONFIGURE_ARGS+=	--program-prefix=g
+
+INSTALL_TARGET=		install install-man
+TEST_TARGET=		check
+
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 gnu/bin gnu/${PKGMANDIR}/man1
+
+post-install:
+.for f in ed red
+	${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f}
+	${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}.1
+.endfor
+
+
+
 .include "../../mk/bsd.pkg.mk"
diff --git a/ed/PLIST b/ed/PLIST
index 32022741e5..42f5c93d3f 100644
--- a/ed/PLIST
+++ b/ed/PLIST
@@ -1,6 +1,10 @@
 @comment $NetBSD$
-bin/ed
-bin/red
-info/ed.info
-man/man1/ed.1
-man/man1/red.1
+bin/ged
+bin/gred
+gnu/bin/ed
+gnu/bin/red
+gnu/man/man1/ed.1
+gnu/man/man1/red.1
+info/ged.info
+man/man1/ged.1
+man/man1/gred.1


Home | Main Index | Thread Index | Old Index