head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.18 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.16 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.14 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.12 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.10 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.8 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.6 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.4 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.2 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.3.0.16 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.14 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.12 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.10 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.8 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.6 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.4 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.2 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.2.0.36 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.34 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.32 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.30 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.28 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.26 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.22 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.24 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.20 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.18 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.16 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.14 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.12 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.10 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.8 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.6 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.4 pkgsrc-2017Q3-base:1.2; locks; strict; comment @# @; 1.4 date 2024.03.24.20.51.24; author leot; state Exp; branches; next 1.3; commitid lVeQ85INAPkMhs3F; 1.3 date 2022.01.13.11.49.41; author leot; state Exp; branches; next 1.2; commitid oLMHRFmaAbrE0toD; 1.2 date 2017.09.07.08.18.44; author leot; state Exp; branches; next 1.1; commitid Fq17GqJfO8fLUe6A; 1.1 date 2017.09.04.09.44.41; author leot; state Exp; branches; next ; commitid 5oIQzjcl57gOvR5A; desc @@ 1.4 log @moreutils: Update to 0.69 Changes: 0.69 ---- - Makefile: Warn users of pkgx.dev about their poor life choices. @ text @$NetBSD: patch-Makefile,v 1.3 2022/01/13 11:49:41 leot Exp $ - Instruct Makefile to properly handle also man pages and scripts via corresponding INSTALL_{MAN,SCRIPT} in a similar vein of INSTALL_BIN. - Introduce MANDIR in order to ease the installation of man pages --- Makefile.orig 2024-02-25 19:47:01.000000000 +0000 +++ Makefile @@@@ -3,7 +3,10 @@@@ PERLSCRIPTS=vidir vipe ts combine zrun c MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifdata.1 ifne.1 pee.1 zrun.1 chronic.1 mispipe.1 lckdo.1 parallel.1 errno.1 CFLAGS?=-O2 -g -Wall INSTALL_BIN?=install -s +INSTALL_MAN?=install +INSTALL_SCRIPT?=install PREFIX?=/usr +MANDIR?=$(PREFIX)/man ifneq (,$(findstring CYGWIN,$(shell uname))) DOCBOOKXSL?=/usr/share/sgml/docbook/xsl-stylesheets @@@@ -31,10 +34,10 @@@@ install: mkdir -p $(DESTDIR)$(PREFIX)/bin $(INSTALL_BIN) $(BINS) $(DESTDIR)$(PREFIX)/bin - install $(PERLSCRIPTS) $(DESTDIR)$(PREFIX)/bin + $(INSTALL_SCRIPT) $(PERLSCRIPTS) $(DESTDIR)$(PREFIX)/bin - mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 - install -m 644 $(MANS) $(DESTDIR)$(PREFIX)/share/man/man1 + mkdir -p $(DESTDIR)$(MANDIR)/man1 + $(INSTALL_MAN) $(MANS) $(DESTDIR)$(MANDIR)/man1 uninstall: for i in $(BINS) $(PERLSCRIPTS); do rm -f $(DESTDIR)$(PREFIX)/bin/$$i; done @ 1.3 log @moreutils: Update to 0.67 Changes: 0.67 ---- - README: Formalize that I am not adding new tools to moreutils, and have not for a long while. This package needs someone new to take over editorial responsibility. - Makefile: Install man pages without executable bit. Thanks, meator - ifne.1: Improve example that pipes to mail to avoid escape sequences. 0.66 ---- - vipe: When no output is piped into vipe, and stdin is connected to the terminal, don't read from stdin before opening the editor. This allows eg: vipe | command Thanks, Florian Pensec - chronic: With -v, flush stdout after printing "STDERR" header. Thanks, Adam Sjøgren @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.2 2017/09/07 08:18:44 leot Exp $ d7 1 a7 1 --- Makefile.orig 2021-12-21 19:39:00.000000000 +0000 d20 2 a21 2 @@@@ -26,10 +29,10 @@@@ isutf8: is_utf8/*.c is_utf8/*.h install: @ 1.2 log @Instead of (wrongly) use the SUBST framework just patch Makefile (that is already patched!) introducing a MANDIR variable instead of hardcoding `share/man' and pass PKGMANDIR via MAKE_ENV. No PKGREVISION bump since it should fix the build on platforms where moreutils was already broken. Pointed out by Joyent's Darwin bulk build. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2017/09/04 09:44:41 leot Exp $ d7 1 a7 1 --- Makefile.orig 2016-08-13 13:58:21.000000000 +0000 d20 1 a20 1 @@@@ -25,10 +28,10 @@@@ isutf8: is_utf8/*.c is_utf8/*.h d28 1 a28 1 - install $(MANS) $(DESTDIR)$(PREFIX)/share/man/man1 d32 2 a33 2 check: isutf8 ./is_utf8/test.sh @ 1.1 log @Import moreutils-0.60 as misc/moreutils moreutils is a growing collection of the unix tools that nobody thought to write long ago when unix was young. It consists of these tools: - chronic: runs a command quietly unless it fails - combine: combine the lines in two files using boolean operations - errno: look up errno names and descriptions - ifdata: get network interface info without parsing ifconfig output - isutf8: check if a file or standard input is utf-8 - ifne: run a command if the standard input is not empty - lckdo: execute a program with a lock held (deprecated) - mispipe: pipe two commands, returning the exit status of the first - parallel: run multiple jobs at once - pee: tee standard input to pipes - sponge: soak up standard input and write to a file - ts: timestamp standard input - vidir: edit a directory in your text editor - vipe: insert a text editor into a pipe - zrun: automatically uncompress arguments to command Originally packaged in pkgsrc-wip by myself and . @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 2 Instruct Makefile to properly handle also man pages and scripts via corresponding INSTALL_{MAN,SCRIPT} in a similar vein of INSTALL_BIN. d9 1 a9 1 @@@@ -3,6 +3,8 @@@@ PERLSCRIPTS=vidir vipe ts combine zrun c d16 1 d19 2 a20 1 @@@@ -25,10 +27,10 @@@@ isutf8: is_utf8/*.c is_utf8/*.h d29 2 a30 2 + mkdir -p $(DESTDIR)$(PREFIX)/man/man1 + $(INSTALL_MAN) $(MANS) $(DESTDIR)$(PREFIX)/man/man1 @