base: merge new-help-system, thanks to raimue for all the hard work

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@123002 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Clemens Lang
2014-08-03 16:06:51 +00:00
parent 31b4a16d64
commit e33b081eda
47 changed files with 4980 additions and 1875 deletions
+2
View File
@@ -70,4 +70,6 @@ infodir = @infodir@
mpconfigdir = @MPCONFIGDIR@
portsdir = @PORTSDIR@
MACPORTS_VERSION = @MACPORTS_VERSION@
SILENT = @
Vendored
+41 -1
View File
@@ -727,6 +727,7 @@ MTREE
MKBOM
MDLS
MDFIND
MAN
MAKE
LZMA
LSBOM
@@ -5178,6 +5179,46 @@ $as_echo "no" >&6; }
fi
# Extract the first word of "man", so it can be a program name with args.
set dummy man; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_MAN+:} false; then :
$as_echo_n "(cached) " >&6
else
case $MAN in
[\\/]* | ?:[\\/]*)
ac_cv_path_MAN="$MAN" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_MAN="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
MAN=$ac_cv_path_MAN
if test -n "$MAN"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN" >&5
$as_echo "$MAN" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
# Extract the first word of "mdfind", so it can be a program name with args.
set dummy mdfind; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -6063,7 +6104,6 @@ fi
if test "x$MTREE" = "x"; then
as_fn_error $? "mtree not found" "$LINENO" 5
fi
+1 -1
View File
@@ -145,6 +145,7 @@ AC_PATH_PROG(LIPO, [lipo], [])
AC_PATH_PROG(LSBOM, [lsbom], [])
AC_PATH_PROG(LZMA, [lzma], [])
AC_PATH_PROG(MAKE, [make])
AC_PATH_PROG(MAN, [man])
AC_PATH_PROG(MDFIND, [mdfind], [])
AC_PATH_PROG(MDLS, [mdls], [])
AC_PATH_PROG(MKBOM, [mkbom], [])
@@ -169,7 +170,6 @@ AC_PATH_PROG(ZIP, [zip])
AC_CHECK_PROG(HAVE_LAUNCHD, [launchd], [yes], [], [/sbin])
if test "x$MTREE" = "x"; then
AC_MSG_ERROR([mtree not found])
fi
+90 -10
View File
@@ -1,10 +1,45 @@
srcdir = @srcdir@
VPATH = @srcdir@
MAN1= port.1
# If this is a selfupdate, we never want to run any tools from the target
# prefix (could be broken or wrong architecture), otherwise try to use the
# tools from the target prefix for generating man pages if they exist
ifeq ($(SELFUPDATING),1)
ASCIIDOC=
XSLTPROC=
else
ASCIIDOC= $(wildcard ${prefix}/bin/asciidoc)
XSLTPROC= $(wildcard ${prefix}/bin/xsltproc)
endif
ASCIIDOCFLAGS= -f asciidoc.conf -a manversion=${MACPORTS_VERSION}
XSLTFLAGS= -nonet
MAN1= port.1 \
port-activate.1 \
port-build.1 \
port-checksum.1 \
port-configure.1 \
port-deactivate.1 \
port-destroot.1 \
port-edit.1 \
port-extract.1 \
port-fetch.1 \
port-install.1 \
port-patch.1 \
port-uninstall.1
MAN5= macports.conf.5
MAN7= portfile.7 portstyle.7 porthier.7 portgroup.7
CONF= archive_sites.conf macports.conf pubkeys.conf sources.conf variants.conf
MAN7= portfile.7 portstyle.7 porthier.7 portgroup.7 portundocumented.7
MAN= ${MAN1} ${MAN5} ${MAN7}
# Filter man pages with existing source files
MANTXT= $(wildcard ${MAN:%=%.txt})
# Only those can be transformed into XML
MANXML= ${MANTXT:.txt=.xml}
# HTML version for all man pages
MANHTML= ${MAN:%=%.html}
CONF= archive_sites.conf macports.conf pubkeys.conf sources.conf variants.conf
INSTALLDIR= ${DESTDIR}${prefix}
TOPSRCDIR= ..
@@ -12,10 +47,28 @@ ifneq ($(MAKECMDGOALS),distclean)
include ../Mk/macports.autoconf.mk
endif
all: ${MAN1:.1=.1.gz} ${MAN5:.5=.5.gz} ${MAN7:.7=.7.gz}
all: man
# Update "include::" dependencies
.dep: $(wildcard *.txt) asciidoc-deps.tcl
$(INTREE_TCLSH) ./asciidoc-deps.tcl *.txt > $@
-include .dep
.PHONY: man xml html
man: ${MAN} ${MAN:%=%.gz}
xml: ${MANXML}
html: ${MANHTML}
clean:
rm -f ${MANTXT:%.txt=%.gz}
rm -f ${MANTXT:%.txt=%.html}
rm -f ${MANTXT:%.txt=%.xml}
rm -f *.{1,5,7}.gz
rm -f .dep
test:
@@ -32,6 +85,35 @@ distclean: clean
%.7.gz: %.7
gzip -c $^ > $@
%: %.soelim
ln -f $< $@
%.html: %.soelim
ln -sf $(shell basename $$(awk '{print $$2}' < $<)).html $@
# Define these rules only if both asciidoc and xsltproc are available
ifneq ($(ASCIIDOC)$(XSLTPROC),)
%: %.xml manpage.xsl
$(XSLTPROC) $(XSLTFLAGS) manpage.xsl $<
%.xml: %.txt asciidoc.conf
$(ASCIIDOC) $(ASCIIDOCFLAGS) -d manpage -b docbook $<
%.html: %.txt asciidoc.conf
$(ASCIIDOC) $(ASCIIDOCFLAGS) -d manpage -b xhtml11 $<
else
man: ${MAN} ${MAN:%=%.gz}
@echo "* Warning: Using pre-generated man pages only."
@echo "* asciidoc and xsltproc are required to generate man pages from source."
%.xml %.html: | %.txt
@echo "* In order to modify and generate output from these source files,"
@echo "* please install asciidoc and xsltproc or use"
@echo "* $(MAKE) ASCIIDOC=.../bin/asciidoc XSLTPROC=../bin/xsltproc"
@echo "* with appropriate paths."
@exit 1
endif
install: all
$(INSTALL) -d -o "${DSTUSR}" -g "${DSTGRP}" -m "${DSTMODE}" "${INSTALLDIR}"
$(INSTALL) -d -o "${DSTUSR}" -g "${DSTGRP}" -m "${DSTMODE}" "${DESTDIR}${mpconfigdir}"
@@ -63,9 +145,7 @@ endif
$(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 644 base.mtree "${INSTALLDIR}/share/macports/install/"
$(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 644 prefix.mtree "${INSTALLDIR}/share/macports/install/"
$(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 644 macosx.mtree "${INSTALLDIR}/share/macports/install/"
$(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 port.1.gz "${INSTALLDIR}/share/man/man1"
$(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 macports.conf.5.gz "${INSTALLDIR}/share/man/man5"
$(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 portfile.7.gz "${INSTALLDIR}/share/man/man7"
$(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 portstyle.7.gz "${INSTALLDIR}/share/man/man7"
$(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 porthier.7.gz "${INSTALLDIR}/share/man/man7"
$(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 portgroup.7.gz "${INSTALLDIR}/share/man/man7"
for page in ${MAN1} ${MAN5} ${MAN7}; do \
$(INSTALL) -o "${DSTUSR}" -g "${DSTGRP}" -m 444 "$${page}.gz" "${INSTALLDIR}/share/man/man$$(echo $$page | sed -e 's/.*\.//')"; \
done
+8
View File
@@ -0,0 +1,8 @@
TODO:
- [options="compact"] not supported by docbook for manpage output
- split global-options.txt into macro which allows display selection
Missing new man pages:
- portarchives(7)
+13
View File
@@ -0,0 +1,13 @@
PORT IMAGES
-----------
MacPorts has the ability to install multiple versions or different variant
selections of the same port. The files will be stored in an intermediate
location as 'archives', which allows to switch between the versions. Only one
version can be active at a time. On activation, files will be copied to their
intended place in 'prefix'.
More information on this topic can be found in the
guide:internals.images[The MacPorts Guide].
To check the current status of a specific port, use *man:port-installed[1]*.
+35
View File
@@ -0,0 +1,35 @@
#!/usr/bin/env tclsh
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
if {[llength $::argv] == 0} {
puts "Usage: ${::argv0} <*.txt>"
exit 1
}
# Dependency storage
array set deps {}
# Gather includes
foreach file $::argv {
if {![file exists $file]} {
continue
}
set fd [open "$file" r]
set cont [read $fd]
close $fd
set deplst [regexp -all -inline -- {include::([^\[]*)\[\]} $cont]
if {[llength $deplst] > 0} {
set deps($file) $deplst
}
}
# Output
foreach {file deplst} [array get deps] {
puts -nonewline "[file rootname $file].xml [file rootname $file].html:"
foreach {match dep} $deplst {
puts -nonewline " $dep"
}
puts ""
}
exit 0
+45
View File
@@ -0,0 +1,45 @@
[attributes]
mansource=MacPorts
#manversion is in the Makefile
manmanual=MacPorts Manual
guideurl=http://guide.macports.org/
wikiurl=https://trac.macports.org/wiki/
## man: macro
#
# Usage: man:command[manpage-section]
#
# Note, {0} is the manpage section, while {target} is the command.
#
# Show link as: <command>(<section>); if section is defined, else just show
# the command.
[macros]
(?su)[\\]?(?P<name>man):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
(?su)[\\]?(?P<name>guide):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
(?su)[\\]?(?P<name>wiki):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
# man: and guide: for docbook
ifdef::backend-docbook[]
[man-inlinemacro]
<citerefentry>
<refentrytitle>{target}</refentrytitle>{0?<manvolnum>{0}</manvolnum>}
</citerefentry>
[guide-inlinemacro]
<ulink url="{guideurl}#{target}">{0={guideurl}{target}}</ulink>
[wiki-inlinemacro]
<ulink url="{wikiurl}{target}">{0={target}}</ulink>
endif::backend-docbook[]
# man: and guide: for xhtml11
ifdef::backend-xhtml11[]
[man-inlinemacro]
<a href="{target}{0?.{0}}.html">{target}{0?({0})}</a>
[guide-inlinemacro]
<a href="{guideurl}#{target}">{0={guideurl}{target}}</a>
[wiki-inlinemacro]
<a href="{wikiurl}{target}">{0={target}}</a>
endif::backend-xhtml11[]
[paradef-default]
cmdsynopsis-style=template="verseparagraph"
+8
View File
@@ -0,0 +1,8 @@
// $Id$
// vim: set et sw=4 ts=8 ft=asciidoc tw=80:
GLOBAL OPTIONS
--------------
Please see the section *GLOBAL OPTIONS* in the man:port[1] man page for a
description of global port options.
+643 -278
View File
File diff suppressed because it is too large Load Diff
+255
View File
@@ -0,0 +1,255 @@
// vim: set et sw=4 ts=8 ft=asciidoc tw=80:
macports.conf(5)
================
$Id$
NAME
----
macports.conf - Configuration file of the MacPorts system
DESCRIPTION
-----------
*macports.conf* is the configuration file used to bootstrap the MacPorts
system. This file is read by the *port* command and determines how it behaves.
Lines beginning with '#' are comments, empty lines are ignored. The format is
that of a simple key/value space or tab separated pair.
The file contains entries of the form:
--------
<key> <value>
--------
The value of any given key can be referred to by the '$\{<keyname>\}'
abstraction, where '<keyname>' expands to the key in question.
KEYS
----
// Set default style for second-level labeled lists in this section
:listdef-labeled2.style: horizontal
The following keys are used by *port* itself:
prefix::
Sets the directory where ports are installed. Any path may be used but those
with spaces and/or non ascii characters should be avoided, as this can break
some ports. This key is often referred to as '$\{prefix\}'.
*Default:*;; /opt/local
portdbpath::
Directory where MacPorts keeps working data such as downloaded sources,
installed ports' receipts and the main registry. The same path restrictions
apply as for '$\{prefix\}'.
*Default:*;; $\{prefix\}/var/macports
portdbformat::
Storage type to use for the MacPorts registry. The preferred format is
"sqlite", with "flat" also available as a legacy format.
*Default:*;; sqlite
applications_dir::
Directory containing Applications installed from ports.
*Default:*;; /Applications/MacPorts
frameworks_dir::
Directory containing Frameworks installed from ports.
*Default:*;; $\{prefix\}/Library/Frameworks
sources_conf::
Location of the sources file. This file enables rsync synchronization of the
default ports tree with the MacPorts rsync server (through the "sync" target
of the port command) and any other local tree(s) you might have.
*Default:*;; $\{prefix\}/etc/macports/sources.conf
variants_conf::
Location of the optional global variants definition file, listing those that
should be used in all installed ports if available.
*Default:*;; $\{prefix\}/etc/macports/variants.conf
buildfromsource::
Controls whether ports are built from source or downloaded as pre-built
archives. Setting to 'always' will never use archives, 'never' will always
try to use an archive and fail if one is not available. 'ifneeded' will try
to fetch an archive and fall back to building from source if that isn't
possible.
*Default:*;; ifneeded
portarchivetype::
Format of archives in which to store port images. This controls both the
type of archive cre- ated locally after building from source, and the type
to request from remote servers. Changing this will not affect the usability
of already installed archives; they can be of any supported type.
*Supported types:*;; tgz, tar, tbz, tbz2, tlz, txz, xar, zip, cpgz, cpio
*Default:*;; tbz2
configureccache::
Use ccache (C/C++ compiler cache). Requires that ccache has been installed.
*Default:*;; no
ccache_dir::
Location where ccache stores its files
*Default:*;; $\{portdbpath\}/build/.ccache
ccache_size::
Maximum size ccache may use. Use 'G', 'M', or 'K' suffix for giga-, mega- or
kilobytes.
*Default:*;; 2G
configuredistcc::
Use distcc (distributed compiler). Requires that distcc has been installed.
*Default:*;; no
configurepipe::
Use pipes rather than intermediate files when compiling C/C++/etc (gcc
-pipe)
*Default:*;; yes
buildnicevalue::
Lowered scheduling priority (0-20) to use for make when building ports
*Default:*;; 0
buildmakejobs::
Number of simultaneous make jobs (commands) to use when building ports. 0 is
a special value meaning "the number of CPU cores or the number of GB of
physical memory plus one, whichever is less."
*Default:*;; 0
portautoclean::
Automatic cleaning of the build directory of a given port after it has been
installed.
*Default:*;; yes
keeplogs::
Keep logs for ports.
*Default:*;; no
build_arch::
The machine architecture to try to build for in normal use.
*Regular architectures include:*;; ppc, i386, ppc64, x86_64
*Default (10.6):*;; x86_64 or i386 depending on hardware
*Default (10.5 and earlier):*;; i386 or ppc depending on hardware
universal_archs::
The machine architectures to use for +universal variant (multiple
architecture entries should be space separated).
*Regular architectures include:*;; ppc, i386, ppc64, x86_64
*Default (10.6):*;; x86_64 i386
*Default (10.5 and earlier):*;; i386 ppc
startupitem_type::
Set the default type of startupitems to be generated, overridable by
Portfiles that explicitly state a startupitem.type key. If set to "default",
then a type will be selected that's appropriate to the OS.
*Supported types:*;; none, SystemStarter, launchd, default, rcNG.
*Default:*;; default
destroot_umask::
Umask value to use during the destrooting of a port.
*Default:*;; 022
rsync_server::
Default rsync server to connect to when running "selfupdate" through the
port com- mand to update your base MacPorts infrastructure. While selfupdate
also syncs the ports tree, it uses the settings from $\{sources_conf\} to do
so.
*Default:*;; rsync.macports.org
rsync_dir::
Rsync directory from which to pull MacPorts sources from the rsync server.
*Default:*;; release/base/ (which pulls sources for the currently shipping
MacPorts release)
rsync_options::
Default rsync options to use when connecting to the rsync server.
*Default:*;; -rtzv --delete-after
binpath::
Sets the directory search path for locating system executables used by
MacPorts. This variable should contain the paths for locating utilities such
as rsync, tar, cvs and others. Don't change this unless you understand and
accept the consequences.
*Default:*;; $\{prefix\}/bin:$\{prefix\}/sbin:/bin:/sbin:/usr/bin:/usr/sbin
extra_env::
List of extra environment variables MacPorts should keep in the user's
environment when sanitizing it. Changing this is unsupported.
proxy_override_env::
Proxy support. Precedence is: env, macports.conf, System Preferences. That
is, if it's set in the environment, that will be used instead of anything
here or in System Preferences. Setting proxy_override_env to yes will cause
any proxies set here (or in System Preferences if set there but not here) to
override what's in the environment. Note that System Preferences doesn't
have an rsync proxy definition. Also note, on 10.5, sudo will clear many
environment variables including those for proxy support. Equivalent
environment variables: http_proxy, HTTPS_PROXY, FTP_PROXY, RSYNC_PROXY,
NO_PROXY
*Default:*;; yes
proxy_http::
HTTP proxy
*Default:*;; none
proxy_https::
HTTPS proxy
*Default:*;; none
proxy_ftp::
FTP proxy
*Default:*;; none
proxy_rsync::
rsync proxy
*Default:*;; none
proxy_skip::
Hosts not to go through the proxy (comma-separated, applies to HTTP, HTTPS
and FTP, but not rsync).
*Default:*;; none
host_blacklist::
Space separated list of download hosts that should not be used.
*Default:*;; none
preferred_hosts::
Space separated list of download hosts that should be used preferentially.
*Default:*;; none
revupgrade_autorun::
Controls whether the rev-upgrade action will be run automatically after
upgrading ports.
*Default:*;; yes
revupgrade_mode::
Controls the rev-upgrade functionality which checks for broken linking and
can rebuild ports to fix it. 'rebuild' means ports will automatically be
rebuilt when broken linking is detected in their files, while 'report' means
broken files will be scanned for and reported but the ports will not be
rebuilt.
*Default:*;; rebuild
default_compiler::
Default value for configure.compiler. This can be a space-separated list.
Later entries will be used if earlier entries are unavailable or blacklisted
by a port. Setting this is unsupported.
*Default:*;; none (internal list based on Xcode version is normally used)
FILES
-----
$\{prefix\}/etc/macports/macports.conf::
Standard system-wide MacPorts configuration file.
~/.macports/macports.conf::
User-specific configuration override. This file, if found, will be used
instead of the default file at $\{prefix\}/etc/macports/macports.conf.
SEE ALSO
--------
man:port[1], man:portfile[7]
AUTHORS
-------
(C) 2007-2011 The MacPorts Project
Juan Manuel Palacios <jmpp@macports.org>
Matt Anton <matt@opendarwin.org>
Rainer Mueller <raimue@macports.org>
+18
View File
@@ -0,0 +1,18 @@
<?xml version='1.0' ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
<xsl:param name="man.endnotes.list.heading">External References</xsl:param>
<xsl:param name="man.authors.section.enabled">0</xsl:param>
<xsl:param name="man.copyright.section.enabled">0</xsl:param>
<!-- Do not write soelim files -->
<xsl:template name="write.stubs">
</xsl:template>
<!-- Remove top comment with build date -->
<xsl:template name="top.comment">
</xsl:template>
</xsl:stylesheet>
+81
View File
@@ -0,0 +1,81 @@
'\" t
.TH "PORT\-ACTIVATE" "1" "2013\-03\-10" "MacPorts 2\&.3\&.99" "MacPorts Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
port-activate, port-deactivate \- Change active version of an installed port
.SH "SYNOPSIS"
.sp
.nf
\fBport\fR [\fB\-vdf\fR] [\fB\-D\fR \fIportdir\fR] \fBactivate\fR
[\-\-no\-exec]
[[\fIportname\fR | \fIpseudo\-portname\fR | \fIport\-expressions\fR | \fIport\-url\fR]]
[\fI@version\fR]
.fi
.sp
.nf
\fBport\fR [\fB\-vdf\fR] [\fB\-D\fR \fIportdir\fR] \fBdeactivate\fR
[\-\-no\-exec]
[[\fIportname\fR | \fIpseudo\-portname\fR | \fIport\-expressions\fR | \fIport\-url\fR]]
.fi
.SH "DESCRIPTION"
.sp
\fBport activate\fR will set the status of an previously installed version of a port to active\&. The passed ports have to reference already installed versions\&.
.sp
\fBport deactivate\fR will set the status of a port to inactive\&. The passed ports have to be active at the moment\&. You will be warned if this port has active dependents\&.
.sp
If any version is active at the time of using \fBport activate\fR, it will be deactivated first\&. This can be used to switch from one version to another\&.
.SH "PORT IMAGES"
.sp
MacPorts has the ability to install multiple versions or different variant selections of the same port\&. The files will be stored in an intermediate location as \fIarchives\fR, which allows to switch between the versions\&. Only one version can be active at a time\&. On activation, files will be copied to their intended place in \fIprefix\fR\&.
.sp
More information on this topic can be found in the \m[blue]\fBThe MacPorts Guide\fR\m[]\&\s-2\u[1]\d\s+2\&.
.sp
To check the current status of a specific port, use \fB\fBport-installed\fR(1)\fR\&.
.SH "OPTIONS"
.PP
\-\-no\-exec
.RS 4
Do not execute any stored pre\- or post\-uninstall procedures\&.
.RE
.SH "GLOBAL OPTIONS"
.sp
Please see the section \fBGLOBAL OPTIONS\fR in the \fBport\fR(1) man page for a description of global port options\&.
.SH "SEE ALSO"
.sp
\fBport\fR(1), \fBport-install\fR(1), \fBport-installed\fR(1), \fBport-deactivate\fR(1)
.SH "AUTHORS"
.sp
.if n \{\
.RS 4
.\}
.nf
(C) 2009 The MacPorts Project
Rainer Mueller <raimue@macports\&.org>
.fi
.if n \{\
.RE
.\}
.SH "EXTERNAL REFERENCES"
.IP " 1." 4
The MacPorts Guide
.RS 4
\%http://guide.macports.org/#internals.images
.RE
+56
View File
@@ -0,0 +1,56 @@
// vim: set et sw=4 ts=8 ft=asciidoc tw=80:
port-activate(1)
===============
$Id$
NAME
----
port-activate, port-deactivate - Change active version of an installed port
SYNOPSIS
--------
[cmdsynopsis]
*port* [*-vdf*] [*-D* 'portdir'] *activate*
[--no-exec]
[['portname' | 'pseudo-portname' | 'port-expressions' | 'port-url']]
['@version']
[cmdsynopsis]
*port* [*-vdf*] [*-D* 'portdir'] *deactivate*
[--no-exec]
[['portname' | 'pseudo-portname' | 'port-expressions' | 'port-url']]
DESCRIPTION
-----------
*port activate* will set the status of an previously installed version of a port
to active. The passed ports have to reference already installed versions.
*port deactivate* will set the status of a port to inactive. The passed ports
have to be active at the moment. You will be warned if this port has active
dependents.
// [NOTE]
If any version is active at the time of using *port activate*, it will be
deactivated first. This can be used to switch from one version to another.
include::archives.txt[]
OPTIONS
-------
--no-exec::
Do not execute any stored pre- or post-uninstall procedures.
include::global-flags.txt[]
SEE ALSO
--------
man:port[1], man:port-install[1], man:port-installed[1],
man:port-deactivate[1]
AUTHORS
-------
(C) 2009 The MacPorts Project
Rainer Mueller <raimue@macports.org>
+1
View File
@@ -0,0 +1 @@
.so man1/port-fetch.1
+1
View File
@@ -0,0 +1 @@
.so man1/port-fetch.1
+1
View File
@@ -0,0 +1 @@
.so man1/port-fetch.1
+1
View File
@@ -0,0 +1 @@
.so man1/port-fetch.1
+1
View File
@@ -0,0 +1 @@
.so man1/port-fetch.1
+1
View File
@@ -0,0 +1 @@
.so man1/port-fetch.1

Some files were not shown because too many files have changed in this diff Show More