summaryrefslogtreecommitdiff
path: root/ports-mgmt/bpkg
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-04 04:03:44 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-02-04 04:03:44 +0000
commitdb33a015e0db24359e6a505edc42fed566f591a9 (patch)
treebdc2c999856726892fae84c94b7c2edc01ba5045 /ports-mgmt/bpkg
parent- Update to 1.5.5 (diff)
- Update to 2.0.10
* fix typo that break bpkg(8) on CURRENT * manual page reformat PR: ports/143406 Submitted by: Andy Kosela <akosela@andykosela.com> (maintainer)
Notes
Notes: svn path=/head/; revision=249215
Diffstat (limited to 'ports-mgmt/bpkg')
-rw-r--r--ports-mgmt/bpkg/Makefile6
-rw-r--r--ports-mgmt/bpkg/files/bpkg.812
-rw-r--r--ports-mgmt/bpkg/files/bpkg.sh.in8
3 files changed, 13 insertions, 13 deletions
diff --git a/ports-mgmt/bpkg/Makefile b/ports-mgmt/bpkg/Makefile
index 759e5db5928e..d51367bb35dd 100644
--- a/ports-mgmt/bpkg/Makefile
+++ b/ports-mgmt/bpkg/Makefile
@@ -8,7 +8,7 @@
#
PORTNAME= bpkg
-PORTVERSION= 2.0.9
+PORTVERSION= 2.0.10
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none
@@ -19,12 +19,12 @@ COMMENT= Simple tool for displaying information about ports
NO_BUILD= yes
SUB_FILES= bpkg.sh
-PLIST_FILES= sbin/bpkg
+PLIST_FILES= bin/bpkg
MAN8= bpkg.8
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/bpkg.sh ${PREFIX}/sbin/bpkg
+ ${INSTALL_SCRIPT} ${WRKDIR}/bpkg.sh ${PREFIX}/bin/bpkg
${INSTALL_MAN} ${FILESDIR}/bpkg.8 ${MAN8PREFIX}/man/man8
.include <bsd.port.mk>
diff --git a/ports-mgmt/bpkg/files/bpkg.8 b/ports-mgmt/bpkg/files/bpkg.8
index 3965c4bb07ab..4e99aca41873 100644
--- a/ports-mgmt/bpkg/files/bpkg.8
+++ b/ports-mgmt/bpkg/files/bpkg.8
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2007-2009 Andy Kosela <akosela@andykosela.com>
+.\" Copyright (c) 2007-2010 Andy Kosela <akosela@andykosela.com>
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -25,7 +25,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd December 25, 2009
+.Dd January 31, 2010
.Dt BPKG 8
.Os
.Sh NAME
@@ -128,19 +128,19 @@ of the
.Nm
command:
.Pp
-.Dl "plato> bpkg -i foo"
+.Dl "$ bpkg -i foo"
.Pp
Display info about port foo.
.Pp
-.Dl "plato> bpkg -S 'foo[0-9]+$'"
+.Dl "$ bpkg -S 'foo[0-9]+$'"
.Pp
Display all ports matching the regular expression.
.Pp
-.Dl "plato> bpkg -t | head"
+.Dl "$ bpkg -t | head"
.Pp
Display 10 most recently installed ports.
.Pp
-.Dl "plato> bpkg -b 'foo bar'"
+.Dl "$ bpkg -b 'foo bar'"
.Pp
Create backup packages of foo and bar in /var/tmp/bpkg/ directory.
.Sh SEE ALSO
diff --git a/ports-mgmt/bpkg/files/bpkg.sh.in b/ports-mgmt/bpkg/files/bpkg.sh.in
index c6b5ece60928..2b0a8ec4713a 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-2009 Andy Kosela <akosela@andykosela.com>
+# Copyright (c) 2007-2010 Andy Kosela <akosela@andykosela.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -43,7 +43,7 @@ root()
fi
}
-########################################################################
+#######################################################################
# Start of main functions
pkg_info-xI()
@@ -517,7 +517,7 @@ pkg_backup()
cd /var/tmp/bpkg/
for e in $pkg; do
- i=`pkg_info -xoQ ^$e | cut -d: -f1'`
+ i=`pkg_info -xoQ ^$e | cut -d: -f1`
pkg_create -xb $i 1>/dev/null 2>&1
done
echo "Done."
@@ -1092,7 +1092,7 @@ help()
}
# End of functions
-########################################################################
+#######################################################################
while
getopts a:b:D:d:e:F:f:g:I:i:j:k:L:M:m:O:o:p:Q:q:r:S:s:w:z:BCchltvZ opts