Update 2023-02-25 20:17 OpenBSD/amd64

This commit is contained in:
c0dev0id
2023-02-25 20:17:14 +01:00
parent 75fab8053a
commit eaf9fb040c
6 changed files with 20 additions and 17 deletions

View File

@@ -4,13 +4,11 @@
cd /usr/ports/$1
make show="COMMENT FULLPKGNAME MAINTAINER HOMEPAGE" \
make show="COMMENT FULLPKGNAME HOMEPAGE MASTER_SITES MAINTAINER DESCR" \
| tr -s " " \
| awk 'NR == 1 { print "COMMENT: "$0 } \
NR == 2 { print "DISTNAME: "$0 } \
NR == 3 { print "MAINTAINER: "$0 } \
NR == 4 { print "HOMEPAGE: "$0 }'
echo
echo DESCRIPTION:
cat pkg/DESCR*
echo
| awk 'NR == 1 { print " COMMENT: "$0 } \
NR == 2 { print " DISTNAME: "$0 } \
NR == 3 { print " HOMEPAGE: "$0 } \
NR == 4 { print "MASTER_SITES: "$0 } \
NR == 5 { print " MAINTAINER: "$0 } \
NR == 6 { print "DESCRIPTION: "; system("/bin/cat " $0); }'