Update 2023-01-21 13:55 OpenBSD/amd64

This commit is contained in:
c0dev0id
2023-01-21 13:55:09 +01:00
parent b95c23f90a
commit c6152a1420
3 changed files with 42 additions and 0 deletions

14
.bin/portinfo Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
cd /usr/ports/$1
make show="COMMENT FULLPKGNAME MAINTAINER HOMEPAGE" \
| 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