pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/colorless



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jul 12 19:24:49 UTC 2023

Modified Files:
        pkgsrc/misc/colorless: Makefile

Log Message:
colorless: pax must be in USE_TOOLS to use it in post-install.

Also switch TOOLS_PLATFROM.sh for SH to fix a note from pkglint
that the former may be unavailable on Linux.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/misc/colorless/Makefile

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

Modified files:

Index: pkgsrc/misc/colorless/Makefile
diff -u pkgsrc/misc/colorless/Makefile:1.3 pkgsrc/misc/colorless/Makefile:1.4
--- pkgsrc/misc/colorless/Makefile:1.3  Sun Jan 15 10:12:55 2023
+++ pkgsrc/misc/colorless/Makefile      Wed Jul 12 19:24:49 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/01/15 10:12:55 kim Exp $
+# $NetBSD: Makefile,v 1.4 2023/07/12 19:24:49 nia Exp $
 #
 
 DISTNAME=              colorless-109
@@ -9,16 +9,18 @@ MAINTAINER=           pkgsrc-users%NetBSD.org@localhost
 COMMENT=               Enable colorised command output and pipe it to less
 LICENSE=               2-clause-bsd
 
+USE_TOOLS+=            pax
+
 NO_CONFIGURE=          yes
 MAKE_FLAGS+=           PREFIX=${PREFIX}
 MAKE_FLAGS+=           MANDIR=${PKGMANDIR}/man1
-MAKE_FLAGS+=           SHELL=${TOOLS_PLATFORM.sh}
+MAKE_FLAGS+=           SHELL=${SH}
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/doc/colorless
 
 DOCS=                  LICENSE README.md
 
 post-install:
-       cd ${WRKSRC:Q} && pax -rw ${DOCS} ${DESTDIR}${PREFIX}/share/doc/colorless
+       cd ${WRKSRC:Q} && ${PAX} -rw ${DOCS} ${DESTDIR}${PREFIX}/share/doc/colorless
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index