diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-09-14 10:22:15 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-09-14 10:22:15 +0000 |
commit | 306d01e8d9ea8212e8b476726c6debba45246653 (patch) | |
tree | 06cb53921d214fb0ad273423edb5f5dd4ef9ec18 /ports-mgmt | |
parent | 82e5a71fd4cc68640ddf910a59936e5c21c32eb6 (diff) | |
download | ports-306d01e8d9ea8212e8b476726c6debba45246653.tar.gz ports-306d01e8d9ea8212e8b476726c6debba45246653.zip |
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/bpkg/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/bpkg/files/bpkg.sh.in | 22 |
2 files changed, 12 insertions, 12 deletions
diff --git a/ports-mgmt/bpkg/Makefile b/ports-mgmt/bpkg/Makefile index ed23e667d9cf..f8d984eb4c4b 100644 --- a/ports-mgmt/bpkg/Makefile +++ b/ports-mgmt/bpkg/Makefile @@ -8,7 +8,7 @@ # PORTNAME= bpkg -PORTVERSION= 1.4 +PORTVERSION= 1.5 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none diff --git a/ports-mgmt/bpkg/files/bpkg.sh.in b/ports-mgmt/bpkg/files/bpkg.sh.in index 2e0c8f71613e..cfc70fa5165d 100644 --- a/ports-mgmt/bpkg/files/bpkg.sh.in +++ b/ports-mgmt/bpkg/files/bpkg.sh.in @@ -287,7 +287,7 @@ pkg_info-xI() { info=`grep $e /var/db/pkg/*/+CONTENTS | grep -w ORIGIN | cut -d/ -f5` if [ -z "$info" ]; then - path=`cd /usr/ports && make search path=/$e | grep Path | cut -d/ -f4,5` + path=`cd /usr/ports && make search path=/$e | grep -w Path | cut -d/ -f4,5` echo -e "\033[33m*** not installed ***\033[0m" for i in $path; do echo "$i: `cat /usr/ports/$i/Makefile | grep COMMENT | cut -d= -f2`" @@ -348,10 +348,10 @@ pkg_info-xr() { info=`grep $e /var/db/pkg/*/+CONTENTS | grep -w ORIGIN | cut -d: -f3` if [ -z "$info" ]; then - path=`cd /usr/ports && make search path=/$e.* | grep Path | cut -d/ -f4,5` + path=`cd /usr/ports && make search path=/$e.* | grep -w Path | cut -d/ -f4,5` for i in $path; do echo -e "\033[33m*** not installed ***\033[0m" - echo "$i: `cat /usr/ports/$i/Makefile | grep COMMENT | cut -d= -f2`" + echo "$i: `cat /usr/ports/$i/Makefile | grep -w COMMENT | cut -d= -f2`" echo "" echo "Information in ports for `echo $i | cut -d/ -f2`:" echo "" @@ -397,10 +397,10 @@ pkg_info-xf() { info=`grep $e /var/db/pkg/*/+CONTENTS | grep -w ORIGIN | cut -d: -f3` if [ -z "$info" ]; then - path=`cd /usr/ports && make search path=/$e.* | grep Path | cut -d/ -f4,5` + path=`cd /usr/ports && make search path=/$e.* | grep -w Path | cut -d/ -f4,5` for i in $path; do echo -e "\033[33m*** not installed ***\033[0m" - echo "$i: `cat /usr/ports/$i/Makefile | grep COMMENT | cut -d= -f2`" + echo "$i: `cat /usr/ports/$i/Makefile | grep -w COMMENT | cut -d= -f2`" echo "" echo "Packing list:" cat /usr/ports/$i/pkg-plist @@ -459,10 +459,10 @@ pkg_info-x() { info=`grep $e /var/db/pkg/*/+CONTENTS | grep -w ORIGIN | cut -d: -f3` if [ -z "$info" ]; then - path=`cd /usr/ports && make search path=/$e.* | grep Path | cut -d/ -f4,5` + path=`cd /usr/ports && make search path=/$e.* | grep -w Path | cut -d/ -f4,5` for i in $path; do echo -e "\033[33m*** not installed ***\033[0m" - echo "$i: `cat /usr/ports/$i/Makefile | grep COMMENT | cut -d= -f2`" + echo "$i: `cat /usr/ports/$i/Makefile | grep -w COMMENT | cut -d= -f2`" echo "" echo "Description:" echo "`cat /usr/ports/$i/pkg-descr`" @@ -488,15 +488,15 @@ pkg_ver() { } pkg_path() { - path=`cd /usr/ports && make search path=/$pkg | grep Path | cut -d/ -f4,5` + path=`cd /usr/ports && make search path=/$pkg | grep -w Path | cut -d/ -f4,5` for e in $path; do - echo "$e" ; cat /usr/ports/$e/Makefile | grep COMMENT | cut -d= -f2 + echo "$e" ; cat /usr/ports/$e/Makefile | grep -w COMMENT | cut -d= -f2 done exit 0 } pkg_makefile() { - path=`cd /usr/ports && make search path=/$pkg$ | grep Path | cut -d/ -f4,5` + path=`cd /usr/ports && make search path=/$pkg$ | grep -w Path | cut -d/ -f4,5` [ -z "$path" ] && missing less /usr/ports/$path/Makefile 2>/dev/null @@ -508,7 +508,7 @@ make_search() { info=`grep $e /var/db/pkg/*/+CONTENTS | grep -w ORIGIN | cut -d: -f3` if [ -z "$info" ]; then - path=`cd /usr/ports && make search path=/$e | grep Path | cut -d/ -f4,5` + path=`cd /usr/ports && make search path=/$e | grep -w Path | cut -d/ -f4,5` for i in $path; do echo -e "\033[33m*** not installed ***\033[0m" cd /usr/ports && make search path=/$i$ |