diff options
Diffstat (limited to 'ports-mgmt/bpkg')
-rw-r--r-- | ports-mgmt/bpkg/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/bpkg/files/bpkg.sh.in | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/ports-mgmt/bpkg/Makefile b/ports-mgmt/bpkg/Makefile index df32e389d0f9..0e7e8cdf2f49 100644 --- a/ports-mgmt/bpkg/Makefile +++ b/ports-mgmt/bpkg/Makefile @@ -8,7 +8,7 @@ # PORTNAME= bpkg -PORTVERSION= 2.1.4 +PORTVERSION= 2.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 f8f043964080..f0788056624f 100644 --- a/ports-mgmt/bpkg/files/bpkg.sh.in +++ b/ports-mgmt/bpkg/files/bpkg.sh.in @@ -1,7 +1,7 @@ #!/bin/sh # $FreeBSD$ -# Copyright (c) 2007-2011 Andy Kosela <akosela@andykosela.com> +# Copyright (c) 2007-2012 Andy Kosela <akosela@andykosela.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -328,6 +328,7 @@ pkg_ftp() arch=`uname -m` sys=`uname -r | cut -d- -f1` + [ -e /tmp/bpkg*.tmp ] && rm /tmp/bpkg*.tmp 1>/dev/null 2>&1 for e in $pkg; do echo "ls $e*" >> /tmp/bpkg.tmp done @@ -360,6 +361,7 @@ pkg_latestftp() arch=`uname -m` sys=`uname -r | cut -d. -f1` + [ -e /tmp/bpkg*.tmp ] && rm /tmp/bpkg*.tmp 1>/dev/null 2>&1 for e in $pkg; do echo "ls $e*" >> /tmp/bpkg.tmp done @@ -607,7 +609,7 @@ pkg_freshports() echo "bpkg: text WWW browser required" else echo "Loading..." - pwd=`cd /usr/ports && make search path=/$pkg | grep -w Path | + pwd=`cd /usr/ports && make search path=/$pkg$ | grep -w Path | sed -n 1p | cut -d/ -f4,5` $browser http://www.freshports.org/$pwd fi |