15 lines
335 B
Bash
Executable File
15 lines
335 B
Bash
Executable File
#!/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
|