pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
uutils-coreutils: add example for more useful installation
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Sun Mar 15 13:35:28 2026 +0100
Changeset: a86334b3ffe61115998b05e528b18eaace7bef9f
Modified Files:
uutils-coreutils/Makefile
uutils-coreutils/PLIST
Log Message:
uutils-coreutils: add example for more useful installation
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a86334b3ffe61115998b05e528b18eaace7bef9f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
uutils-coreutils/Makefile | 11 +++++++++++
uutils-coreutils/PLIST | 2 ++
2 files changed, 13 insertions(+)
diffs:
diff --git a/uutils-coreutils/Makefile b/uutils-coreutils/Makefile
index 1e0ffa0550..457b03de79 100644
--- a/uutils-coreutils/Makefile
+++ b/uutils-coreutils/Makefile
@@ -13,6 +13,17 @@ LICENSE= mit
RUST_REQ= 1.88.0
+# TODO: fill in PROGS
+PROGS+= yes
+
+INSTALLATION_DIRS+= uutils-coreutils/bin
+
+post-install:
+.for program in ${PROGS}
+ cd ${DESTDIR}${PREFIX}/bin && ${LN} coreutils uu-${program}
+ cd ${DESTDIR}${PREFIX}/bin && ${LN} coreutils ../uutils-coreutils/bin/${program}
+.endfor
+
.include "cargo-depends.mk"
.include "../../lang/rust/cargo.mk"
diff --git a/uutils-coreutils/PLIST b/uutils-coreutils/PLIST
index e1fe39bd47..94dc22cb79 100644
--- a/uutils-coreutils/PLIST
+++ b/uutils-coreutils/PLIST
@@ -1,2 +1,4 @@
@comment $NetBSD$
bin/coreutils
+bin/uu-yes
+uutils-coreutils/bin/yes
Home |
Main Index |
Thread Index |
Old Index