Update 2024-02-14 07:51 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-02-14 07:54:31 +01:00
parent b55e6a3616
commit 9624895938
373 changed files with 19074 additions and 3045 deletions

23
.bin/OLD/port-info Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/sh
if [ -z "$1" ]
then
echo "usage: $(basename $0) <portsdir>"
exit 2
fi
if [ ! -d "/usr/ports/$1/pkg" ]
then
echo "not a ports dir"
exit 1
fi
cd /usr/ports/$1
make show="COMMENT FULLPKGNAME HOMEPAGE SITES MAINTAINER DESCR" \
| tr -s " " \
| awk 'NR == 1 { print "Comment: "$0 } \
NR == 2 { print "Distname: "$0 } \
NR == 3 { print "Homepage: "$0 } \
NR == 5 { print "Maintainer: "$0"\n" } \
NR == 6 { system("/bin/cat " $0); }'