aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portmaster/files/bash-completions4
-rw-r--r--ports-mgmt/portmaster/files/portmaster.811
-rw-r--r--ports-mgmt/portmaster/files/zsh-completions1
3 files changed, 13 insertions, 3 deletions
diff --git a/ports-mgmt/portmaster/files/bash-completions b/ports-mgmt/portmaster/files/bash-completions
index f52ba4c80c5d..8b9d95f621ca 100644
--- a/ports-mgmt/portmaster/files/bash-completions
+++ b/ports-mgmt/portmaster/files/bash-completions
@@ -10,8 +10,8 @@ _portmaster () {
--clean-distfiles --clean-distfiles-all --check-depends \
--check-port-dbdir --list-origins --packages --packages-only \
--packages-build --packages-if-newer --delete-build-only \
- --always-fetch --local-packagedir= --no-confirm \
- --no-term-title \
+ --always-fetch --local-packagedir= --packages-delete \
+ --no-confirm --no-term-title \
--help --version' -- $cur ) )
;;
*) COMPREPLY=( $( compgen -d /var/db/pkg/$cur ) )
diff --git a/ports-mgmt/portmaster/files/portmaster.8 b/ports-mgmt/portmaster/files/portmaster.8
index 81638010a16e..0171e99862ea 100644
--- a/ports-mgmt/portmaster/files/portmaster.8
+++ b/ports-mgmt/portmaster/files/portmaster.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 7, 2010
+.Dd March 28, 2010
.Dt PORTMASTER 8
.Os
.Sh NAME
@@ -38,6 +38,7 @@ Common Flags:
.Op Fl -delete-build-only
.Op Fl -always-fetch
.Op Fl -local-packagedir=<path>
+.Op Fl -delete-packages
.Op Fl -no-confirm
.Op Fl -no-term-title
.Op Fl m Ar arguments for make
@@ -82,16 +83,19 @@ and/or multiple globs from /var/db/pkg
.Op Fl -packages-if-newer
.Op Fl -always-fetch
.Op Fl -local-packagedir=<path>
+.Op Fl -delete-packages
.Fl P|--packages
.Nm
.Op Fl -packages-if-newer
.Op Fl -always-fetch
.Op Fl -local-packagedir=<path>
+.Op Fl -delete-packages
.Fl PP|--packages-only
.Nm
.Op Fl -packages-if-newer
.Op Fl -always-fetch
.Op Fl -local-packagedir=<path>
+.Op Fl -delete-packages
.Fl -packages-build
.Nm
.Fl [l|L]
@@ -411,6 +415,8 @@ in the category subdirectories, such as
.Pa <path>/devel ,
.Pa <path>/ports-mgmt ,
etc.
+.It Fl -delete-packages
+after installing from a package, delete it
.It Fl -no-confirm
do not ask the user to confirm the list of ports to
be installed and/or updated before proceeding
@@ -606,6 +612,9 @@ along with their related options.
# Specify a local package repository (--local-packagedir)
# LOCAL_PACKAGEDIR=<path>
#
+# Delete packages after they are installed (--delete-packages)
+# PM_DELETE_PACKAGES=pm_delete_packages
+#
# Suppress the build confirmation message (--no-confirm)
# PM_NO_CONFIRM=pm_no_confirm
#
diff --git a/ports-mgmt/portmaster/files/zsh-completions b/ports-mgmt/portmaster/files/zsh-completions
index a1af2a73c27d..11f80e16136b 100644
--- a/ports-mgmt/portmaster/files/zsh-completions
+++ b/ports-mgmt/portmaster/files/zsh-completions
@@ -37,6 +37,7 @@ _arguments -A "-*" : \
"--packages-if-newer[use package if newer than installed even if the package is not the latest]" \
"--always-fetch[fetch package even if it already exists locally]" \
"--local-packagedir=-[where local packages can be found]:path:_files -/" \
+ "--delete-packages[after installing from a package, delete it]" \
"-l[list all installed ports by category]" \
"-L[list all installed ports by category, and search for updates]" \
"-e[expunge a port via pkg_delete, and remove its distfiles]:full name of port directory in /var/db/pkg:->pkgs" \