pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/jless



Module Name:    pkgsrc
Committed By:   pin
Date:           Thu Feb 10 08:31:23 UTC 2022

Modified Files:
        pkgsrc/textproc/jless: Makefile PLIST

Log Message:
textproc/jless: rename command

to avoid conflict with misc/ja-less.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/jless/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/jless/PLIST

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

Modified files:

Index: pkgsrc/textproc/jless/Makefile
diff -u pkgsrc/textproc/jless/Makefile:1.2 pkgsrc/textproc/jless/Makefile:1.3
--- pkgsrc/textproc/jless/Makefile:1.2  Thu Feb 10 07:45:23 2022
+++ pkgsrc/textproc/jless/Makefile      Thu Feb 10 08:31:22 2022
@@ -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 @@ CONFLICTS+=  ja-less-[0-9]*
 
 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"

Index: pkgsrc/textproc/jless/PLIST
diff -u pkgsrc/textproc/jless/PLIST:1.1 pkgsrc/textproc/jless/PLIST:1.2
--- pkgsrc/textproc/jless/PLIST:1.1     Wed Feb  9 17:02:46 2022
+++ pkgsrc/textproc/jless/PLIST Thu Feb 10 08:31:22 2022
@@ -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