pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/jless textproc/jless: rename command



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05d5402ec775
branches:  trunk
changeset: 373251:05d5402ec775
user:      pin <pin%pkgsrc.org@localhost>
date:      Thu Feb 10 08:31:22 2022 +0000

description:
textproc/jless: rename command

to avoid conflict with misc/ja-less.

diffstat:

 textproc/jless/Makefile |  9 +++++++--
 textproc/jless/PLIST    |  4 ++--
 2 files changed, 9 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r ff500f50cf92 -r 05d5402ec775 textproc/jless/Makefile
--- a/textproc/jless/Makefile   Thu Feb 10 07:45:23 2022 +0000
+++ b/textproc/jless/Makefile   Thu Feb 10 08:31:22 2022 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2022/02/10 07:45:23 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2022/02/10 08:31:22 pin Exp $
 
 DISTNAME=      jless-0.7.1
+PKGREVISION=    1
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=PaulJuliusMartinez/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -16,8 +17,12 @@
 
 INSTALLATION_DIRS=     bin
 
+# jless command conflicts with misc/ja-less
+# Rename it at install time
+
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/jless ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/jless \
+               ${DESTDIR}${PREFIX}/bin/j_less
 
 .include "../../lang/rust/cargo.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ff500f50cf92 -r 05d5402ec775 textproc/jless/PLIST
--- a/textproc/jless/PLIST      Thu Feb 10 07:45:23 2022 +0000
+++ b/textproc/jless/PLIST      Thu Feb 10 08:31:22 2022 +0000
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2022/02/09 17:02:46 pin Exp $
-bin/jless
+@comment $NetBSD: PLIST,v 1.2 2022/02/10 08:31:22 pin Exp $
+bin/j_less



Home | Main Index | Thread Index | Old Index