pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/bat



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue May 16 22:55:00 UTC 2023

Modified Files:
        pkgsrc/textproc/bat: Makefile

Log Message:
bat: use a bit of cargo's install target


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/textproc/bat/Makefile

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

Modified files:

Index: pkgsrc/textproc/bat/Makefile
diff -u pkgsrc/textproc/bat/Makefile:1.31 pkgsrc/textproc/bat/Makefile:1.32
--- pkgsrc/textproc/bat/Makefile:1.31   Wed Apr 26 11:25:56 2023
+++ pkgsrc/textproc/bat/Makefile        Tue May 16 22:55:00 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2023/04/26 11:25:56 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2023/05/16 22:55:00 wiz Exp $
 
 DISTNAME=      bat-0.23.0
 PKGREVISION=   1
@@ -19,10 +19,9 @@ RUSTFLAGS+=  -C link-arg=${COMPILER_RPATH
 
 USE_TOOLS+=    pkg-config
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1
 
-do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/target/release/bat ${DESTDIR}${PREFIX}/bin
+post-install:
        cd ${WRKSRC}/target/release && \
                ${FIND} . -name bat.1 \
                        -type f \



Home | Main Index | Thread Index | Old Index