<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-guide.
</pre>
<p><a href="https://github.com/macports/macports-guide/commit/25769bb5ad761575d3513ac535147eb4fb83c47e">https://github.com/macports/macports-guide/commit/25769bb5ad761575d3513ac535147eb4fb83c47e</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 25769bb Remove experimental conversion to AsciiDoc
</span>25769bb is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 25769bb5ad761575d3513ac535147eb4fb83c47e
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Sat Nov 4 17:42:12 2023 +0100
<span style='display:block; white-space:pre;color:#404040;'> Remove experimental conversion to AsciiDoc
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> It has been several years since the last work to improve the yet
</span><span style='display:block; white-space:pre;color:#404040;'> incomplete conversion to AsciiDoc. I originally wanted to have this in
</span><span style='display:block; white-space:pre;color:#404040;'> the upstream repository to generate interest and involve more
</span><span style='display:block; white-space:pre;color:#404040;'> contributors with the required manual fixes. However, I also lost the
</span><span style='display:block; white-space:pre;color:#404040;'> focus on the guide conversion and did not continue the work.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> At this point, having the unfinished conversion attempt in the
</span><span style='display:block; white-space:pre;color:#404040;'> repository does more harm than it does good as it especially confuses
</span><span style='display:block; white-space:pre;color:#404040;'> new contributors. Let's accept this is not happening and remove the
</span><span style='display:block; white-space:pre;color:#404040;'> adoc/ directory.
</span>---
Makefile | 19 +-
guide/adoc/README.md | 117 --
guide/adoc/glossary.adoc | 477 --------
guide/adoc/guide.adoc | 62 --
guide/adoc/installing.adoc | 441 --------
guide/adoc/internals-hier.adoc | 374 -------
guide/adoc/internals-tests.adoc | 206 ----
guide/adoc/internals.adoc | 257 -----
guide/adoc/intro.adoc | 50 -
guide/adoc/macports.conf.adoc | 238 ----
guide/adoc/macros.adoc | 15 -
guide/adoc/portfile-dependencies.adoc | 76 --
guide/adoc/portfile-keywords.adoc | 242 -----
guide/adoc/portfile-livecheck.adoc | 123 ---
guide/adoc/portfile-phase.adoc | 1922 ---------------------------------
guide/adoc/portfile-startupitem.adoc | 398 -------
guide/adoc/portfile-tcl.adoc | 169 ---
guide/adoc/portfile-variables.adoc | 73 --
guide/adoc/portfile-variants.adoc | 146 ---
guide/adoc/portfiledev.adoc | 1000 -----------------
guide/adoc/portfileref.adoc | 117 --
guide/adoc/portgroup-github.adoc | 130 ---
guide/adoc/portgroup-gnustep.adoc | 117 --
guide/adoc/portgroup-golang.adoc | 140 ---
guide/adoc/portgroup-java.adoc | 44 -
guide/adoc/portgroup-perl.adoc | 68 --
guide/adoc/portgroup-python.adoc | 136 ---
guide/adoc/portgroup-ruby.adoc | 24 -
guide/adoc/portgroup-xcode.adoc | 164 ---
guide/adoc/portgroups.adoc | 43 -
guide/adoc/project.adoc | 649 -----------
guide/adoc/using.adoc | 1567 ---------------------------
32 files changed, 1 insertion(+), 9603 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/Makefile b/Makefile
</span><span style='display:block; white-space:pre;color:#808080;'>index a11f191..f93dfa4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/Makefile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/Makefile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,12 +30,10 @@ TCLSH = /usr/bin/tclsh
</span> XSLTPROC = $(PREFIX)/bin/xsltproc
XMLLINT = $(PREFIX)/bin/xmllint
DBLATEX = $(PREFIX)/bin/dblatex
<span style='display:block; white-space:pre;background:#ffe0e0;'>-ASCIIDOCTOR = $(PREFIX)/bin/asciidoctor
</span>
# Data directories.
GUIDE = guide
# Source directories.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-GUIDE_ADOC = $(GUIDE)/adoc
</span> GUIDE_XML = $(GUIDE)/xml
# Result directories.
GUIDE_RESULT = $(GUIDE)/html
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,7 +46,7 @@ GUIDE_XSL_CHUNK = $(GUIDE)/resources/chunk.xsl
</span> # DocBook HTML stylesheet for the guide.
STYLESHEET = docbook.css
<span style='display:block; white-space:pre;background:#ffe0e0;'>-.PHONY: all clean guide guide-chunked guide-fromadoc guide-dblatex validate
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.PHONY: all clean guide guide-chunked guide-dblatex validate
</span>
all: guide guide-chunked
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,16 +57,6 @@ guide:
</span> guide-chunked::
$(call xml2html,$(GUIDE_XML),$(GUIDE_RESULT)/chunked,$(GUIDE_XSL_CHUNK))
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Experimental adoc input files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-guide-adoc2xml:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(ASCIIDOCTOR) -b docbook5 $(GUIDE_ADOC)/guide.adoc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-guide-fromadoc: guide-adoc2xml
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(call xml2html,$(GUIDE_ADOC),$(GUIDE_RESULT)/adoc,$(GUIDE_XSL))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-guide-chunked-fromadoc:: guide-adoc2xml
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(call xml2html,$(GUIDE_ADOC),$(GUIDE_RESULT)/adoc/chunked,$(GUIDE_XSL_CHUNK))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # Rules to generate HTML from DocBook XML
define xml2html
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -91,11 +79,6 @@ guide-chunked::
</span> # If someone knows a better way to do this please change it.
$(TCLSH) toc-for-chunked.tcl $(GUIDE_RESULT)/chunked
<span style='display:block; white-space:pre;background:#ffe0e0;'>-guide-chunked-fromadoc::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Add the table of contents to every chunked HTML file.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # If someone knows a better way to do this please change it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(TCLSH) toc-for-chunked.tcl $(GUIDE_RESULT)/adoc/chunked
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # Generate the guide as a PDF.
guide-dblatex: SUFFIX = pdf
guide-dblatex:
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/README.md b/guide/adoc/README.md
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 3c34955..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/README.md
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,117 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# AsciiDoc version of the guide
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is a work-in-progress attempt to convert the guide from DocBook to AsciiDoc.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The conversion has originally been done with [docbookrx](https://github.com/asciidoctor/docbookrx).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To handle all elements and special tweaks specific to the MacPorts guide, a [patched version of docbookrx](https://github.com/raimue/docbookrx/tree/macports-guide) is required for the conversion.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- docbookrx guide.xml
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-## Generating HTML
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-An easy way to create HTML pages is to run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- asciidoc guide.adoc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-or
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- asciidoctor guide.adoc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-## Plan
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For MacPorts transition to AsciiDoc we envision doing the following:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* With the highest priority fix issues with conversion
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- (either manually or by patching `docbookrx`).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* First convert `.adoc` files back to docbook `.xml` format and use the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- existing toolchain to generate the html pages (to avoid further delays).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Once that works, start working on improving the workflow and try to go
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- directly from AsciiDoc to html (and pdf), trying to keep the option to
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- generate multi-page html.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-We would be grateful for help, in particular towards fixing the issues with
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-conversion.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-## Known issues
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-During the conversion the following warnings are thrown:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- No visitor defined for <citerefentry>! Skipping.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- No visitor defined for <refentry>! Skipping.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- No visitor defined for <tbody>! Skipping.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- No visitor defined for <tbody>! Skipping.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- No visitor defined for <glossdiv>! Skipping.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See below how these need to be fixed in manual post-processing.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-## TODO
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-### Incorrectly converted
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-List of things that are incorrectly converted by docbookrx. These should be
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fixed in docbookrx as they either lose information or affect a lot of
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-locations in the sources.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Missing distinction between `<programlisting><prompt></><userinput></></>`, `<screen>`, and `<programlisting>`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- They all result in similar [source] blocks at the moment. Based on how they
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- are used in the guide, we should keep the semantics by adding style
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- attributes to AsciiDoc.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [cmd]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $ Commands to be typed into a terminal window.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [output]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Command output to a terminal window.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- File text.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Some internal references cannot be resolved as the anchor at the target is missing.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- The `xml:id="id"` should be turned into `[[id]]`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Error: no ID for constraint linkend: "reference.keywords.maintainers".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Error: no ID for constraint linkend: "reference.tcl-extensions.strsed".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Error: no ID for constraint linkend: "reference.phases.fetch.advanced.fetch-type".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Error: no ID for constraint linkend: "reference.phases.configure.cflags".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-### Postprocessing
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-List of things that need to be fixed manually after running the conversion
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-with docbookrx:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Fix book title
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Suppress rendering of "MacPorts" in "MacPorts Guide".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Fix nested tables in project.adoc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- docbookrx does not convert nested tables correctly (look for `<tbody>`).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- However, nested tables are in fact supported by AsciiDoc, so this can be
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rescued with manual work.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Remove trailing whitespace
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- docbookrx leaves some trailing whitespace at the end of lines.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- This should be cleaned up after the conversion.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Rewrite internals-hier.adoc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- None of the original hierarchy could be converted. Rewrite this section
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- in AsciiDoc (and maybe also merge it with porthier.7 in base?).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Rewrite glossary manually or remove it
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- docbookrx does not know about `<glossdiv>`. The glossary only contains
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- two entries, so the usefulness in its current form is doubtful.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Fix leveloffsets in portfileref.adoc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Sometimes our includes start a new section and sometimes they contain
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- content for the same level. There is no way for docbookrx to guess
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- that correctly, so it needs to be fixed manually.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* `<command>foo</command>` produces `[cmd]``foo`` `,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- `<filename>/opt/local</filename>` produces `[path]``foo`` `
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- These need to be turned into proper CSS classes, so they can be styled
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- accordingly like in the DocBook version of the guide.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Note: all other named literals of DocBook will produce anonymous literals using backticks only.
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/glossary.adoc b/guide/adoc/glossary.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 7e0ca51..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/glossary.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,477 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[guide-terms]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= MacPorts Guide Glossary
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:doctype: book
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sectnums:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:toc: left
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:icons: font
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:experimental:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idprefix:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idseparator: -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sourcedir: .
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This section defines a number of words which may be new to the reader.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These are all defined in the context of Macports instead of as general purpose definition.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sectnums!:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[glossary]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Glossary
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdiv xml:id="terms">
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <title>MacPorts Guide Terms</title>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>activate phase</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>automake</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>autoconf</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>API</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>destroot phase</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>port binary</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>build</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>build phase</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>checksum</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>A checksum is a small piece of data, derived from
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// an original that can be used to ensure that two files are
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// identical.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>checksum phase</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>compile</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>configure</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>configure phase</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>dependency</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>destroot phase</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>diff</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>extract phase</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>fetch phase</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>free software</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>global keyword</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>gunzip</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>keyword</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>keyword argument modifier</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>keyword list modifier</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>library</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>MacPorts</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>A system for compiling, installing, and managing free and open
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// source software comprised of an infrastructure called MacPorts base
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// and a collection of ports. MacPorts current port collection defines
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// the software may be installed.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>open source software</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>patch phase</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>patch file</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>pextlib</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>phase</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>port</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>port command</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>port image</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>port maintainer</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>port phase</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>port phase keyword</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>PortGroup</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>Portfile</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>registry</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>rsync</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>selfupdate</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>shell</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>StartupItem</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>Subversion</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>sync</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>tar</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>Tcl</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>Tcl extension</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>Trac</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>Unix</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>unzip</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>variant</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>Xcode Tools</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>X11</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossterm>zip</glossterm>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para/>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdef>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </glossdiv>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sectnums:
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/guide.adoc b/guide/adoc/guide.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index abfa9b5..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/guide.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,62 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= MacPorts Guide
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:doctype: book
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sectnums:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:toc: left
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:icons: font
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:experimental:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idprefix:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idseparator: -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::intro.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::installing.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::using.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portfiledev.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portfileref.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::internals.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::project.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::glossary.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::macros.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/installing.adoc b/guide/adoc/installing.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index a72751c..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/installing.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,441 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Installing MacPorts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:doctype: book
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sectnums:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:toc: left
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:icons: font
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:experimental:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idprefix:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idseparator: -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sourcedir: .
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This chapter shows you how to install MacPorts and its prerequisites step-by-step.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that the section about <<installing.xcode,installing Xcode>> is macOS-specific.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you wish to install MacPorts on another platform, first make sure you have a working C compiler installed, skip ahead to <<installing.macports.source,installing MacPorts from source>>, and continue to the end of the chapter.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.xcode]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Install Xcode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://developer.apple.com/xcode/[Xcode] is a package provided by Apple containing compilers, libraries and additional tools required to develop applications for macOS.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Always make sure to install the latest available version of Xcode for your macOS release; using outdated versions of Xcode may cause port install failures.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Also note that Xcode is not updated via OS X's Software Update utility on OS versions prior to 10.6, and is updated via the Mac App Store starting with 10.7.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Follow the instructions for your version of macOS:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.xcode.mavericks]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Install Xcode on OS X 10.9 or Later
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Download the latest version of Xcode https://developer.apple.com/downloads/index.action[from the Apple developer website] or get it https://itunes.apple.com/us/app/xcode/id497799835[using the Mac App
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Store].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Once you have Xcode installed, open a terminal, run ``+xcode-select --install+``, and click the Install button to install the required command line developer tools.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Don't worry if you see a message telling you the software cannot be installed because it is not currently available from the Software Update Server.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This usually means you already have the latest version installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can also get the command line tools from https://developer.apple.com/downloads/index.action[the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Apple developer website].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.xcode.lion]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Install Xcode on OS X 10.7 Lion or OS X 10.8 Mountain Lion
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Download the latest version of Xcode https://developer.apple.com/downloads/index.action[from the Apple developer website] or get it https://itunes.apple.com/us/app/xcode/id497799835[using the Mac App
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Store].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.xcode.lion.43]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-==== Xcode 4.3 and Later
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Xcode 4.3 and later do not automatically install the command line tools, but MacPorts requires them.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To install them, open the Xcode application, go to the Preferences window, to the Downloads section, and click the Install button next to Command Line Tools.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Be sure to return to this window after every Xcode upgrade to ensure that the command line tools are also upgraded.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you wish to create Installer packages with ``+port pkg+``, you will also need to install PackageMaker, which is in the "`Auxiliary Tools for Xcode`" package as of Xcode 4.3.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The download page for this package can be opened via the Xcode -> Open Developer Tool -> More Developer Tools... menu item.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-After downloading and mounting the disk image, drag the PackageMaker application to your /Applications directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.xcode.snowleopard]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Install Xcode on Mac OS X 10.6 Snow Leopard
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you are using Mac OS X 10.6, there are two branches of Xcode which could be considered to be the latest, 3.2.x and 4.x.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Xcode 4 costs money, but Xcode 3 is still available free of charge.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-There are two options for downloading it:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Xcode 3.2 - smaller download, but you will need to run Software Update after installing to get the latest version. Note that Apple might at some point discontinue providing these updates via their update servers.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Xcode 3.2.6 and iOS SDK 4.3 - includes the iOS SDK which is not needed for MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Both are available from the https://developer.apple.com/downloads/index.action[Apple
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- developer website].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You may also be able to install Xcode 3.2 from your Mac OS X 10.6 DVD and then run Software Update to get the latest version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Ensure that those of the following options that are available in the installer for your version of Xcode are selected:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* btn:[UNIX Development]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* btn:[System Tools]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* btn:[X11 SDK]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* btn:[Command Line Support]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.xcode.other]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Install Xcode on Older Releases of Mac OS X
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you have an earlier release of Mac OS X, you may download the latest version of Xcode for Mac OS X 10.5 (Xcode 3.0 and Xcode 3.1 Developer Tools) or 10.4 (Xcode 2.4.1 and Xcode 2.5 Developer Tools) from the https://developer.apple.com/downloads/index.action[Apple developer website].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Ensure that those of the following options that are available in the installer for your version of Xcode are selected:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* btn:[UNIX Development]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* btn:[System Tools]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* btn:[X11 SDK]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* btn:[Command Line Support]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.macports]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Install MacPorts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you are using macOS, you should install MacPorts using the macOS package installer unless you do not wish to install it to [path]`/opt/local/`, the default MacPorts location, or if you wish to install a pre-release version of MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, if you wish to <<installing.macports.source.multiple,install multiple copies of MacPorts>> or install MacPorts on another OS platform, you must <<installing.macports.source,install MacPorts from the source code>>.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.macports.binary]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== macOS Package Install
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The macOS package installer automatically installs MacPorts, <<installing.shell,sets the shell environment>>, and runs a <<using.port.selfupdate,selfupdate>> operation to update the ports tree and MacPorts base with the latest release.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Download the latest [path]`MacPorts-2.6.2-....pkg` installer from the releases https://github.com/macports/macports-base/releases/[on GitHub]. Here are direct links for the latest versions of macOS:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macOS 10.14 Mojave: ::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/macports/macports-base/releases/download/v2.6.2/MacPorts-2.6.2-10.14-Mojave.pkg[MacPorts-2.6.2-10.14-Mojave.pkg]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macOS 10.13 High Sierra: ::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/macports/macports-base/releases/download/v2.6.2/MacPorts-2.6.2-10.13-HighSierra.pkg[MacPorts-2.6.2-10.13-HighSierra.pkg]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macOS 10.12 Sierra: ::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/macports/macports-base/releases/download/v2.6.2/MacPorts-2.6.2-10.12-Sierra.pkg[MacPorts-2.6.2-10.12-Sierra.pkg]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Double-click the downloaded package installer to perform the default "`easy`" install.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. After this step you are done already, MacPorts is now installed and your shell environment was set up automatically by the installer. To confirm the installation is working as expected, now try using [cmd]``+port+`` in a _new_ terminal window.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Version: 2.6.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In case of problems such as "`command not found`", make sure that you opened a new terminal window or consult <<installing.shell>>.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Otherwise, please skip the remainder of this chapter and continue with <<using>> in this guide.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.macports.source]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Source Install
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you installed MacPorts using the package installer, skip this section.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To install MacPorts from the source code, follow the steps below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Download and extract the https://distfiles.macports.org/MacPorts/MacPorts-2.6.2.tar.bz2[ MacPorts 2.6.2 tarball]. Either do so using your browser and the Finder, or use the given commands in a terminal window.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.6.2.tar.bz2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ tar xf MacPorts-2.6.2.tar.bz2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Afterwards, perform the commands shown in the terminal window. If you wish to use a path other than [path]`/opt/local`, follow the instructions for <<installing.macports.source.multiple,installing multiple copies of MacPorts>> instead.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ cd MacPorts-2.6.2/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ ./configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ make
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo make install
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Please continue with <<installing.shell>> to set up your shell environment.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.macports.git]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Git Install
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you installed MacPorts using the package installer, skip this section.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-There are times when some may want to run MacPorts from a version newer than the current stable release.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Maybe there's a new feature that you'd like to use, or it fixes an issue you've encountered, or you just like to be on the cutting edge.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These steps explain how to setup MacPorts for developers, using only Git to keep MacPorts up to date.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Though a distinction is made between pre-release and release versions of MacPorts base, the ports collection supports no such distinction or versioning.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The <<using.port.selfupdate,selfupdate>> command installs the latest ports tree, and updates MacPorts base to the latest released version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Check out MacPorts source
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Pick a location to store a working copy of the MacPorts code.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For this example, [path]`/opt/mports` will be used, but you can put the source anywhere.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This example will create [path]`/opt/mports/macports-base` containing everything needed for MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ mkdir -p /opt/mports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ cd /opt/mports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ git clone https://github.com/macports/macports-base.git
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ cd macports-base
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ git checkout v2.6.2 # skip this if you want to use the development version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Build and Install MacPorts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts uses autoconf and makefiles for installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These commands will build and install MacPorts to [path]`/opt/local`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can add `+--prefix+` to [path]`./configure` to relocate MacPorts to another directory if needed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ cd /opt/mports/macports-base
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ ./configure --enable-readline
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ make
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo make install
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ make distclean
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. (Optional) Configure MacPorts to use port information from Git
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This step is useful if you want to do port development.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Check out the ports tree from git:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ cd /opt/mports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ git clone https://github.com/macports/macports-ports.git
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Then open [path]`/opt/local/etc/macports/sources.conf` in a text editor.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The last line should look like this:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-rsync://rsync.macports.org/macports/release/tarballs/ports.tar [default]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Change it to point to the working copy you checked out:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-file:///opt/mports/macports-ports [default]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Now MacPorts will look for portfiles in the working copy and use Git instead of rsync to update your ports tree.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Environment
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You should setup your PATH and other environment options according to <<installing.shell>>.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.macports.source.multiple]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Install Multiple MacPorts Copies
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Occasionally a MacPorts developer may wish to install more than one MacPorts instance on the same host.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Only one copy of MacPorts may use the default prefix [path]`/opt/local`, so for additional installations use the option `+--prefix+` as shown below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It's also recommended to change the applications dir using `+--with-applications-dir+` to avoid conflicts in [path]`/Applications/MacPorts`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use `+--without-startupitems+` to automatically set `+startupitem_install no+` in the new [path]`macports.conf`, which is required to avoid conflicts in [path]`/Library/LaunchAgents` or [path]`/Library/LaunchDaemons`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The first command temporarily removes the standard MacPorts binary paths because they must not be present while installing a second instance.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ export PATH=/bin:/sbin:/usr/bin:/usr/sbin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ MP_PREFIX=/opt/macports-test
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ ./configure --prefix=$MP_PREFIX --with-applications-dir=$MP_PREFIX/Applications --without-startupitems
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ make
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo make install
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.macports.upgrade]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Upgrade MacPorts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts base upgrades are performed automatically (when a newer release is available) during a <<using.port.selfupdate,selfupdate>> operation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To upgrade a copy of MacPorts that was installed from source to the newer release of the source code, simply repeat the <<installing.macports.source,source install>> with the newer version of the MacPorts source code.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.macports.uninstalling]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Uninstall MacPorts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Uninstalling MacPorts is a drastic step and, depending on the issue you are experiencing, you may not need to do so.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you are unsure, ask on the https://lists.macports.org/mailman/listinfo/macports-users[macports-users] mailing list first.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you are sure you want to uninstall, read on.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.macports.uninstalling.ports]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Uninstall All Ports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you want to uninstall MacPorts and the [cmd]``+port+`` command is functioning, first uninstall all the installed ports by running this command in the Terminal:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port -fp uninstall installed
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-All that will be left in your installation prefix now will be files that were not registered to any port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This includes configuration files, databases, any files which MacPorts renamed in order to allow a forced installation or upgrade, and the base MacPorts software itself.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You may wish to save your configuration files (most are in [path]`$prefix/etc`), databases, or any other unique data by moving it aside.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the [cmd]``+port+`` command is not functioning, you can proceed on to the next steps, but if you had installed any ports that install files to nonstandard locations, those files might not be removed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.macports.uninstalling.users]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Remove Users and Groups
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When MacPorts is installed, a [path]`macports` macOS user and group are created for privilege separation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you want to remove them, you can use these commands from an account that has admin privileges:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ dscl -p . -delete /Users/macports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ dscl -p . -delete /Groups/macports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you configured MacPorts to use a different user or group name, then specify that instead of [path]`macports`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Individual ports may create users and groups as well; you can remove them with the same commands, but replacing [path]`macports` with the user or group name you wish to delete.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.macports.uninstalling.everything]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Remove the Rest of MacPorts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you want to remove all remaining traces of MacPorts, run the following command in the Terminal.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you have changed ``+prefix+``, `+applications_dir+` or `+frameworks_dir+` from their default values, then replace [path]`/opt/local` with your ``+prefix+``, replace [path]`/Applications/MacPorts` with your ``+applications_dir+``, and/or add your `+frameworks_dir+` to the list, respectively.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you are running macOS 10.15 Catalina or later and have not disabled System Integrity Protection (SIP), you will need to <<installing.macports.uninstalling.users,remove the [path]`macports` user>> first.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo rm -rf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /opt/local \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /Applications/DarwinPorts \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /Applications/MacPorts \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /Library/LaunchDaemons/org.macports.* \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /Library/Receipts/DarwinPorts*.pkg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /Library/Receipts/MacPorts*.pkg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /Library/StartupItems/DarwinPortsStartup \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /Library/Tcl/darwinports1.0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /Library/Tcl/macports1.0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ~/.macports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you use a shell other than bash (perhaps tcsh), you may need to adjust the above to fit your shell's syntax.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Depending on which version of MacPorts you have and which ports you have installed, not all of the above paths will exist on your system; this is OK.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.shell]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== MacPorts and the Shell
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts requires that some environment variables be set in the shell.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When MacPorts is installed using the macOS package installer, a "`postflight`" script is run after installation that automatically adds or modifies a shell configuration file in your home directory, ensuring that it defines variables according to the rules described in the following section.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Those <<installing.macports.source,installing MacPorts from source code>> must modify their environment manually using the rules as a guide.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Depending on your shell and which configuration files already exist, the installer may use [path]`.profile`, [path]`.bash_login`, [path]`.bash_profile`, [path]`.tcshrc`, or [path]`.cshrc`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.shell.postflight]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== The Postflight Script
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The postflight script automatically sets the `+PATH+` variable, and optionally the `+MANPATH+` and `+DISPLAY+` variables according to the rules described below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a current shell configuration file exists at installation time it is renamed to "`mpsaved_$timestamp`".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Those <<installing.macports.source,installing MacPorts from source code>> must modify their environment manually using the rules as a guide.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Required: `+PATH+` variable
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This variable is set by the postflight script to prepend the MacPorts executable paths to the current path as shown.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This puts the MacPorts paths at the front of `+PATH+` so that the MacPorts binaries will take precedence over vendor-supplied binaries.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-export PATH=/opt/local/bin:/opt/local/sbin:$PATH
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The user environment's $PATH is not in effect while ports are being installed, because the $PATH is scrubbed before ports are installed, and restored afterwards.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To change the search path for locating system executables (rsync, tar, etc.) during port installation, see the <<internals.configuration-files.macports-conf,macports.conf>> file variable ``+binpath+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-But changing this variable is for advanced users only, and is not generally needed or recommended.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Optional: `+MANPATH+` variable
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Condition: If prior to MacPorts installation a `+MANPATH+` variable exists in a current [path]`.profile` that contains neither the value [path]`${prefix}/share/man,` nor any empty items separated by a colon, the postflight script sets the `+MANPATH+` variable as shown below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Otherwise, the `+MANPATH+` variable is omitted.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-export MANPATH=/opt/local/share/man:$MANPATH
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Optional: `+DISPLAY+` variable
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Condition: If installing on a Mac OS X version earlier than 10.5 (Leopard), and if a shell configuration file exists at time of MacPorts installation without a `+DISPLAY+` variable, the postflight script sets a `+DISPLAY+` variable as shown below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+DISPLAY+` variable is always omitted on Mac OS X 10.5 or higher.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-export DISPLAY=:0.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.shell.verifyprofile]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Verify the Configuration File
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To verify that the file containing the MacPorts variables is in effect, type [cmd]``+env+`` in the terminal to verify the current environment settings after the file has been created.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Example output for [cmd]``+env+`` is shown below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Changes to shell configuration files do not take effect until a new terminal session is opened.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MANPATH=
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TERM_PROGRAM=Apple_Terminal
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TERM=xterm-color
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-SHELL=/bin/bash
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TERM_PROGRAM_VERSION=237
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-USER=joebob
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-__CF_USER_TEXT_ENCODING=0x1FC:0:0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PWD=/Users/joebob
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-EDITOR=/usr/bin/pico
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-SHLVL=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-HOME=/Users/joebob
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-LOGNAME=joebob
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-DISPLAY=:0.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-SECURITYSESSIONID=b0cea0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-_=/usr/bin/env
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[installing.shell.editorvar]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Optional Editor Variables
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can set an environment variable in order to use your favorite text editor with the [cmd]``+port edit+`` command.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts will check ``+MP_EDITOR+``, `+VISUAL+` and `+EDITOR+` in this order, allowing you to either use a default editor shared with other programs (``+VISUAL+`` and ``+EDITOR+``) or a MacPorts-specific one (``+MP_EDITOR+``).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, to use the nano editor, add this line to your bash config:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-export EDITOR=/usr/bin/nano
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To use the user-friendly GUI editor https://www.barebones.com/products/bbedit/[BBEdit] (installation required), add this line:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-export EDITOR=/Applications/BBEdit.app/Contents/Helpers/bbedit_tool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To keep a command-line text editor as default while using BBEdit with portfiles, add this:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-export EDITOR=/usr/bin/vi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-export MP_EDITOR=/Applications/BBEdit.app/Contents/Helpers/bbedit_tool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/internals-hier.adoc b/guide/adoc/internals-hier.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index d54eef5..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/internals-hier.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,374 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="porthier">
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refmeta>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refentrytitle>PORTHIER</refentrytitle>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <manvolnum>7</manvolnum>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </refmeta>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refnamediv>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refname>porthier</refname>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refpurpose>layout of the ports filesystems</refpurpose>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </refnamediv>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refsection>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <title>Description</title>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>A map of the filesystem hierarchy used by MacPorts and the ports it
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// installs. Much of it is based on <citerefentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refentrytitle>hier</refentrytitle>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <manvolnum>7</manvolnum>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </citerefentry>.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><varname>${prefix}</varname></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>The base of the MacPorts filesystem hierarchy.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Default: <filename>/opt/local/</filename></para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>bin/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Common utilities, programming tools, and
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// applications.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>etc/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>System configuration files and scripts.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>include/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Standard C include files.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>lib/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Archive libraries.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>libexec/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>System daemons and system utilities (executed by other
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// programs).</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>Library/Frameworks/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Native macOS frameworks.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>sbin/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>System programs and administration utilities.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>share/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Architecture-independent files.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>doc/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Miscellaneous documentation.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>examples/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Examples for users and programmers.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>info/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>GNU Info hypertext system.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>locale/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Localization files.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>man/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Manual pages.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>misc/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Miscellaneous system-wide ASCII text files.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>src/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Source code.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>var/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Multi-purpose log, temporary, transient and spool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// files.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>db/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Miscellaneous automatically generated
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// system-specific database files.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>macports/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>MacPorts package building topdir.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>build/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Where ports are built and destrooted.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>distfiles/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Storage location for the distfiles of fetched
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// ports.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>packages/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Obsolete. Formerly contained archives (packages) of installed
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// ports.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>receipts/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Obsolete. Formerly contained the registry information and receipts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// for installed ports, in flat-file format.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>registry/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Contains the registry database in sqlite format.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>software/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>The files for each installed port are stored here.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>sources/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Holds the sources for the ports tree (the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// Portfiles) and also MacPorts base.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>spool/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Directory containing output spool files.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>log/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Miscellaneous system log files.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>run/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>System information files describing various
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// information about the system since it was booted.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>www/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Files to be served by an http server.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>cgi-bin/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Directory for cgi executables.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <term><filename>/Applications/MacPorts/</filename></term>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Native macOS applications.</para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </listitem>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </varlistentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </variablelist>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </refsection>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refsection>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <title>SEE ALSO</title>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para><citerefentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refentrytitle>port</refentrytitle>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <manvolnum>1</manvolnum>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </citerefentry>, <citerefentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refentrytitle>macports.conf</refentrytitle>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <manvolnum>5</manvolnum>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </citerefentry>, <citerefentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refentrytitle>portfile</refentrytitle>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <manvolnum>7</manvolnum>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </citerefentry>, <citerefentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refentrytitle>portgroup</refentrytitle>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <manvolnum>7</manvolnum>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </citerefentry>, <citerefentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refentrytitle>portstyle</refentrytitle>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <manvolnum>7</manvolnum>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </citerefentry>, <citerefentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refentrytitle>hier</refentrytitle>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <manvolnum>7</manvolnum>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </citerefentry></para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </refsection>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refsection>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <title>AUTHORS</title>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Felix Kroniage <email>fkr@opendarwin.org</email></para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <para>Juan Manuel Palacios <email>jmpp@macports.org</email></para>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </refsection>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </refentry>
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/internals-tests.adoc b/guide/adoc/internals-tests.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 101dc87..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/internals-tests.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,206 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.tests]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Tests
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts testing framework uses http://wiki.tcl.tk/1502[tcltest] for its unit tests as well as regression tests.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The framework was developed during Google Summer of Code 2013 by Marius Coțofană (marius@).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To keep things simple, each module of MacPorts ( https://github.com/macports/macports-base/tree/master/src/macports1.0[macports1.0], https://github.com/macports/macports-base/tree/master/src/package1.0[package1.0], https://github.com/macports/macports-base/tree/master/src/port1.0[port1.0], https://github.com/macports/macports-base/tree/master/src/registry2.0[registry2.0] ) has its own [path]`tests/` directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Each Tcl script in a module (e.g. https://github.com/macports/macports-base/blob/master/src/macports1.0/macports.tcl[macports.tcl]) has its own test script located in the [path]`tests` directory, with the same name and the '.test' extension (e.g. https://github.com/macports/macports-base/blob/master/src/macports1.0/tests/macports.test[macports.test]). Every proc in a script (e.g. ``+proc macports::findBinary+``) should have its own test proc (e.g. ``+test findBinary+``) in the correspond [...]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Test procs should maintain the order in the original script and should be independent one of another.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.tests.running]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Running tests
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Tests can be run only on an installed version of MacPorts (so make sure you have run [cmd]``+sudo make install+``).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The easiest way to run all the tests, is to use the target in the Makefile.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ make test
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Each [path]`tests/` directory has a [path]`test.tcl` file, used by the make target to run all tests and format the output, making it easy to read.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The script just runs the tests individually, printing the test file name, the total number of tests, number of passed, skipped, failed as well as constraints or errors of failed tests.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is one possible output when running [path]`macports.test`:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Total:31 Passed:31 Failed:0 Skipped:0 macports.test
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Many tests need root privileges to run correctly, but will be auto skipped in the other case.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Constraints are printed just below the final result, together with the number of test cases that require it, as so:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Total:31 Passed:24 Failed:0 Skipped:7 macports.test
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Constraint: 7 root
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The stack trace of an error that occurs during a test is printed below the constraints (if any).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The file can be used also to:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* run all tests:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ tclsh test.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* get debug info:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ tclsh test.tcl -debug \[0-3\]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* list individual test files:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ tclsh test.tcl -l
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* run specific test files:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ tclsh test.tcl -t macports.test
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* print help message:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ tclsh test.tcl -h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Specific test cases can be run using the [cmd]``+'-match'+`` argument for the file that contains the test, from its parent directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ tclsh macports.test -match mportclose
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Regression tests can be found in https://github.com/macports/macports-base/tree/master/tests/test/[tests/test/] and can be run just as unit tests, using [cmd]``+make test+`` from the parent directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.tests.mustknow]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Must know
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* regression tests have their own directory, found in https://github.com/macports/macports-base/tree/master/tests/test/[trunk/base/tests/test]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* each module of MacPorts (port1.0, macports1.0, package1.0) has its own '`tests/`' directory where the test files are located and also additional files needed (Portfile, test.tcl)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* each file in a module has a corresponding test file (.test extension) in the '`tests/`' directory
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* each proc in a file has a corresponding test case (test proc_name) in the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* each test case must be independent from each other, so they can be run individually if needed
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* each test must clean all auxiliary files or directories it creates and revert all ports it installs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* use a single test procedure for each tested proc; sub-test cases should be included in the same body
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* when adding new regression tests, make sure to specify its name in the test_suite list of 'trunk/base/tests/test.tcl'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* variables used in tests can be set at install-time using the '[module]_test_autoconf.tcl.in' file in each module (macports_autoconf.tcl.in, port_autoconf.tcl.in)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* for some tests in package1.0, an update of the ports tree is required; this is done automatically if they are run using the 'test' target in the Makefile, with root privileges
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.tests.sample-file]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Sample file
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# include required tcltest package and set namespace
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-package require tcltest 2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-namespace import tcltest::*
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# get absolute path to current ‘tests/’ directory
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set pwd [file normalize $argv0]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set pwd [eval file join {*}[lrange [file split $pwd] 0 end-1]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# the macports_fastload.tcl file needs to be sourced so we
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# can directly require packages later on; we can use the autoconf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# file to get the path to the file
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-source ../port_test_autoconf.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-source $macports::autoconf::macports_tcl_dir/macports1.0/macports_fastload.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-package require macports 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# source/require tested/needed files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# source ../../port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-package require portutil 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# use custom macports.conf and sources.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# you need to provide the sources.conf (see additional files) file
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-makeDirectory $pwd/tmpdir
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-makeDirectory $pwd/tmpdir/share
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-makeDirectory $pwd/tmpdir/var/macports/registry
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set fd [open $pwd/tmpdir/macports.conf w+]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-puts $fd "portdbpath $pwd/tmpdir/var/macports"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-puts $fd "prefix $pwd/tmpdir"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-puts $fd "variants_conf $pwd/tmpdir/variants.conf"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-puts $fd "sources_conf $pwd/sources.conf"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-puts $fd "applications_dir $pwd/tmpdir/Applications"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-puts $fd "frameworks_dir $pwd/tmpdir/Library/Frameworks"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-close $fd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set env(PORTSRC) $pwd/tmpdir/macports.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-file link -symbolic $pwd/tmpdir/share/macports $macports::autoconf::prefix/share/macports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-close [open $pwd/tmpdir/variants.conf w+]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# debug options
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# ports_debug and ports_verbose are commented out as default
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# need to be set before ‘mportinit’
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-array set ui_options {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#set ui_options(ports_debug) yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#set ui_options(ports_verbose) yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-mportinit ui_options
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# if you need to use procs from macports namespace, that are just aliases, you can
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# always source library.tcl (see additional files) which provides a copy macports::worker_init
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# without sub-interpreters; it also sets some important environment variables like
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# os.platform, os.major, os.arch, workpath, destpath, portpath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# some other option would be to get the $workername from a $mport and use it directly
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# additional procs needed for testing go before the actual test cases
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# test case example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# the test name must reflect the tested proc (remove namespaces if any)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# the test description should list specific values from the tested proc on which it depends
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# or the partial cases it tests
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test mportclose {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Mport close unit test.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# this branch is optional and you can use other constraints too
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} -constraints {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- root
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# the setup branch is optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} -setup {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set mport [mportopen file://.]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# please make output as useful as possible (even error cases)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# all sub-test cases should be part of the body branch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} -body {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[catch {mportclose $mport}] != 0} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return "FAIL: cannot run mportclose"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return "Mport close successful."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# the cleanup branch is optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} -cleanup {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file delete -force $pwd/work
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} -result "Mport close successful."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# print test results
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cleanupTests
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.tests.addtional-files]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Additional files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* In all tests we use this https://github.com/macports/macports-base/blob/master/src/macports1.0/tests/Portfile[Portfile].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* This is the https://github.com/macports/macports-base/blob/master/src/macports1.0/tests/test.tcl[test.tcl] file used to run and parse the output of all the tests in a module.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* A worker_init copy, without using sub-interpreters https://github.com/macports/macports-base/blob/master/src/package1.0/tests/library.tcl[library.tcl].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example of https://github.com/macports/macports-base/blob/master/src/macports1.0/tests/sources.conf[sources.conf].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* An example of a test file https://github.com/macports/macports-base/blob/master/src/macports1.0/tests/macports.test[macports.test].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* A https://github.com/macports/macports-base/blob/master/tests/test/library.tcl[library.tcl] of useful procs in regression testing.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.tests.resources]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Resources
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* http://wiki.tcl.tk/1502[Tcltest official wiki page]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* http://web.archive.org/web/20080617153002/www.tclscripting.com/articles/apr06/article1.html[Getting started with tcltest]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* http://www.tcl.tk/man/tcl8.5/TclCmd/tcltest.htm[Official tcltest documentation]
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/internals.adoc b/guide/adoc/internals.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 8bcc8ae..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/internals.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,257 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= MacPorts Internals
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:doctype: book
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sectnums:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:toc: left
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:icons: font
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:experimental:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idprefix:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idseparator: -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sourcedir: .
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This chapter contains information about the MacPorts file layout, configuration files, a few fundamental port installation concepts, and the MacPorts APIs.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.hierarchy]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== File Hierarchy
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::internals-hier.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::macports.conf.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.images]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Port Images
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts has a unique ability to allow multiple versions, revisions, and variants of the same port to be installed at the same time, so you may test new port versions without uninstalling a previous working version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This capability derives from the fact that a MacPorts port by default is not installed into its final or "`activated`" location, but rather to an intermediate location that is only made available to other ports and end-users after an activation phase that extracts all its files from the image repository.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Deactivating a port only removes the files from their activated locations (usually under ``+${prefix}+``)--the deactivated port's image is not disturbed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The location of an installed port's image can be seen by running:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% port location PORTNAME
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.apis]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== APIs and Libs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts system is composed of three Tcl libraries:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* MacPorts API - MacPorts public API for handling Portfiles, dependencies, and registry
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Ports API - API for Portfile parsing and execution
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* pextlib - C extensions to Tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.apis.ports]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Ports API
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The code for the Port API is located in [path]`base/src/port1.0`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The Port API provides all the primitives required for a Portfile to be parsed, queried, and executed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It also provides a single procedure call that the MacPorts API uses to kick off execution: ``+eval_targets+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The port Tcl library supplies these procedures, all of which are generated at run-time using the `+options+` procedure in portutil.tcl.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The macports Tcl library loads the Portfile into a sub-interpreter, within which all port-specific code is run.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This process ensures that there will never be pollution of the Tcl space of other ports, nor the MacPorts libraries, nor the calling application.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfiles are executed in a Tcl interpreter as Tcl code (and not truly parsed strictly speaking), so every Portfile option must be a Tcl procedure.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The Ports API performs the following functions:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Manages target registrations. All targets register themselves with the Port API. Accordingly, the Port API creates pre-/post-/main overrides for each of the targets.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Option/Default handling. All Portfile options (name, version, revision ...) are registered by targets. The Port API creates procedures for these options, and sets up the complex variable traces necessary to support option defaults.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Executes target procedures, including the pre/post/main routines.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Manages a state file containing information about what variants were specified and what targets have run successfully.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Provides essential Portfile Tcl extensions (reinplace, xinstall, etc).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Provides simple access to the ui_event mechanism by providing the various ui_ procedures (i.e., ui_msg, ui_error).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.apis.macports]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== MacPorts API
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The code for the MacPorts API is located in [path]`base/src/macports1.0`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts API provides a public API into the MacPorts system by providing simple primitives for handling Portfiles, dependencies, and registry operations, and exports the MacPorts API for the [cmd]``+port+`` command line utility, or any other.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The API has very little information about the contents Portfiles; instead, it relies entirely upon the [cmd]``+port+`` Tcl library.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-By keeping the high level API simple and generic, revisions to the underlying ports system will not necessarily require a revision of the high level MacPorts API.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts API is also responsible for loading user specified options into a sub-interpreter to be evaluated by the ports API.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In that case it sets the variable name in the sub-interpreter and adds the option to the sub-interpreter's global array user_options(). User options are passed as part of the call to ``+mportopen+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts API performs the following functions:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Dependency support.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is implemented in a highly generic fashion, and is used throughout the system.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The dependency functions are exported to the Port API, and the Port API uses them to execute targets in the correct order.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Dependency processing.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Software dependencies are handled at this layer using the dependency support layer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* UI abstractions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-UI Abstractions are handled at this layer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Each port action is provided a context, and a mechanism for posting user interface events is exported to the Port API (ui_event).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Registry management routines.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Manages the SQLite port registry in [path]`${prefix}/var/macports/registry/`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See also <<internals.registry>>.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Exports the MacPorts API for use by client applications.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following routines are defined.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+mportinit:+` Initializes the MacPorts system. Should be called before trying to use any other procedure.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+mportsearch:+` Given a regexp, searches the [path]`PortIndex` for ports with matching names.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+mportopen:+` Given a URI to a port, opens a Portfile and returns an opaque handle to it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+mportclose:+` Given a port handle, closes a Portfile.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+mportexec:+` Given a port handle, executes a target (e.g., install).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+mportinfo:+` Given a port handle, this returns the PortInfo array (as a flat list of array elements). This is a little tricky and unstable and only used by [cmd]``+portindex+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+mportdepends:+` Given a port handle, returns a list of ports upon which the specified port depends.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For an example of the MacPorts API, when one executes [cmd]``+port search cm3+``, the port utility:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Calls the `+mportsearch+` function to find all ports containing "`cm3`".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Returns Tcl array(s) containing data from the [path]`PortIndex`: port name, version, revision, variants, etc.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Formats the list of arrays in the standard viewing format.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For another MacPorts API example, when one executes [cmd]``+port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- install cm3+``, the port utility:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Calls the `+mportsearch+` function to find the first port that matches the name "`cm3`".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Calls the `+mportopen+` function to open the port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Calls the `+mportexec+` function to execute the install target in the port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Calls the `+mportclose+` function to close the port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.apis.pextlib]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== pextlib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The pextlib Tcl library provides a variety of C extensions to add capabilities to Tcl procedures; for example, an interface to flock(2) and mkstemp(3).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.registry]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== The MacPorts Registry
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This chapter provides an overview of the MacPorts registry and its API.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The registry is queried by MacPorts utilities for information about installed ports related to dependencies, port images, and simple user information about what is installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It provides abstraction over a modular receipt storage layer; where the default format is a SQLite database.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The registry allows MacPorts utilities to:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Modify receipts to reflect changes made to installed ports being maintained by MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Query the global file and dependency databases for file conflicts between a port being installed and a port already installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Maintain dependency trees of installed ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.registry.files]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Registry Files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The SQLite registry used by default is located at [path]`${portdbpath}/registry`, which by default would be [path]`${prefix}/var/macports/registry`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-All data is stored in a single file named [path]`registry.db`, although the additional directory [path]`portfiles` is used temporarily for extracting stored Portfiles from the registry.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Furthermore, access to the registry may be locked using [path]`.registry.lock` with the `+registry::exclusive_lock+` and `+registry::exclusive_unlock+` APIs.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The legacy flat file registry files are contained in [path]`${portdbpath}/receipts`, which by default is location [path]`${prefix}/var/macports/receipts`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-File mappings and dependency mappings are tracked in the flat file registry by [path]`file_map.db` and [path]`dep_map.bz2`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If found, these will be automatically converted to the new SQLite registry.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.registry.api]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== The Registry API
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts registry provides a public API in the registry1.0 Tcl package.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Using this API listed below you can access the MacPorts Registry using the default receipt storage mechanism chosen in [path]`macports.conf`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::new_entry {name version {revision 0} {variants ""}}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Begin the creation of a new registry entry for the given port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns a reference ID to the registry entry created.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::open_entry {name {version 0} {revision 0} {variants ""}}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Opens an existing registry entry.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns a reference ID to the registry entry that was opened.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::entry_exists {name version {revision 0} {variants ""}}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Checks to see if a port exists in the registry.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns 1 if the entry exists, 0 if not.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::write_entry {ref}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Writes the receipt associated with the given reference.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::delete_entry {ref}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Deletes the receipt associated with the given reference.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::property_store {ref property value}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Store the given value with the property name in the receipt associated with the given reference.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::property_retrieve {ref property}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Retrieve the property name from the receipt associated with the given reference.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns the value of the property, if the property exists.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::installed {{name ""} {version ""}}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Get all installed ports, optionally all installed ports matching the given name, or the given name and version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns a list of the installed ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::location {portname portversion}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns the physical location the port is installed in on the disk.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is primarily useful for finding out where a port image is installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::open_file_map {args}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Opens the file map that contains file-port relationships.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::file_registered {file}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns the name of the port that owns the given file, if the file is registered as installed, and 0 otherwise.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::port_registered {name}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns a list of all files associated with the given port if that port is installed, and 0 otherwise.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::register_file {file port}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Registers the given file in the file map as belonging to the given port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::unregister_file {file}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Removes the file from the file map.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::write_file_map {args}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Write the changes to the file map.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::open_dep_map {args}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Opens the dependency map that contains port dependency relationships.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::fileinfo_for_file {fname}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns a list for the given file name representing all data currently known about the file.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is a 6-tuple in the form of:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. file path
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. uid
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. gid
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. mode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. size
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. md5 checksum
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::fileinfo_for_index {flist}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns a list of information concerning each file in the given file list, if that file exists in the registry.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The information if obtained through registry::fileinfo_for_file
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::list_depends {name}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns a list of all the ports that given port name depends on.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::list_dependents {name}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns a list of all the ports that depend on the given port name.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::register_dep {dep type port}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Registers the given dependency as the given type of dependency with the given port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::unregister_dep {dep type port}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Unregister the given dependency of the given type as a dependency of the given port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+registry::write_dep_map {args}+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Write changes to the dependency map.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::internals-tests.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/intro.adoc b/guide/adoc/intro.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 54341aa..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/intro.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,50 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Introduction
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:doctype: book
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sectnums:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:toc: left
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:icons: font
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:experimental:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idprefix:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idseparator: -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sourcedir: .
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts is an easy to use system for compiling, installing, and managing open source software.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts may be conceptually divided into two main parts: the infrastructure, known as MacPorts base, and the set of available ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A MacPorts port is a set of specifications contained in a <<development.introduction,Portfile>> that defines an application, its characteristics, and any files or special instructions required to install it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This allows you to use a single command to tell MacPorts to automatically download, compile, and install applications and libraries.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-But using MacPorts to manage your open source software provides several other significant advantages.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, MacPorts:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Installs automatically any required support software, known as <<reference.dependencies,dependencies>>, for a given port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Provides for uninstalls and upgrades for installed ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Confines ported software to a private "`sandbox`" that keeps it from intermingling with your operating system and its vendor-supplied software to prevent them from becoming corrupted.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Allows you to create pre-compiled binary installers of ported applications to quickly install software on remote computers without compiling from source code.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts is developed on macOS, though it is designed to be portable so it can work on other Unix-like systems, especially those descended from the Berkeley Software Distribution (BSD). In practice, installing ports only works on macOS.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts base can be compiled on Linux (and possibly other POSIX-compatible systems) where it is mainly used to set up mirrors and generate support files for installations on macOS.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following notational conventions are used in the MacPorts Guide to distinguish between terminal input/output, file text, and other special text types.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Terminal I/O and file text.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ Commands to be typed into a terminal window.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Command output to a terminal window.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-File text.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Other special text types.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** A hyperlink: https://en.wikipedia.org/wiki/Spontaneous_combustion[spontaneous combustion].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** A file: [path]`/var/log/system.log`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** A command: [cmd]``+ifconfig+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** An option: port `+install+`
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/macports.conf.adoc b/guide/adoc/macports.conf.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index bed14f7..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/macports.conf.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,238 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.configuration-files]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Configuration Files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts configuration files often do not need to be modified for the general end user.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-They contain options that may be of use to advanced users and port developers.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Some automatically configured options may need to be updated when migrating to a new CPU architecture or a new OS version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-There are three MacPorts configuration files that define important variables used by the MacPorts system: [path]`macports.conf`, [path]`sources.conf`, and [path]`variants.conf`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-All MacPorts configurations files are located in [path]`${prefix}/etc/macports`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts configuration file format is a simple key/value pair separated by either a space or a tab.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Lines beginning with '#' are comments, empty lines are ignored.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.configuration-files.macports-conf]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== macports.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-macports.conf is the configuration file used to bootstrap the MacPorts system.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This file is read by the port command and determines how it behaves.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Options locating other .conf files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-sources_conf::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Where to find the sources list.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: [path]`${prefix}/etc/macports/sources.conf`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variants_conf::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Where to find global variants definition file (optional).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: [path]`${prefix}/etc/macports/variants.conf`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Options for MacPorts general operating characteristics.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-prefix::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Sets the directory where ports are installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Any path may be used but those with spaces and/or non-ASCII characters should be avoided because it can break some ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: [path]`/opt/local`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-portdbpath::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Directory where MacPorts keeps working data such as downloaded sources, installed port receipts, and the main registry.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Same path restrictions apply as for '${prefix}'.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: ${prefix}/var/macports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-portdbformat::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Formerly selected the storage type to use for the MacPorts registry: flat or sqlite.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Currently, only sqlite can be used.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+sqlite+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build_arch::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The machine architecture for which to build in normal use.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Options include: arm64, i386, ppc, ppc64, x86_64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(Snow Leopard and later) `+arm64+`, `+x86_64+` or `+i386+` depending on hardware
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(Leopard/Tiger) `+i386+` or `+ppc+` depending on hardware
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-applications_dir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Directory in which ports will install native macOS application bundles.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: [path]`/Applications/MacPorts`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-frameworks_dir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Directory in which ports will install native macOS frameworks.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: [path]`${prefix}/Library/Frameworks`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-developer_dir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Directory where Xcode is installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: [path]`/Developer`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-buildfromsource::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Controls whether ports are built from source or downloaded as pre-built archives.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Setting to 'always' will never use archives, 'never' will always try to use an archive and fail if one is not available.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-'ifneeded' will try to fetch an archive and fall back to building from source if that isn't possible.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+ifneeded+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-portarchivetype::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Format of archives in which to store port images.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This controls both the type of archive created locally after building from source, and the type to request from remote servers.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Changing this will not affect the usability of already installed archives; they can be of any supported type.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Supported types are: tgz, tar, tbz, tbz2, tlz, txz, xar, zip, cpgz, cpio
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: [path]`tbz2`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configureccache::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use ccache (C/C++ compiler cache) - see https://ccache.samba.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configuredistcc::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use distcc (distributed compiler) - see https://distcc.samba.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configurepipe::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use pipes rather than intermediate files when compiling C/C++/etc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+yes+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-buildnicevalue::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Lowered scheduling priority (0-20) to use for make when building ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-buildmakejobs::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Number of simultaneous make jobs (commands) to use when building ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Using "`0`" will cause a runtime autodetection to use all available processor cores.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-portautoclean::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set whether to automatically execute "`clean`" after "`install`" of ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+yes+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-rsync_server::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Rsync server from which to fetch MacPorts sources.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: rsync.macports.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-rsync_dir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Rsync directory from which to pull the base/ component (infrastructure) of MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: [path]`release/tarballs/base.tar`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-rsync_options::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Rsync options
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: -rtzv --delete-after
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot_umask::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Umask value to use during the destrooting of a port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: 022
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-binpath::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Sets env(PATH), the directory search path for locating system executables (rsync, tar, etc.) during port installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Only applications in these directories are available while ports are being installed even if other paths are specified by $PATH in a user's environment.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: ${prefix}/bin:${prefix}/sbin:/bin:/sbin:/usr/bin:/usr/sbin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The binpath is implicitly defined, but it may be overwritten by defining the variable in macports.conf.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, using a non-default binpath is discouraged and should only be performed by advanced users.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-host_blacklist::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Space-separated list of download hosts that should not be used.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This feature is especially useful if a host turns out to be consistently slow and therefore should be excluded for MacPorts' actions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-preferred_hosts::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Space-separated list of download hosts that should be used preferentially.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revupgrade_autorun::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Controls whether the rev-upgrade action will be run automatically after upgrading ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revupgrade_mode::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Controls the rev-upgrade functionality which checks for broken linking and can rebuild ports to fix it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-'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.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: rebuild
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Options for MacPorts Universal Binaries (+universal variant)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_archs::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The machine architectures to use for +universal variant (multiple entries must be space delimited). Options include: arm64, i386, ppc, ppc64, x86_64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+arm64 x86_64+` for macOS 11 and later, `+x86_64 i386+` for 10.6 through 10.13, ``+ppc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-i386+`` for 10.5 and earlier
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Options for StartupItems
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem_type::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Options for generated startup items, though this may be overridden by the `+startupitem.type+` Portfile key.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Options are "`default`" option, "`SystemStarter`", "`launchd`", or "`none`".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For an empty or "`default`" option, a startupitem type appropriate to the platform is used; if "`none`", no port startupitems are installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+default+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem_install::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Create system-level symlinks to generated StartupItems.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If set to "`no`", symlinks will not be created; otherwise, symlinks will be placed in [path]`/Library/LaunchDaemons` or [path]`/Library/LaunchAgents` as appropriate.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This setting only applies when building ports from source.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+yes+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Other options
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extra_env::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Extra environment variables to keep.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Any variables listed here are added to the list of variables that are not removed from the environment used while processing ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-place_worksymlink::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set whether to place a symlink named "`work`" from your ports tree to the build directory of a port, when the port is being built.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is convenient, but may not be ideal if you care about the structure of your ports tree.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, some developers keep their ports tree synchronized across multiple computers, and don't want to also synch build directories.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.configuration-files.sources-conf]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== sources.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This file enables rsync synchronization of the default ports tree with the MacPorts rsync server when either of the commands [cmd]``+port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- selfupdate+`` or [cmd]``+port sync+`` are run.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: [path]`rsync://rsync.macports.org/macports/release/tarballs/ports.tar [default]`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Optional local repositories are enabled using a file url: `+file:///path/to/localportsrepository+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[internals.configuration-files.variants-conf]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== variants.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This optional file specifies any variants you'd like to be invoked globally.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a variant specified in this file is not supported by a given Portfile, the variant is simply ignored.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: none
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/macros.adoc b/guide/adoc/macros.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 53120ae..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/macros.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,15 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Macros
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:doctype: book
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sectnums:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:toc: left
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:icons: font
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:experimental:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idprefix:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idseparator: -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sourcedir: .
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[WARNING]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This section is outdated and needs to be reworked.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Please see <<project.docs>> if you can contribute updated instructions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portfile-dependencies.adoc b/guide/adoc/portfile-dependencies.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index b32fb02..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portfile-dependencies.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,76 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.dependencies]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Dependencies
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Free and open source software is highly modular, and MacPorts ports often require that other ports be installed beforehand; these prerequisites for a given port are called a port's "`dependencies`".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The keywords used when specifying dependencies in a Portfile are related to port install phases, and they refer to what are called library, build, fetch, extract and run dependencies.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Though all of them install dependencies before a given port is installed, specifying dependencies with the correct keyword is important for proper port upgrade and uninstall behavior, or when running targets other than install.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, you may not uninstall a port that is a library dependency for another installed port, though you may remove one that is a build dependency.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Likewise, if you run the fetch target for a port, only the fetch dependencies will be installed first, so they should be all that is needed for that target.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_fetch::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of dependencies to check before phases ``+fetch+``, ``+checksum+``, ``+extract+``, ``+patch+``, ``+configure+``, ``+build+``, ``+destroot+``, ``+install+``, and ``+package+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fetch dependencies are needed to download the distfiles for a port, and are not needed at all once the software is installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_extract::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of dependencies to check before phases ``+extract+``, ``+patch+``, ``+configure+``, ``+build+``, ``+destroot+``, ``+install+``, and ``+package+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Extract dependencies are needed to unpack a port's distfiles into the work directory, and are not needed at all once the software is installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of dependencies to check before phases ``+configure+``, ``+build+``, ``+destroot+``, ``+install+``, and ``+package+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Build dependencies are needed when software is being built, but not needed at all once it is installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of dependencies to check before phases ``+configure+``, ``+build+``, ``+destroot+``, ``+install+``, and ``+package+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Library dependencies are needed both at build time (for headers and libraries to link against) and at run time.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_test::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of dependencies to check before phase ``+test+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Test dependencies are only needed when the port enables testing (i.e. ``+test.run yes+``).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of dependencies to check before phases ``+destroot+``, ``+install+``, and ``+package+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Run dependencies are needed when the software is run, but not to compile it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.dependencies.types]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Port and File Dependencies
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-There are two types of dependencies: port dependencies and file dependencies.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Port dependencies can be satisfied by reference to a port (the MacPorts registry is queried), or by reference to a file (whether provided by a port or not). The most commonly-used type of dependencies in Portfiles are port dependencies, because dependencies should be provided by MacPorts ported software whenever possible, and usually only one port can provide the needed libraries and files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-But when satisfying a dependency with vendor-supplied software is preferred for special reasons, or when it is possible for more than one port to satisfy a dependency, then file dependencies may be used.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-An example of the former is with ubiquitous utilities like awk, grep, make or sed, where the versions in macOS are often sufficient; an example of the latter is with "`-devel`" ports--these ports provide a different version of the same files (though only one can be activated at a time).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Port dependencies, the preferred type, are specified as shown in these examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:rrdtool port:apache2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:libtool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run port:apache2 port:php5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-File dependencies should only be used if one of the reasons listed above applies.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-There are three types: `+bin+` for programs, `+lib+` for libraries, and `+path+` for any installed file.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-File dependencies are specified in the form: ``+<type>+``:``+<filespec>+``:``+<port>+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For `+bin+` dependencies, `+<filespec>+` is the name of a program in a bin directory like [path]`${prefix}/bin`, /usr/bin, /bin, and the associated sbin directories.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For `+lib+` dependencies, `+<filespec>+` is the name of a library (but without its extension) in a lib directory like [path]`${prefix}/lib`, /usr/lib, /lib, some Framework directories, and those found in environment variables like DYLD_LIBRARY_PATH.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For `+path+` dependencies, `+<filespec>+` is the complete absolute path to the file, or more usually, when the file is inside [path]`${prefix}`, it is specified relative to [path]`${prefix}`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Since `+path+` dependencies are the only ones which would find files only in an absolute path or a path inside [path]`${prefix}` they are - in cases when a port needs to be more restrictive - often used instead of `+bin+` and `+lib+` dependencies .
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that the `+<port>+` specified is only installed if the specified library, binary, or file is not found.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See the examples below:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib lib:libX11.6:xorg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build bin:glibtool:libtool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run path:lib/libltdl.a:libtool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portfile-keywords.adoc b/guide/adoc/portfile-keywords.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 2a4629b..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portfile-keywords.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,242 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.keywords]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Global Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts keywords are used to specify required or optional items within a Portfile, or to override default options used by MacPorts base for individual ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Keywords are to be used within the "`global`" and "`variant`" sections of Portfiles, and not within optional port phase declarations.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The global keywords listed below specify information for ports as a whole, whereas the keywords listed under a port phase specify information to be used during a particular installation phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The first non-comment line of every Portfile; it should be followed by PortGroup inclusions (if any) and then a blank line.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It defines which version of the Portfile interpreter will be used.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(There is currently only one version.)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The name of the port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To avoid special interpretation by shells and the like, names should contain only alphanumeric characters, underscores, dashes or dots.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For projects whose proper names contain "`+`" characters, change these to "`x`" (e.g., "`libstdc++`" becomes "`libstdcxx`").
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name foo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The version of the ported software.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.23.45
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Optional keyword (default is 0) that is used to track port revisions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It should not be incremented for port revisions unless it would benefit users to upgrade an installed port, and cleared when the port is updated to a newer version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It should be used if a bug in the Portfile was found and all installations of this port have to be updated.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the change only affects new installations, there is no need to increase it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-epoch::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-An optional keyword (default value is 0) that must be used when a port is updated to a version that is numerically less than the previous version, for example 1.10 -> 1.2 or 20070928 -> 1.0.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Some Portfile authors have used large epoch values that look like a date, but there is no reason to do so.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The epoch is simply an unsigned integer, and the only requirement is that it never be decreased.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Remember that once set, it can never be removed because it takes precedence over version and revision.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-epoch 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-An epoch is not needed for most ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a port's version numbers advance in normal dotted-decimal sequence, there is no reason to add an epoch.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The category under which the ported software falls.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The first category should be the same as the directory within which the Portfile is stored; secondary and tertiary categories may be selected.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories net security
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A port's maintainers are the people who have agreed to take responsibility for keeping the port up-to-date.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Most ports have only a single maintainer, but some ports have two or more co-maintainers.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+maintainers+` keyword lists the maintainers' GitHub usernames or email addresses.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-GitHub usernames start with an `+@+` symbol.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Email addresses are preferably listed in the obfuscated form below to hide them from spambots:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* For addresses in domain @macports.org, simply omit the domain name.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* For addresses in other domains, e.g., mailto:account@example.org[], use the convention `+example.org:account+` to specify the address.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In the example below, the port is maintained by a GitHub user named neverpanic, and the owners of the two email addresses mailto:jdoe@macports.org[] and mailto:julesverne@example.org[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers @neverpanic \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- jdoe \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- example.org:julesverne
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Braces can be used to express that these refer to the same person, for example the GitHub username and an email.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In the following example, the port is maintained by a GitHub user named jverne, that can also be contacted directly at mailto:julesverne@example.org[].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {@jverne example.org:julesverne}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The address `+nomaintainer+` designates a port that is not maintained by anybody and may be modified by any committer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Feel free to claim maintainership of a nomaintainer port if desired.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The address `+openmaintainer+` designates a port that has a maintainer who allows minor changes to be committed without his or her prior approval.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Port maintainers who are not committers are encouraged to add `+openmaintainer+` to their ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A one-sentence description of the ported software.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description A classic shooter arcade game.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A long description of the ported software.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Break long lines with escaped newlines.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description A classic shooter arcade game derived from \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- the game alien-munchers. Not suitable for \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- children under two years old.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Port application's homepage.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://www.example.org/apps
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A list of the platforms on which the port has been tested.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Required, but not interpreted in any way by the software at this time; it is purely informational for users.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Possible values: `+darwin+` (= `+macosx+` or ``+puredarwin+``), ``+macosx+``, ``+puredarwin+``, ``+freebsd+``, ``+linux+``, ``+sunos+``, ``+netbsd+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In general, it can just be set to ``+darwin+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(``+puredarwin+`` is an OS based on Apple's open-source Darwin releases without any of Apple's proprietary bits.) See also ``+os.platform+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The CPU architectures for which this port can be built.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Archs currently supported by macOS are: arm64, i386, ppc, ppc64, x86_64.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If this option is not set, it is assumed that the port can build for all archs.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a port does not install any architecture-specific files, use the special value ``+noarch+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the building architecture isn't among supported_archs, port fails with an error message, except when building on x86_64 and supported_archs contains i386 or when building on ppc64 and supported_archs contains ppc, in which case the port will be built in 32-bit mode.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs i386 ppc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs noarch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The proper format for license consists of the license name, followed by a hyphen and number if indicating a specific version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A space should be placed between licenses if there is more than one that applies.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If an element in the license list is itself a list, it is interpreted as offering a choice of any one of the licenses in the sub-list.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the version number is a "`$$.$$0`" version, the "`$$.$$0`" should be omitted to make the version an integer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the author gives the choice of using a given license or "`any later version`" of it, append a plus sign (+) to the version number.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the version specified in this case is also the earliest version, just leave out the version number entirely since it implies all versions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license {freetype GPL}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license_noconflict::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-By default, it is assumed that ports may use libraries or headers from their dependencies and thus form a derivative work.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A dependency with an incompatible license thus prevents the port from being distributed in binary form.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a dependency with an incompatible license is not used in such a way that a derivative work is formed, or should not prevent binary distribution for any other reason, add its name to this list.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license_noconflict openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license_noconflict readline gdbm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_xcode::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Available in 2.6.0 and later.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-By default, it is assumed on macOS that ports will not need tools from Xcode.app unless (1) Command Line Tools aren't installed, (2) you are on an old version of Mac OS X that does not support the xcode-select mechanism, or (3) the port uses `+build.type xcode+` or includes the `+xcode+` PortGroup.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a port needs to use Xcode (i.e., xcodebuild) in any way, `+use_xcode yes+` should be set or the port should include the xcode PortGroup.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The environment variable DEVELOPER_DIR is now exported during all build phases, set to the value of `+${configure.developer_dir}+` which may be the directory of Xcode or CLT depending on use_xcode.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This means that libxcselect shims (i.e., /usr/bin/clang) will resolve to Xcode/CLT.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Build systems that ignore the environment may accidentally use Xcode which will cause a failure in trace mode.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_xcode no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_xcode yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portfile-livecheck.adoc b/guide/adoc/portfile-livecheck.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 2ac7489..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portfile-livecheck.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,123 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.livecheck]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Livecheck / Distcheck
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Options livecheck and distcheck are especially useful for port maintainers, but others may also find this information valuable.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Livecheck checks to see if MacPorts can query the developer's download site to determine if a newer version of the software has become available since the port was installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Specify what kind of update check to perform.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Open source mirror site options are to use the project's latest file release from `+sourceforge+` or the project's `+date_updated+` XML tag for ``+freecode+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These options are automatically used if a matching `+${master_sites}+` URL is used.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Generic download site options are to specify a `+moddate+` (modification date of a URL resource), a `+regex+` (retrieve the version by applying a regex to a URL resource), `+regexm+` (retrieve the version by applying a multi-line regex to a URL resource), `+md5+` (compares the md5 sum of a URL resource) or `+none+` (no check).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+sourceforge+` or `+googlecode+` if the `+${master_sites}+` is one of these, else ``+freecode+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Values: `+freecode+```+sourceforge+````+googlecode+````+moddate+````+regex+````+regexm+````+md5+````+none+``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${homepage}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex "Generally Available (\\d+(?:\\.\\d+)*)"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.name::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Name of the project for live checks.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Is only used with freecode, sourceforge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${name}+` or the sourceforge, freecode project name if it can be guessed from ``+${master_sites}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.name hibernate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.distname::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Name of the file release for sourceforge checks.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use the name of the package release.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You may use this keyword without `+livecheck.version+` if you replace the version part of the name with "``+(.*)+``".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: sourceforge: `+${livecheck.name}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.distname faad2.src
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.version::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Version of the project for a check; used for regex-based checks.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${version}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.version ${name}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-URL to query for a check.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+${homepage}+` or the first hit among the following sites:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+http://freecode.com/projects-xml/${livecheck.name}/${livecheck.name}.xml+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+https://sourceforge.net/api/file/index/project-name/${livecheck.name}/rss+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+https://code.google.com/p/${livecheck.name}/downloads/list+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url https://ftp.gnu.org/gnu/bison/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Regular expression to parse the resource for regex checks.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Be sure to use a regular expression grouping around the version component.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Also remember that square brackets need to be quoted because Tcl otherwise interprets them as a procedure call.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex 4th-(\[a-z0-9.\]+)-unix${extract.suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.md5::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-md5 checksum to use for an md5 comparison.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.md5 37e6a5b6516a680c7178b72021d3b706
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Distcheck reports whether or not the distfile(s) specified in a Portfile are still available on the developer's download site.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Examples are given below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distcheck.check::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This option can be used to disable distcheck.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It specifies what kind of check should be performed on distfiles: `+moddate+` (check if the Portfile is older than the distfile) or `+none+` (no check).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+moddate+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distcheck.check none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portfile-phase.adoc b/guide/adoc/portfile-phase.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 83b9950..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portfile-phase.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,1922 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Port Phases
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.introduction]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Introduction
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts port installation process has a number of distinct phases that are described in detail in this section.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The default scripts coded into MacPorts base performs the standard [cmd]``+configure+``, [cmd]``+make+``, and [cmd]``+make
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- install+`` steps.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For applications that do not conform to this standard, installation phases may be declared in a Portfile to <<development.examples.augment,augment>> or <<development.examples.override,override>> the default behavior as described in the <<development,Portfile Development>> chapter.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fetch the `+${distfiles}+` from `+${master_sites}+` and place it in [path]`${prefix}/var/macports/distfiles/${name}`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksum::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Compare `+${checksums}+` specified in a [path]`Portfile` to the checksums of the fetched ${distfiles}.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Unzip and untar the `+${distfiles}+` into the path ${prefix}/var/macports/build/..../work
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Apply optional https://en.wikipedia.org/wiki/Patch_(Unix)[patch] files specified in `+${patchfiles}+` to modify a port's source code file(s).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Execute `+${configure.cmd}+` in ``+${worksrcpath}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Execute `+${build.cmd}+` in ``+${worksrcpath}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Execute commands to run test suites bundled with a port, available only for a fraction of ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is an optional phase, run only if [cmd]``+port test+`` is executed, and always works with a build from source, not a binary.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A failure is only for the user's information, and does not block a subsequent installation from the build.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Execute the command [cmd]``+make install+````+DESTDIR=${destroot}+``in ``+${worksrcpath}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Using a https://www.gnu.org/prep/standards/html_node/DESTDIR.html[DESTDIR
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variable] is a part of standard GNU coding practices, and this variable must be supported in an application's install routines for MacPorts' destroot phase to work without manual Portfile scripting or source patching.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Urge developers to fully support `+DESTDIR+` in their applications.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Understanding the destroot phase is critical to understanding MacPorts, because, unlike some package management systems, MacPorts "`stages`" an installation into an intermediate location, not the final file destination.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts uses the destroot phase to provide:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Port uninstalls - a port's files may be cleanly uninstalled because all files and directories are recorded during install.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Multiple port versions may be installed on the same host, since a port's files are not directly inserted into `+${prefix}+` but rather hard-linked into `+${prefix}+` from an intermediate location during a later activation phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Any empty directories in `+${destroot}+` upon completion of the destroot phase are removed unless a directory name is placed in the value field of the optional `+destroot.keepdirs+` keyword.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-install::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Archive a port's destrooted files into [path]`${prefix}/var/macports/software`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See <<internals.images,Port Images>> in the <<internals,MacPorts Internals>> chapter for details.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-activate::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Extract the port's files from the archive in [path]`${prefix}/var/macports/software` to their final installed locations, usually inside ``+${prefix}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.installation]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Installation Phase Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts keywords are used to specify required or optional items within a Portfile, or to override default options used by MacPorts base for individual ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Keywords are to be used within the "`global`" and "`variant`" sections of Portfiles, and not within optional port phase declarations.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In other words, port phase keywords are not located within port phase declarations, but rather they _refer_ to port phases and set options for those phases, and they take effect whether or not phase declarations have been explicitly defined in a Portfile.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.installation.list-modifiers]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Keyword List Modifiers (-append, -delete, -replace, -strsed)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Keyword list modifiers are keywords that end in -append, -delete or -replace.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Keywords that support list modifiers are identified under appropriate reference sections below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--append adds a value to the keyword, -delete removes a previously added item.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--replace takes two arguments and replaces the first value from the keyword with the second value.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--strsed treats the keyword value as a string and filters it through <<reference.tcl-extensions.strsed,strsed>> using the given pattern.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-There is also a deprecated syntax for -replace which takes only one argument and behaves the same as -strsed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Keyword list modifiers are most frequently used for these three purposes:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Preserve configure defaults set by a previously executed Portfile keyword or by MacPorts base
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts base sets the gcc compiler flags CFLAGS and LDFLAGS for all ports using `+configure.cflags+` and ``+configure.ldflags+``, therefore to keep from overwriting the default compiler flags use `+configure.cflags-append+` and ``+configure.ldflags-append+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+configure.cflags-append+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+configure.ldflags-append+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Preserve PortGroup Dependencies
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Ports in a PortGroup have default library dependencies set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Therefore, never use `+depends_lib+` in ports belonging to a PortGroup or it will overwrite the default library dependencies.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Instead, use ``+depends_lib-append+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Add or Delete Items for Variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When a variant requires more or fewer dependencies, distfiles, or patchfiles, when the variant is invoked you want to add or remove items to the appropriate keyword values list set in the global section of the Portfile.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use the appropriate keywords, for example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+depends_lib-append+` or `+depends_lib-delete+` or `+depends_lib-replace+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+distfiles-append+` or `+distfiles-delete+` or `+distfiles-replace+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** `+patchfiles-append+` or `+patchfiles-delete+` or `+patchfiles-replace+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.installation.argument-modifiers]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Keyword Argument Modifiers (.pre_args / .post_args)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Keywords that support pre_args and post_args are used to assemble command strings together in a row, as described in the reference sections below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-But it should be noted that all keyword argument modifiers implicitly support keyword list modifiers.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, the keyword `+configure.pre_args+` also supports `+configure.pre_args-append+` and ``+configure.pre_args-delete+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.fetch]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Fetch Phase Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of keywords related to the fetch phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A list of URLs from which a port's `+${distfiles}+` may be retrieved.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Keyword values for `+master_sites+` may include predefined site lists known as "`mirrors`", such as sourceforge, gnu, etc.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The file(s) declared in `+${distfiles}+` will be fetched from one of the locations defined in ``+master_sites+``, while trying to find the best reachable mirror for the user's connection.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For a complete list of mirrors and their list of sites, see the file [path]`mirror_sites.tcl` located in [path]`_resources/port1.0/fetch/` in the ports tree.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a `+master_sites+` keyword has multiple values, after any mirrors are expanded the list of sites is sorted by ping response times.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The sites are then tried in sorted order until matching `+${distfiles}+` are found.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+none+` (but the `+macports_distfiles+` mirror is always implicitly appended)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://www.example.org/files/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- https://mirror.example.org/example_org/files/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You may also use mirror site lists predefined by MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Here the sourceforge, gnu, and freebsd mirrors are used.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites sourceforge gnu freebsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When using mirror master_sites, the subdirectory `+${name}+` is checked on every mirror.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the mirror subdirectory does not match ${name}, then you may specify it using after the mirror separated by a colon.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites sourceforge:widget \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gnu:widget
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For ports that must fetch multiple download files from different locations, you must label the files with tags and match the tags to a `+distfiles+` keyword.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The format is ``+mirror:subdirectory:tag+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In the example below, file_one.tar.gz is fetched from sourceforge mirrors in subdirectory ``+${name}+``; file tagtwo.tar.gz is fetched from the gnu mirrors in subdirectory sources.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites sourceforge::tagone \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gnu:sources:tagtwo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles file_one.tar.gz:tagone \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file_two.tar.gz:tagtwo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites.mirror_subdir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Subdirectory to append to all mirror sites for any list specified in ``+${master_sites}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${name}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites.mirror_subdir magic
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch_sites::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A list of sites from which a port's patchfiles may be downloaded, where applicable.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${master_sites}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch_sites ftp://ftp.patchcityrepo.com/pub/magic/patches
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch_sites.mirror_subdir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Subdirectory to append to all mirror sites for any list specified in ``+${patch_sites}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${name}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch_sites.mirror_subdir magic
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The name of the distribution filename, not including the extract suffix (see below).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${name}-${version}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The full distribution filename, including the extract suffix.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Used to specify non-default distribution filenames; this keyword must be specified (and tags used) when a port has multiple download files (see master_sites).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${distname}${extract.suffix}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles ${name}-dev_src.tgz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles file_one.tar.gz:tagone \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file_two.tar.gz:tagtwo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dist_subdir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The last path component of ``+${distpath}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Override it to store multiple ports' distfiles in the same directory (such as multiple ports providing different versions of the same software), or if a https://trac.macports.org/wiki/PortfileRecipes#stealth-updates[stealth
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-update] has occurred.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${name}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dist_subdir gcc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dist_subdir ${name}/${version}_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Sets the path to source directory relative to workpath.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It can be used if the extracted source directory has a different name then the distfile.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Also used if the source to be built is in a subdirectory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${distname}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir ${name}-src-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir ${distname}/src
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.fetch.advanced]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Advanced Fetch Options
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Some mirrors require special options for a resource to be properly fetched.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.type::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Change the fetch type.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is only necessary if a <<reference.phases.fetch.bzr,bzr>>, <<reference.phases.fetch.cvs,cvs>>, <<reference.phases.fetch.git,git>>, <<reference.phases.fetch.hg,hg>>, or <<reference.phases.fetch.svn,svn>> checkout is being used. `+standard+` is used for a normal http or ftp fetch using `+${distfiles}+` and is used as default.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+standard+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Values: `+standard+```+bzr+````+cvs+````+git+````+hg+````+svn+``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.type svn
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.url svn://example.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.revision 2100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.user::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-HTTP or FTP user to fetch the resource.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.password::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-HTTP or FTP password to fetch the resource.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.use_epsv::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Whether to use EPSV command for FTP transfers.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+yes+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.use_epsv no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.ignore_sslcert::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Whether to ignore the host SSL certificate (for HTTPS).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.ignore_sslcert yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.fetch.bzr]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Fetch from BZR
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://bazaar.canonical.com/en/[Bzr] may be used as an alternative method of fetching distribution files using the keywords in this section.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, fetching via bzr may cause non-reproducible builds, so it is strongly discouraged.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+bzr+`<<reference.phases.fetch.advanced.fetch-type,fetch.type>> is used to fetch source code from a bzr repository.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-bzr.url::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This specifies the url from which to fetch files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-bzr.url lp:inkscape
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-bzr.url lp:~callelejdfors/pycg/trunk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-bzr.revision::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Optional tag for fetching with bzr, this specifies the revision to checkout
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: -1 (the last committed revision)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-bzr.revision 2209
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.fetch.cvs]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Fetch from CVS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-http://www.nongnu.org/cvs/[CVS] may be used as an alternative method of fetching distribution files using the keywords in this section.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, fetching via CVS may cause non-reproducible builds, so it is strongly discouraged.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+cvs+`<<reference.phases.fetch.advanced.fetch-type,fetch.type>> is used to fetch source code from a CVS repository.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cvs.root::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Specify the url from which to fetch files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cvs.root :pserver:anonymous@cvs.sv.gnu.org:/sources/emacs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cvs.password::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Password to login to the CVS server.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cvs.password nice-password
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cvs.tag::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Optional for fetching with CVS, this specifies the code revision to checkout.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cvs.tag HEAD
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cvs.date::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A date that identifies the CVS code set to checkout.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cvs.date "12-April-2007"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cvs.module::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A CVS module from which to check out the code.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cvs.module Sources
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.fetch.git]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Fetch from Git
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://git-scm.com/[Git] may be used as an alternative method of fetching distribution files using the keywords in this section.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, fetching via Git may cause non-reproducible builds, so it is strongly discouraged.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+git+`<<reference.phases.fetch.advanced.fetch-type,fetch.type>> is used to fetch source code from a git repository.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-git.url::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This specifies the url from which to fetch files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-git.url git://git.kernel.org/pub/scm/git/git.git
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-git.url https://www.kernel.org/pub/scm/git/git.git
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-git.branch::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Optional tag for fetching with git, this specifies the tag or other commit-ish that git should checkout.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that any tag on a branch besides HEAD should be prefixed by origin/.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-git.branch 72bf1c8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-git.branch origin/next
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.fetch.hg]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Fetch from Mercurial
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://mercurial.selenic.com/[Mercurial] may be used as an alternative method of fetching distribution files using the keywords in this section.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, fetching via Mercurial may cause non-reproducible builds, so it is strongly discouraged.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+hg+`<<reference.phases.fetch.advanced.fetch-type,fetch.type>> is used to fetch source code from a Mercurial repository.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-hg.url::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This specifies the url from which to fetch files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-hg.url https://www.kernel.org/hg/index.cgi/linux-2.6/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-hg.url http://hg.intevation.org/mercurial
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-hg.tag::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Optional tag which should be fetched.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Can be a Mercurial tag or a revision.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To prevent non-reproducible builds use of tip as revision is discouraged.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: tip
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-hg.tag v1.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-hg.tag ceb884843737
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.fetch.svn]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Fetch from Subversion
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://subversion.apache.org/[Subversion] may be used as an alternative method of fetching distribution files using the keywords in this section.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, fetching via Subversion may cause non-reproducible builds, so it is strongly discouraged.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+svn+`<<reference.phases.fetch.advanced.fetch-type,fetch.type>> is used to fetch source code from an svn repository.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.url::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This specifies the url from which to fetch files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.url https://www.example.com/svn-repo/mydirectory
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.url svn://svn.example.com/svn-repo/mydirectory
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.revision::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Optional tag for fetching with Subversion, this specifies the peg revision to checkout; it corresponds to the @REV syntax of the svn cli.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.revision 37192
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.method::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Optional tag for fetching with Subversion, this specifies whether to check out the code into a working copy, or just export it without the working copy metadata.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-An export is preferable because it takes half the disk space, but some software expects to be built in a working copy (for example because it wants to record the revision number into itself somewhere).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: export
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.method checkout
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.checksum]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Checksum Phase Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of keywords related to the checksum phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Checksum(s) of the distribution files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For ports with multiple distribution files, filenames must be included to associate files with their checksums.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Each checksum entry should also indicate the file's size.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-At least two checksum types (typically rmd160 and sha256) should be used to ensure the integrity of the distfiles.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 0c1147242adf476f5e93f4d59b553ee3ea378b23 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 baf8a29ff721178317aac7b864c2d392b1accc02de8677dd24c18fd5717bf26e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1039840
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums ${distname}${extract.suffix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 0c1147242adf476f5e93f4d59b553ee3ea378b23 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 883715307c31ae2c145db15d2404d89a837f4d03d7e6932aed21d1d1f21dad89 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2429530 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- hobbit.tar.gz \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 82b9991f3bf0ceedbf74c188c5fa44b98b5e40c9 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2c3afd16915e9f8eac2351673f8b599f5fd2ff9064d4dfe61f750d72bab740b3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 8594032
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.extract]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Extract Phase Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of keywords related to the extract phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.asroot::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword is used to specify that the extract phase should be done as the root user.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.asroot no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.suffix::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword is used to specify the extract suffix type.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: [path]`.tar.gz`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.suffix .tgz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_7z::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword is for downloads that are compressed using the 7z algorithm.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When invoked, it automatically sets:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.suffix = .7z
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.cmd = 7za
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_7z yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_bzip2::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword is for downloads that are tarred and bzipped.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When invoked, it automatically sets:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.suffix = .tar.bz2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.cmd = bzip
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_lzip::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword is for downloads that are compressed using the lzma algorithm.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When invoked, it automatically sets:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.suffix = .tar.lz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.cmd = lzip
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_lzip yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_lzma::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword is for downloads that are compressed using the lzma algorithm.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When invoked, it automatically sets:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.suffix = .lzma
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.cmd = lzma
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_lzma yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_tar::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword is for downloads that are uncompressed tar archives.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When invoked, it automatically sets:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.suffix = .tar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.cmd = tar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.pre_args = -xf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_tar yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_zip::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword is for downloads that are zipped.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When invoked, it automatically sets:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.suffix = .zip
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.cmd = unzip
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.pre_args = -q
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.post_args = "-d ${extract.dir}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_zip yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_xz::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword is for downloads that are compressed using the xz tool.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When invoked, it automatically sets:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.suffix = .tar.xz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.cmd = xz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_xz yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.mkdir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword is used to specify if the directory [path]`worksrcdir` is part of the distfile or if it should be created automatically and the distfiles should be extracted there instead.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is useful for distfiles with a flat structure which would pollute the [path]`worksrcdir` with lots of files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.mkdir yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.only::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-List of files to extract into ``+${worksrcpath}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Only use if default extract behavior is not correct for your port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${distfiles}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.only foo.tar.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.only-append bar.tar.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.only-delete foo.tar.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.cmd::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Command to perform extraction.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: [cmd]``+gzip+``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.cmd gunzip
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.args::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Main arguments to ``+extract.cmd+``; additional arguments passed before and after the main arguments.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${distpath}/${distfile}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.args ${distpath}/${distfile}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following argument modifiers are available:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* ``+extract.pre_args+``, defaults to: `+-dc+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* ``+extract.post_args+``, defaults to: `+"| tar -xf -"+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.pre_args xf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.post_args "| gnutar -x"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.patch]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Patch Phase Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of keywords related to the patch phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.dir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Specify the base path for patch files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${worksrcpath}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.dir ${worksrcpath}/util
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.cmd::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Specify the command to be used for patching files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: [cmd]``+patch+``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.cmd cat
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Specify patch files to be applied for a port; list modifiers specify patchfiles to be added or removed from a previous patchfile declaration.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-destdir-variable-fix.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-source.c.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-configure.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-delete patch-destdir-variable-fix.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.args::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Main arguments to ``+patch.cmd+``; optional argument modifiers pass arguments before and after the main arguments.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.args ???
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following argument modifiers are available:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* ``+patch.pre_args+``, defaults to: `+-p0+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* ``+patch.post_args+``, defaults to: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.post_args ???
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.configure]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Configure Phase Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of keywords related to the configure phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts base sets some important default configure options, so should use the -append version of most configure keywords so you don't overwrite them.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, MacPorts base sets default `+configure.cflags+` so you should always use `+configure.cflags-append+` to set additional CFLAGS in Portfiles.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Sets if the configure phase should be run.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Can be used if the port has no [path]`./configure` script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+yes+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cmd::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Selects the command to be run in the default configure phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+$$.$$/configure+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cmd ./config.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.env::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set environment variables for configure; list modifiers add and delete items from a previous Portfile configure.env keyword, or a default set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If available, it is encouraged to use the predefined options (like <<reference.phases.configure.cflags,configure.cflags>>) instead of modifying configure.env directly.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.env QTDIR=${prefix}/lib/qt3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.env-append ABI=32
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.env-delete TCLROOT=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.optflags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set optimization compiler flags; list modifiers add or delete items from a previous Portfile configure.optflags keyword or the default set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+-Os+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.optflags -O2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.optflags-append -finline-functions
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.optflags-delete -Os
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set CFLAGS compiler flags; list modifiers add or delete items from a previous Portfile configure.cflags keyword or the default set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${configure.optflags}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags -Os -flat_namespace
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags-append "-undefined suppress"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags-delete -O2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ldflags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set LDFLAGS compiler flags; list modifiers add or delete items from a previous Portfile configure.ldflags keyword or the default set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+-L${prefix}/lib -Wl,-headerpad_max_install_names+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ldflags "-L${worksrcpath}/zlib -lz"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ldflags-append "-L/usr/X11R6/lib -L${worksrcpath}/lib"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ldflags-delete -L${prefix}/lib/db44
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cppflags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set CPPFLAGS to be passed to the C processor; list modifiers add or delete items from a previous Portfile configure.cppflags keyword or the default set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+-I${prefix}/include+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cppflags -I${worksrcpath}/include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cppflags-append "-I/usr/X11R6/lib -I${worksrcpath}/lib -DHAVE_RRD_12X"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cppflags-delete -I${prefix}/lib/db44
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cxxflags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set CXXFLAGS to be passed to the C++ processor; list modifiers add or delete items from a previous Portfile configure.cxxflags keyword or the default set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${configure.optflags}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.objcflags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add description
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${configure.optflags}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.classpath::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add description
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: ???
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.macosx_deployment_target::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add description
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: ???
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.fflags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set FFLAGS to be passed to the Fortran compiler; list modifiers add or delete items from a previous Portfile configure.fflags keyword or the default set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${configure.optflags}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.fflags -Os
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.fcflags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set FCFLAGS to be passed to the Fortran compiler; list modifiers add or delete items from a previous Portfile configure.fcflags keyword or the default set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${configure.optflags}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.fcflags -Os
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.f90flags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set F90FLAGS to be passed to the Fortran 90 compiler; list modifiers add or delete items from a previous Portfile configure.f90flags keyword or the default set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${configure.optflags}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.f90flags -Os
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cc::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-C compiler for the CC environment variable when invoking the configure script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cc ${prefix}/bin/gcc-mp-4.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cpp::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-C preprocessor for the CPP environment variable when invoking the configure script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cpp /usr/bin/cpp-3.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cxx::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-C++ compiler for the CXX environment variable when invoking the configure script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cxx /usr/bin/g++-4.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.objc::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Objective-C compiler for the OBJC environment variable when invoking the configure script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.objc /usr/bin/gcc-4.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.fc::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fortran compiler for the FC environment variable when invoking the configure script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.fc ${prefix}/bin/gfortran-mp-4.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.f77::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fortran 77 compiler for the F77 environment variable when invoking the configure script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.f77 ${prefix}/bin/gfortran-mp-4.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.f90::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fortran 90 compiler for the F90 environment variable when invoking the configure script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.f90 ${prefix}/bin/gfortran-mp-4.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.javac::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Java compiler for the JAVAC environment variable when invoking the configure script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.javac ${prefix}/bin/jikes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.compiler::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Select a compiler suite to fill the compiler environment variables.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-All variables/tools a compiler suite can provide are set.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Manually set variables are not overwritten.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Keep in mind that not all compiler suites might be available on your platform: `+gcc-3.3+` is available on Mac OS X 10.3 and 10.4 PowerPC, `+gcc-4.0+` is available on 10.4 and 10.5, `+gcc-4.2+` and `+llvm-gcc-4.2+` are available on 10.5 and 10.6, and `+clang+` is available on 10.6 and later.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Only use it if a port really needs a different compiler.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+apple-gcc-4.2+` on Mac OS X 10.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+gcc-4.2+` with Xcode 3.x on Mac OS X 10.5 and 10.6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+llvm-gcc-4.2+` with Xcode 4.0 through 4.2 on Mac OS X 10.6 and 10.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+clang+` with Xcode 4.3 and later on OS X 10.7 and later
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Values: `+gcc-3.3+```+gcc-4.0+````+gcc-4.2+````+llvm-gcc-4.2+````+clang+````+macports-clang-3.3+````+macports-clang-3.4+````+macports-clang-3.7+````+macports-clang-3.8+````+macports-clang-3.9+````+macports-clang-4.0+````+macports-clang-5.0+````+macports-clang-6.0+````+apple-gcc-4.0+````+apple-gcc-4.2+````+macports-gcc-4.3+````+macports-gcc-4.4+````+macports-gcc-4.5+````+macports-gcc-4.6+````+macports-gcc-4.7+````+macports-gcc-4.8+````+macports-gcc-4.9+````+macports-gcc-5+````+macports- [...]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.compiler macports-gcc-4.5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.perl::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set PERL flag for selecting a Perl interpreter.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.perl ${prefix}/bin/perl5.26
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.python::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set PYTHON flag for selecting a Python interpreter.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.python ${prefix}/bin/python2.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ruby::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set RUBY flag for selecting a Ruby interpreter.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ruby ${prefix}/bin/ruby
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.install::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set `+INSTALL+` flag for selecting an install tool; used for copying files and creating directories.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: [path]`/usr/bin/install`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.install ${prefix}/bin/ginstall
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.awk::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set AWK flag for selecting an awk executable.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.awk ${prefix}/bin/gawk
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.bison::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set BISON flag for selecting a bison executable, a parser generator.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.bison /usr/bin/bison
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.pkg_config::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set PKG_CONFIG flag for helping find pkg_config, a tool for retrieving information about installed libraries.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+???+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.pkg_config ${prefix}/bin/pkg-config
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.pkg_config_path::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set PKG_CONFIG_PATH flag for telling pkg_config where to search for information about installed libraries.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.pkg_config_path ${python.prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Main arguments to ``+configure.cmd+``; optional argument modifiers pass arguments before and after the main arguments.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --bindir=${prefix}/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following argument modifiers are available:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* ``+configure.pre_args+``, defaults to: `+--prefix=${prefix}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* ``+configure.post_args+``, defaults to: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.pre_args --prefix=${prefix}/share/bro
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.post_args OPT="-D__DARWIN_UNIX03"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.configure.universal]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Configure Universal
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Universal keywords are used to make a port compile on OS X for multiple architectures.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-There is a default universal variant made available to all ports by MacPorts base, so redefining universal keywords should only be done to make a given port compile if the default options fail to do so.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.universal_args::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Arguments used in the configure script to build the port universal.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+--disable-dependency-tracking+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.universal_cflags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Additional flags to put in the CFLAGS environment variable when invoking the configure script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default value is based on ``+${configure.universal_archs}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(PowerPC Tiger) `+-isysroot ${developer_dir}/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(Intel Tiger / Leopard) `+-arch i386 -arch ppc+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(Snow Leopard through High Sierra) `+-arch x86_64 -arch i386+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(Big Sur and later) `+-arch arm64 -arch x86_64+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.universal_cppflags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Additional flags to put in the CPPFLAGS environment variable when invoking the configure script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(PowerPC Tiger) `+-isysroot ${developer_dir}/SDKs/MacOSX10.4u.sdk+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(others) none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.universal_cxxflags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Additional flags to put in the CXXFLAGS environment variable when invoking the configure script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default value is based on ``+${configure.universal_archs}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(PowerPC Tiger) `+-isysroot ${developer_dir}/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(Intel Tiger / Leopard) `+-arch i386 -arch ppc+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(Snow Leopard through High Sierra) `+-arch x86_64 -arch i386+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(Big Sur and later) `+-arch arm64 -arch x86_64+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.universal_ldflags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Additional flags to put in the LDFLAGS environment variable when invoking the configure script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(PowerPC Tiger) `+-Wl,-syslibroot,${developer_dir}/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(Intel Tiger / Leopard) `+-arch i386 -arch ppc+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(Snow Leopard through High Sierra) `+-arch x86_64 -arch i386+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(Big Sur and later) `+-arch arm64 -arch x86_64+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: add example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.configure.automake-autoconf]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Automake, Autoconf, and Autoreconf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of configure keywords available for ports that need automake and/or autoconf.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_autoreconf::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Whether or not to use autoreconf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoreconf.args::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Arguments to pass to autoreconf.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+--install --verbose+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoreconf.args --install --verbose --force
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoreconf.dir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Directory in which to run ``+${autoreconf.cmd}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${worksrcpath}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoreconf.dir ./src
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_automake::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Whether or not to use automake.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_automake yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-automake.env::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Environment variables to pass to automake.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: ???
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-automake.env CFLAGS=-I${prefix}/include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-automake.args::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Arguments to pass to automake.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: ???
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-automake.args --foreign
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-automake.dir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Directory in which to run ``+${automake.cmd}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${worksrcpath}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-automake.dir ./src
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_autoconf::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Whether or not to use autoconf.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_autoconf yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoconf.env::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Environmental variables to pass to autoconf.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: ???
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoconf.env CFLAGS=-I${prefix}/include/gtk12
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoconf.args::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Arguments to pass to autoconf.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: ???
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoconf.args "-l src/aclocaldir"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoconf.dir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Directory in which to run ``+${autoconf.cmd}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${worksrcpath}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoconf.dir src
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.build]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Build Phase Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of keywords related to the build phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Make command to run in ``+${worksrcdir}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Only use it if you can't use ``+build.type+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: [cmd]``+make+``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd scons
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.type::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Defines which build software is required and sets `+${build.cmd}+` accordingly.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The available options are BSD Make, GNU Make, and Xcode.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+default+` (the default Make on the current platform)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Values: `+default+```+bsd+````+gnu+````+xcode+``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.type bsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Main arguments to ``+${build.cmd}+``; optional argument modifiers pass arguments before and after the main arguments.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args -DNOWARN
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following argument modifiers are available:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* ``+build.pre_args+``, defaults to: `+${build.target}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* ``+build.post_args+``, defaults to: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.pre_args -project AudioSlicer.xcode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.post_args CFLAGS_SYS="-DUSE_FREETYPE -DPREFER_FREETYPE"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Build target to pass to ``+${build.cmd}+``; list modifiers add or delete items from a previous Portfile build.target keyword or the default set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+all+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target all-src
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target-append doc extra
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target-delete compat
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set environment variables for build; list modifiers add and delete items from a previous Portfile build.env keyword, or a default set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_parallel_build::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword is for specifying whether or not it is safe for a port to use multiple CPUs or multiple cores in parallel during its build phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If `+use_parallel_build+` is not set to "`no`" in a given port, the option `+-j${build.jobs}+` is passed to `+${build.cmd}+` (if `+${build.cmd}+` is [cmd]``+make+`` or [cmd]``+scons+``).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+yes+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_parallel_build no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.jobs::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The number of simultaneous jobs to run when parallel build is enabled.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The default value is based on the variable `+buildmakejobs+` in [path]`macports.conf`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: If `+buildmakejobs+` is 0, the number of CPU cores in the machine, or the number of GB of physical memory plus one, whichever is less. Otherwise, the actual value of ``+${buildmakejobs}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.test]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Test Phase Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of keywords related to the test phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.run::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Enable running test suites bundled with a port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.cmd::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Test command to run relative to ``+${worksrcdir}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${build.cmd}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.cmd checks.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.target::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Test target to pass to ``+${test.cmd}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+test+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.target checks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.args::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Main arguments to ``+test.cmd+``; optional argument modifiers pass arguments before and after the main arguments.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.args -f Makefile.test
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following argument modifiers are available:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* ``+test.pre_args+``, defaults to: `+${test.target}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* ``+test.post_args+``, defaults to: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.env::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Set environment variables for test; list modifiers add and delete items from a previous Portfile test.env keyword, or a default set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Often `+DYLD_LIBRARY_PATH+` is set here to support testing dynamically linked libraries.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.env DYLD_LIBRARY_PATH=${worksrcpath}/src/.libs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.phases.destroot]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Destroot Phase Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of keywords related to the destroot phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.cmd::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Install command to run relative to ``+${worksrcdir}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${build.cmd}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.cmd scons
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.args::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Main arguments to ``+${destroot.cmd}+``; optional argument modifiers pass arguments before and after the main arguments.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.args BINDIR=${prefix}/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following argument modifiers are available:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* ``+destroot.pre_args+``, defaults to: `+${destroot.target}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* ``+destroot.post_args+``, defaults to: `+${destroot.destdir}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.pre_args -project AudioSlicer.xcode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.post_args INSTDIR=${destroot}${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.target::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Install target to pass to ``+${destroot.cmd}+``; list modifiers add or delete items from a previous Portfile destroot.target keyword or the default set by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+install+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.target install install-config install-commandmode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.target-append install-plugins
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.target-delete install-commandmode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.destdir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Arguments passed to `+${destroot.cmd}+` via `+${destroot.post_args}+` to install correctly into the destroot.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+DESTDIR=${destroot}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.destdir prefix=${destroot}${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If an application's Makefile properly supports the DESTDIR variable, MacPorts will automatically destroot the port properly.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A port must destroot properly or the port will not install correctly, upgrade, or uninstall.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If not, you may need to set this variable, or even patch the application's Makefile.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.umask::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Umask to use during destroot.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+022+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.umask 002
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.keepdirs::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A list of directories that should not be removed if empty upon destroot completion.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: ???
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.keepdirs ${destroot}${prefix}/var/run \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/var/log \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/var/cache/mrtg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.violate_mtree::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts tests for compliance to the common directory structure in ``+${prefix}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a port is not compliant with the standard, set it to ``+yes+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can find the macports standard in <<internals.hierarchy,MacPorts File Hierarchy>> or in the porthier(7) man page.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If `+destroot.violate_mtree+` is set to ``+yes+``, the following warning is issued during the installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Warning: portname requests to install files outside the common directory structure!
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This means that the port installed files outside of their normal locations in ``+${prefix}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These could be files totally outside of ``+${prefix}+``, which could cause problems on your computer, or files inside of `+${prefix}+` that are not in a standard location.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use `+port contents ``+portname+``+` to see the location for all files that were installed by a given port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.violate_mtree yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portfile-startupitem.adoc b/guide/adoc/portfile-startupitem.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 68a6b1d..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portfile-startupitem.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,398 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.startupitems]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= StartupItems
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A StartupItem is a MacPorts facility to run "`daemons,`" a Unix term for programs that run continuously in the background, rather than under the direct control of a user; for example, mail servers, network listeners, etc.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Ports that use StartupItem keywords create scripts for https://developer.apple.com/macosx/launchd.html[launchd], which is the Apple facility introduced with Mac OS X 10.4 to replace xinetd for starting and managing daemons.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To support [cmd]``+launchd+``, a program named [cmd]``+daemondo+`` is provided by MacPorts base that serves as an adapter between [cmd]``+launchd+`` and daemons ("`executable`" StartupItems) or traditional Unix startup scripts that start daemons ("`script`" StartupItems).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-There are three categories of StartupItem keywords.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Those that trigger StartupItem creation and logging, those that specify attributes of "`executable`" StartupItems, and those that specify attributes of "`script`" StartupItems.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The variable `+startupitem_type+` in [path]`${prefix}/etc/macports/macports.conf` may be set to `+none+` to override the default value of the `+startupitem.type+` option in Portfiles; this prevents StartupItems from being created.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Additionally, the `+startupitem_install+` variable can be set to `+no+` in [path]`macports.conf` to override the default value of the `+startupitem.install+` option, which will prevent links from being created under [path]`/Library`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is useful for MacPorts installations that are not used with root privileges.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.startupitems.attributes]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== StartupItem Attributes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The keywords in this section may be used with either "`executable`" or "`script`" StartupItems (see below).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.autostart::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Whether to automatically load the StartupItem after activating the port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.autostart yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.create::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Trigger the creation of a StartupItem.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.create yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.debug::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Enable additional debug logging.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.debug yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.install::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Whether to install a link to the StartupItem in the appropriate subdirectory of [path]`/Library` (see ``+startupitem.location+``) so that it can be launched automatically after rebooting.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+yes+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.install no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.location::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Chooses the subdirectory in which to install the StartupItem.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Also affects how it will be loaded: LaunchDaemons must be loaded as root, and only one instance will run for the whole system.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-LaunchAgents are loaded as a normal user, and one instance per user can run.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: [path]`LaunchDaemons`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.location LaunchAgents
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.logfile::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Path to a logfile for logging events about the lifetime of the StartupItem.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Depending on the type of StartupItem, and the manner in which it is started, standard output from the daemon may also be directed to the logfile.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: [path]`/dev/null`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.logfile ${prefix}/var/log/mydaemon.log
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.logevents::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Control whether or not to log events to the log file.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If logevents is set, events with timestamps are logged to the logfile.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.logevents yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.name::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Sets the name for the StartupItem.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Defaults to the name of the port, so this keyword is usually unnecessary.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${name}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.name dhcpd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.netchange::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Cause the daemon to be restarted when a change in network state is detected.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+no+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.netchange yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.type::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The type of the StartupItem.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Supported values are `+launchd+` for a macOS [cmd]``+launchd+`` .plist, or `+none+` for no StartupItem.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+launchd+` if on macOS and `+${startupitem.create}+` is true, `+none+` otherwise
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.type launchd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitems::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Used when a port needs to install more than one StartupItem, this option consists of a list where alternating elements represent keys and values.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Each key corresponds to one of the `+startupitem.*+` options, and the following value is associated with it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Each StartupItem defined in the list must specify at least a name.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Each other key/value pair is associated with the StartupItem named most recently in the list.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Any keys that are not defined for a given StartupItem will use the value of the corresponding `+startupitem.*+` option.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitems name myport-system \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- location LaunchDaemons \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- executable ${prefix}/sbin/myportd \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- name myport-session \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- location LaunchAgents \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- executable ${prefix}/bin/myport-agent
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.startupitems.executable]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Executable StartupItems
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Daemons run continuously, so monitoring the health of daemon processes and restarting them if they die is an important StartupItems' feature. "`Executable`" StartupItems are preferred over "`script`" StartupItems because [cmd]``+daemondo+`` launches the daemon __directly__, rather than _indirectly_ via a script, and therefore it automatically knows how to monitor a daemon process and restart it if it dies.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Daemons used with "`executable`" StartupItems may be programs or scripts (shell, perl, python, etc.) as long as the script _itself_ is the daemon, rather than merely what launches the daemon.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In the latter case "`script`" StartupItems are to be used.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Since "`script`" and "`executable`" are mutually exclusive StartupItem types, the `+startupitem.executable+` keyword may not be used in a Portfile that uses any keywords listed in the <<reference.startupitems.script,Script StartupItems section>>.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.executable::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Specifies the name of the daemon to be run.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It may have multiple arguments, but they must be appropriate for a call to exec; arbitrary shell code may not be used.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Some daemons "`daemonize`" by detaching themselves from the controlling tty before sending themselves to the background, thus making themselves a child of the original process.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A daemon to be started with `+startupitem.executable+` must not be allowed to do this or daemondo will think the process has died and start multiple instances.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Often daemons have a command switch to run in the foreground, and this method should be used for daemons that detach.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.executable ${prefix}/sbin/vm-pop3d -d 10 -t 600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Do not wrap values in quotes if passing arguments to the daemon; "`executable`" StartupItem elements must be tagged individually so the spaces between arguments serve as delimiters for "`string`" tags.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, this startupitem key/value pair:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.executable ${prefix}/sbin/vm-pop3d -d 10 -t 600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-generates a .plist file with these tags:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-<key>ProgramArguments</key>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-<array>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <string>/opt/local/bin/daemondo</string>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <string>--label=vm-pop3d</string>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <string>--start-cmd</string>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <string>/opt/local/sbin/vm-pop3d</string>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <string>-d</string>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <string>10</string>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <string>-t</string>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <string>600</string>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <string>;</string>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-</array>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.startupitems.script]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Script StartupItems
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-StartupItems of type "`script`" create a wrapper during port installation for [cmd]``+daemondo+`` that will be used to launch a daemon startup script present in an application's source distribution (MacPorts does not create daemon startup scripts) for daemons that require a script.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"`Executable`" StartupItems are the preferred type since "`script`" StartupItems launch daemons __indirectly__, and this requires that port authors use the `+startupitem.pidfile+` keyword so that [cmd]``+daemondo+`` can check this pid file to see is a daemon process has died and restart it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Any time a script (or an executable) itself serves as a daemon, use the "`executable`" StartupItem type so daemondo will launch it directly and track its health automatically.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Additionally, since "`script`" and "`executable`" are mutually exclusive StartupItem types, the `+startupitem.executable+` keyword may not be used in a Portfile that uses "`script`" StartupItem keywords.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A typical snippet of a startup script that may be used with a "`script`" StartupItem is shown below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Notice that the script is not a daemon; rather the script indirectly launches the vm-pop3d daemon.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#!/bin/sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-case "$1" in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- start)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo -n "Starting vm-pop3d: "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /opt/local/sbin/vm-pop3d -d 10 -t 600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[... trimmed ...]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.start::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Specify a shell script to start, stop, and restart the daemon.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In the absence of ``+startupitem.restart+``, the daemon will be restarted by taking the stop action, followed by the start action.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.start "${prefix}/share/mysql/mysql.server start"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.stop "${prefix}/share/mysql/mysql.server stop"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.restart "${prefix}/share/mysql/mysql.server restart"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Wrap the stop, start, and restart values in quotes so they will be placed in the wrapper tagged as a single element.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.init::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Shell code that will be executed prior to any of the options ``+startupitem.start+``, `+startupitem.stop+` and ``+startupitem.restart+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.init BIN=${prefix}/sbin/bacula-fd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.pidfile::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword must be defined properly for [cmd]``+daemondo+`` to be able to monitor daemons launched via "`script`" StartupItems and restart them if they die.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It specifies two things: a process id (PID) file handling method, and a pidfile name and path.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* {empty}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-${prefix}/var/run/${name}.pid+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: [none] | [[path]`${prefix}/var/run/${name}.pid`]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* {empty}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Values [none auto manual clean] [``+/path/to/pidfile+``]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.pidfile auto ${prefix}/var/run/${name}.pidfile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PID file handling options:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* `+none+` - daemondo will not create or track a PID file, so it won't know when a daemon dies.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* `+auto+` - The started process is expected to create a PID file that contains the PID of the running daemon; daemondo then reads the PID from the file and tracks the process. The started process must delete the PID file if this is necessary.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* `+clean+` - The started process is expected to create a PID file that contains the PID of the running daemon; daemondo then reads the PID from the file and tracks the process, and deletes the PID file if it detects the daemon has died.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* `+manual+` - This option should only be used if an "`executable`" StartupItem could be used (daemondo launches a daemon directly) _and_ a port author wants a PID file written for some special use. A PID file is not needed to detect process death for daemons launched directly by daemondo. As with executable StartupItems, daemondo remembers the PID of the launched process and tracks it automatically.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.startupitems.launchd]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Loading / Unloading StartupItems into launchd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A port with a StartupItem places a link to a .plist file for the port's daemon within [path]`/Library/LaunchDaemons/`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A .plist file is an XML file; MacPorts installs .plist files tagged as "`disabled`" for the sake of security.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You may enable a startup script (tag the.plist file as "`enabled`") and load it into [cmd]``+launchd+`` with a single command as shown.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You may stop a running startup script, disable it (tag the.plist file as "`disabled`"), and unload it from [cmd]``+launchd+`` with a single command as shown.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% sudo launchctl unload -w /Library/LaunchDaemons/org.macports.mysql5.plist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.startupitems.internals]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== StartupItem Internals
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-During port installation a MacPorts StartupItem creates a .plist file in [path]`${prefix}/etc/LaunchDaemons/`, and places a symbolic link to the .plist file within [path]`/Library/LaunchDaemons/` if `+${startupitem.install}+` is true.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, the StartupItem for the mysql5 port is [path]`org.macports.mysql5.plist`, and it is linked as shown.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% ls -l /Library/LaunchDaemons
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-org.macports.mysql5.plist ->
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-/opt/local/etc/LaunchDaemons/org.macports.mysql5/org.macports.mysql5.plist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For "`script`" StartupItems, in addition to a .plist file, a wrapper is also created.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% ls -l /opt/local/etc/LaunchDaemons/org.macports.mysql5/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--rwxr-xr-x 2 root wheel 475 Aug 2 14:16 mysql5.wrapper
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--rw-r--r-- 2 root wheel 975 Aug 2 14:16 org.macports.mysql5.plist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The wrapper manipulates the script as specified in the startupitem.start and startupitem.stop keywords.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-An example wrapper script snippet is shown below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#!/bin/sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# MacPorts generated daemondo support script
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Start
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Start()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-{
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /opt/local/share/mysql5/mysql/mysql.server start
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Stop
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Stop()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-{
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /opt/local/share/mysql5/mysql/mysql.server stop
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[... trimmed ...]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portfile-tcl.adoc b/guide/adoc/portfile-tcl.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 7f20301..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portfile-tcl.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,169 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.tcl-extensions]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Tcl Extensions & Useful Tcl Commands
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A MacPorts Portfile is a Tcl script, so it may contain any arbitrary Tcl code you may learn about in the https://www.tcl.tk/doc/[Tcl documentation].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, few authors will use arbitrary Tcl code; the vast majority will use a subset of Tcl commands and a number of Tcl extensions that are coded within MacPorts for performing the most common tasks needed for Portfiles.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list below is a list of useful Tcl commands for Portfile development and Tcl extensions provided by MacPorts base.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-file::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The standard Tcl [cmd]``+file+`` command can be used for a number of operations on files, such as moving, renaming, deleting, or creating directories, among others.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For a complete list, consult the https://www.tcl.tk/man/tcl/TclCmd/file.htm[Tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-reference manual for the file command], or the Tcl file manpage in the `+n+` section of manpages on your machine using [cmd]``+man n file+``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-file copy::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Copy a file.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-file rename::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Rename a file.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-file delete [-force]::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Remove a file or (with ``+-force+``) a directory and its contents.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-file mkdir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Create a directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-macros::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For the above operations provided by Tcl's [cmd]``+file+`` command, MacPorts provides the following shorthands.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These should be used in preference to the Tcl commands above, as they may work around certain bugs.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-copy::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Shorthand for ``+file copy+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-move::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Similar to `+file rename+` but correctly handles renames that only change the case of a file on a case-insensitive filesystem.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-delete::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Shorthand for ``+file delete -force+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-touch::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Mimics the BSD touch command.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-ln::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Mimics the BSD ln command.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xinstall::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xinstall copies files and creates directories; it is intended to be compatible with install(1).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xinstall [-o ``+owner+``] [-g ``+group+``] [-m ``+mode+``] [``+file1 file2 ...+``] `+directory+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Install the specified file(s) to a destination directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xinstall [-o ``+owner+``] [-g ``+group+``] [-m ``+mode+``] [-W ``+dir+``] [``+file1 file2 ...+``] `+directory+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Change to `+dir+` and install file(s) to a destination directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xinstall [-o ``+owner+``] [-g ``+group+``] [-m ``+mode+``] {*}[glob ``+pattern+``] `+directory+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Install the file(s) matching the glob pattern to a destination directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note the use of the `+{*}+` operator to convert the list returned by [cmd]``+glob+`` into separate arguments to [cmd]``+xinstall+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xinstall -d [-o ``+owner+``] [-g ``+group+``] [-m ``+mode+``] `+directory+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Create a directory including parent directories if necessary.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Defaults:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* owner -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* group -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* mode - `+0755+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xinstall -m 640 ${worksrcpath}/README \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xinstall -m 640 -W ${worksrcpath}/doc README INSTALL COPY \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xinstall -m 640 {*}[glob ${worksrcpath}/doc/*] \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xinstall -d ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-strsed::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-strsed can be used for string manipulations using regular expressions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It supports a small subset of the commands known from sed(1).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-strsed `+string+` s/``+regex+``/``+replacement+``/ ::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Replaces the first instance of `+regex+` with ``+replacement+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Refer to re_format(7) for a definition of regular expression syntax.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-strsed `+string+` g/``+regex+``/``+replacement+``/ ::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The same as the previous format, except all instances of the pattern will be replaced, not only the first (mnemonic: 'g' is for global).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-reinplace::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Allows text specified by a regular expression to be replaced by new text, in-place (the file will be updated itself, no need to place output into a new file and rename).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace [-locale ``+locale+``] [-n] [-W ``+dir+``] [--] `+command+```+file [``+file2 ...+``]::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Replace text given by the regular expression portion of the command with the replacement text, in all files specified.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use -locale to set the locale.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The default locale is ``+en_US.UTF-8+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, `+-locale C+` will allow a non-UTF-8 file to be modified (which may otherwise give the error "sed: RE error: illegal byte sequence"), but only operating on ASCII characters.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you need it to work on non-ASCII characters you need to set a locale with the correct charset for the file, e.g.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-"en_US.ISO8859-1".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--n is passed to sed to suppress echoing result
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--W to set a common working directory for multiple files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use -E to use the extended regular expression style (see re_format(7) for a description of the basic and extended styles)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use -- to end option processing and allow any further dashes not to be treated as options.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-reinplace -W ${worksrcpath} "s|/usr/local|${prefix}|g" configure setup.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-user/group::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-adduser username [uxml:id=``+uid+``] [gxml:id=``+gid+``] [passwd=``+passwd+``] [realname=``+realname+``] [home=``+home+``] [shell=``+shell+``]::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Add a new local user to the system with the specified uid, gid, password, real name, home directory and login shell.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-existsuser `+username+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Check if a local user exists.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns the uid for the given user, or 0 if the user wasn't found.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Checking for the root user is not supported because its uid is 0, and it will always exist anyway.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-nextuid::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns the highest used uid plus one.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-addgroup `+group+` [gxml:id=``+gid+``] [passwd=``+passwd+``] [realname=``+realname+``] [users=``+users+``]::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Add a new local group to the system, with the specified gid, password, real name, and with a list of users as members.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-existsgroup `+group+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Check if a local group exists and return the corresponding gid.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This can be used with adduser:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-addgroup foo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-adduser foo gxml:id=[existsgroup foo]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-nextgid::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns the highest used gid plus one.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-External program execution::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use only when ....
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portfile-variables.adoc b/guide/adoc/portfile-variables.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 1b2de19..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portfile-variables.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,73 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.variables]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Global Variables
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Global variables are variables available to any Portfile.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For a list of additional variables available to ports that are assigned to a MacPorts Portgroup, see portgroup(7).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-All of these variables except `+prefix+` are read-only!
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-prefix::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Installation prefix, set at compile time and displayed in [path]`${prefix}/etc/macports/macports.conf` --- may be overridden on a per-port basis, for example to install into a wholly-contained subdirectory of ${prefix}, but most ports should have no reason to do so.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: [path]`/opt/local`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-libpath::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Path to the MacPorts Tcl libraries.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-portpath::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Full path to the Portfile of the port being executed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfile repositories are defined in the file <<internals.configuration-files.sources-conf,sources.conf>>.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: [path]`${prefix}/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/<category>/<portname>/`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-filesdir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Path to files directory relative to ``+${portpath}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Value: `+files+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-filespath::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Full path to files directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Value: `+${portpath}/${filesdir}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-workpath::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Full path to work directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Value: `+${portbuildpath}/work+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcpath::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Full path to extracted source code.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Value: `+${workpath}/${worksrcdir}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Full path into which software will be destrooted.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Value: `+${workpath}/destroot+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distpath::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Location to store downloaded distfiles.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Value: `+${portdbpath}/distfiles/${dist_subdir}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-install.user::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The Unix user at the time of port installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-install.group::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The Unix group at the time of port installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-os.platform::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The underlying operating system platform (e.g., "`darwin`" on macOS, "`freebsd`", etc.).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-os.arch::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The hardware architecture -- either "`powerpc`" or "`i386`".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-os.version::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The version number of the host operating system (e.g., "`12.3.0`" for Darwin 12.3.0 a.k.a.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-OS X 10.8.3).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-os.endian::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Endianness of the processor -- either "`big`" (on PowerPC systems) or "`little`" (on Intel systems).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-os.major::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The major version number of the host operating system (e.g., "`12`" for Darwin 12.x).
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portfile-variants.adoc b/guide/adoc/portfile-variants.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index d9178de..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portfile-variants.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,146 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.variants]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts variants are conditional modifications of port installation behavior during port installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-There are two types of variants: user-selected variants and platform variants.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-User-selected variants are options selected by a user when a port is installed; platform variants are selected automatically by MacPorts base according to the OS or hardware platform (darwin, freebsd, linux, i386, powerpc, etc.).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.variants.user-selected]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== User-Selected Variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-User-selected variants are those that are defined so a user can invoke them to enable port options at install time.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-They also allow a port author a level of modularity and control using the keyword `+default_variants+` (see below).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Variant names may contain only letters, numbers and underscore characters.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In particular, the hyphen is not a valid character in variant names because it would conflict with the notation for deselecting a variant.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant `+name+` [requires ``+variant1 variant2 ...+``] [conflicts ``+variant1 variant2 ...+``] [description ``+description+``]::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The variant declaration may contain any keywords that can be placed in a Portfile's global section.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you wish to execute system (shell) calls or Tcl extensions during the execution of a port phase, you should place those statements within a `+variant_isset+` conditional within a phase declaration and not within the variant declaration itself.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Dependencies and conflicts with other variants in the same port can be expressed with `+requires+` and `+conflicts+` options as shown below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gnome requires glib {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-gnome
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gnome-session
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant apache2 conflicts apache {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-apxs2=${prefix}/apache2/bin/apxs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The optional `+default_variants+` keyword is used to specify variants that a port author wishes to have enabled by default.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This allows for Portfile modularity and also allows users to suppress default variants if they wish.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +ssl +tcpd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default variants may be suppressed by preceding a variant name with a "`-`" as shown in this example.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% port install foo -ssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_variant::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When using MacPorts on macOS, a universal variant is defined by default to configure ports with universal flags.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The variant can be overridden if the default code does not work (see the <<reference.phases.configure.universal,Configure Universal>> section above), or suppressed if a universal variant does not function properly for a given port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+yes+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_variant no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.variants.descriptions]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== User-Selected Variant Descriptions
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-User-selected variants ought to provide a description, which will be displayed when using command ``+port variants foo+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The syntax used for the description keyword is shown below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant bar description {Add IMAP support} {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Descriptions should be short but clear, and not merely repeat the name of the variant.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To allow for compatibility for possible MacPorts GUI support, a good rule of thumb is to use sentence fragments for brevity, with a capitalized first letter and no trailing punctuation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Think of them as short labels such as ones you'd find next to a GUI checkbox or radio button.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Thus, it would be better to write "`Build with support for
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foo`" instead of "`Builds with support for foo`"; "`Add support for foo`" would be better than "`Adds support
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for foo`".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Variant descriptions are strings, so one should take care not to put whitespace between the brackets and the beginning and end of the variant description, and also not to use unnecessary whitespace, unlike with port descriptions and long_descriptions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.variants.platform]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Platform Variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Platform variants are either defined by default in MacPorts base, or defined by a port author to customize a port's installation according to OS (operating system) or hardware platform.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platform `+os+` [``+version+``] [``+arch+``]::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts allows platform-specific port options to be specified in a Portfile for handling differences between platforms and versions of the same platform.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+platform darwin ``+version+``+` can be used to handle different tasks depending on the version of Darwin, the core operating system underlying macOS. `+version+` is the major version of Darwin, and can be `+18+` for macOS Mojave 10.14, `+17+` for macOS High Sierra 10.13, `+16+` for macOS Sierra 10.12, and so on.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platform darwin 10 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append LIBS=-lresolv
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platform darwin i386 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --disable-mmx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platform darwin 8 powerpc {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.compiler gcc-3.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Though a combination of OS version and hardware platform may be specified in a single platform statement (e.g., darwin 8 i386), it is not possible to specify a range of platforms with a single statement.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, to select Darwin versions 9 and 10 while excluding all others, you would need two statements: `+platform darwin 9+` and ``+platform darwin 10+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Alternately, you could make that behavior the port's default, and add a `+platform darwin 8+` block to remove it again.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portfiledev.adoc b/guide/adoc/portfiledev.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 42e3e1d..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portfiledev.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,1000 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Portfile Development
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:doctype: book
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sectnums:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:toc: left
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:icons: font
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:experimental:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idprefix:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idseparator: -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sourcedir: .
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A port is a distribution of software that can be compiled and installed using MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A [path]`Portfile` describes all the required steps such as where to get the source code from upstream, which patches have to be applied and which other tools and commands are required to build the source code.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Each port consists of multiple files in a directory, usually within a category subdirectory of the root of a ports tree.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts Project distributes the main ports tree that is by default <<internals.configuration-files.sources-conf,configured>> in all installations of MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This section serves as a reference for the directory structure of a single port and the layout of the files within.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The only required file in a port is the [path]`Portfile`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.introduction]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Portfile Introduction
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A MacPorts Portfile is a https://en.wikipedia.org/wiki/Tcl[Tcl] script that usually contains only the simple keyword/value combinations and Tcl extensions as described in the <<reference,Portfile Reference>> chapter, though it may also contain arbitrary Tcl code.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Every port has a corresponding Portfile, but Portfiles do not completely define a port's installation behavior since MacPorts base has default port installation characteristics coded within it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Therefore Portfiles need only specify required options, though some ports may require non-default options.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A common way for Portfiles to augment or override MacPorts base default installation phase characteristics is by using [path]`Portfile` phase declaration(s). If you use Portfile phase declaration(s), you should know how to identify the "`global`" section of a Portfile.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Any statements not contained within a phase declaration, no matter where they are located in a Portfile, are said to be in the global section of the Portfile; therefore the global section need not be contiguous.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Likewise, to remove statements from the global section they must be placed within a phase declaration.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The main phases you need to be aware of when making a Portfile are these:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Fetch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Extract
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Destroot
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The default installation phase behavior performed by the MacPorts base works fine for applications that use the standard [cmd]``+configure+``, [cmd]``+make+``, and [cmd]``+make
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- install+`` steps, which conform to phases configure, build, and destroot respectively.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For applications that do not conform to this standard behavior, any installation phase may be augmented using <<development.examples.augment,pre- and/or post- phases>>, or even <<development.examples.override,overridden>> or <<development.examples.eliminate,eliminated>>.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See <<development.examples,Example Portfiles>> below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For a detailed description of all port phases, see the <<reference.phases,Portfile Reference>> chapter.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.creating-portfile]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Creating a Portfile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Here we list the individual Portfile components for an application that conforms to the standard [cmd]``+configure+``, [cmd]``+make+``, and [cmd]``+make install+`` steps of most open source application installs.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Modeline
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This should be the first line of a Portfile.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It sets the correct editing options for vim and emacs.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See <<development.practices.portstyle,Port Style>> for more information.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Its use is optional and up to the port maintainer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. PortSystem line
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This statement is required for all ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Port name
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name rrdtool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Port version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.2.23
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Port categories
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A port may belong to more than one category, but the first (primary) category should match the directory name in the ports tree where the Portfile is to reside.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories net
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Platform statement
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Port maintainers
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A port's maintainers are the people who have agreed to take responsibility for keeping the port up-to-date.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+maintainers+` keyword lists the maintainers' GitHub usernames or email addresses, preferably in the obfuscated form which hides them from spambots.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For more, see the full explanation of the <<reference.keywords.maintainers,maintainers keyword>> in the <<reference.keywords,Global Keywords>> section of the <<reference,Portfile Reference>> chapter.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers @neverpanic \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- jdoe \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- example.org:julesverne
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Port description
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description Round Robin Database
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Port long_description
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description RRDtool is a system to store and display time-series \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- data
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. A port's application homepage
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. A port's download URLs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://oss.oetiker.ch/rrdtool/pub/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ftp.pucpr.br/rrdtool/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Port checksums
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The checksums specified in a Portfile are checked with the fetched tarball for security.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For the best security, use rmd160 and sha256 checksum types.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Checksums should also include the target file's size.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 7bbfce4fecc2a8e1ca081169e70c1a298ab1b75a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2829fcb7393bac85925090b286b1f9c3cd3fbbf8e7f35796ef4131322509aa53 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1061530
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To find the correct checksums for a port's distribution file, follow one of these examples:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% openssl dgst -rmd160 rrdtool-1.2.23.tar.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% openssl dgst -sha256 rrdtool-1.2.23.tar.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-RIPEMD160( ... rrdtool-1.2.23.tar.gz)= 7bbfce4fecc2a8e1ca081169e70c1a298ab1b75a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-SHA256( ... rrdtool-1.2.23.tar.gz)= 2829fcb7393bac85925090b286b1f9c3cd3fbbf8e7f35796ef4131322509aa53
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-or update the version in the Portfile:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% sudo port edit rrdtool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-and run:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% port -v checksum rrdtool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Fetching distfiles for rrdtool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Verifying checksums for rrdtool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Checksumming rrdtool-1.2.23.tar.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Error: Checksum (rmd160) mismatch for rrdtool-1.2.23.tar.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfile checksum: rrdtool-1.2.23.tar.gz rmd160 ...WRONGCHECKSUM...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Distfile checksum: rrdtool-1.2.23.tar.gz rmd160 7bbfce4fecc2a8e1ca081169e70c1a298ab1b75a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Error: Checksum (sha256) mismatch for rrdtool-1.2.23.tar.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfile checksum: rrdtool-1.2.23.tar.gz sha256 ...WRONGCHECKSUM...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Distfile checksum: rrdtool-1.2.23.tar.gz sha256 2829fcb7393bac85925090b286b1f9c3cd3fbbf8e7f35796ef4131322509aa53
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The correct checksum line may be:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 7bbfce4fecc2a8e1ca081169e70c1a298ab1b75a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2829fcb7393bac85925090b286b1f9c3cd3fbbf8e7f35796ef4131322509aa5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Error: Failed to checksum rrdtool: Unable to verify file checksums
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Error: See ...SOMEPATH.../rrdtool/main.log for details.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Error: Follow https://guide.macports.org/#project.tickets to report a bug.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Error: Processing of port rrdtool failed
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Port dependencies
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A port's dependencies are ports that must be installed before another port is installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:perl5.8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:tcl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:zlib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Port configure arguments (optional)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --enable-perl-site-install \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --mandir=${prefix}/share/man
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.examples]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Example Portfiles
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In this section we begin by taking a look at a complete simple Portfile; then we see how to <<development.examples.augment,augment default phases>> by defining pre- and post- phases, how to <<development.examples.override,override default phases>>, and finally how to <<development.examples.eliminate,eliminate port phases>>.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.examples.basic]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== A Basic Portfile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name rrdtool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.2.23
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories net
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-2+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers julesverne
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description Round Robin Database
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description RRDtool is a system to store and display time-series data
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://oss.oetiker.ch/rrdtool/pub/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ftp.pucpr.br/rrdtool/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 7bbfce4fecc2a8e1ca081169e70c1a298ab1b75a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2829fcb7393bac85925090b286b1f9c3cd3fbbf8e7f35796ef4131322509aa53 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1061530
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib path:bin/perl:perl5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:tcl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:zlib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --enable-perl-site-install \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --mandir=${prefix}/share/man
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.examples.augment]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Augment Phases Using pre- / post-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To augment a port's installation phase, and not override it, you may use pre- and post- installation phases as shown in this example.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Install example files not installed by the Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file mkdir ${destroot}${prefix}/share/doc/${name}/examples
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${worksrcpath}/examples/ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${name}/examples
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.examples.override]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Overriding Phases
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To override the automatic MacPorts installation phase processing, define your own installation phases as shown in this example.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.examples.eliminate]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Eliminating Phases
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To eliminate a default phase, simply define a phase with no contents as shown.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Because many software packages do not use ``+configure+``, a keyword is provided to eliminate the `+configure+` phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Another exception is the `+destroot+` phase may not be eliminated.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See the chapter <<reference,Portfile Reference>> for full information.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.examples.startupitem]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Creating a StartupItem
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Startupitems may be placed in the global section of a Portfile.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.create yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.name nmicmpd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.executable "${prefix}/bin/nmicmpd"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.variants]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Port Variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Variants are a way for port authors to provide options that may be invoked at install time.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-They are declared in the global section of a Portfile using the "`variant`" keyword, and should include <<reference.variants.descriptions,carefully chosen variant descriptions>>.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.variants.options]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Example Variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The most common actions for user-selected variants is to add or remove dependencies, configure arguments, and build arguments according to various options a port author wishes to provide.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Here is an example of several variants that modify depends_lib and configure arguments for a port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant fastcgi description {Add fastcgi binary} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-fastcgi \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-force-cgi-redirect \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-memory-limit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant gmp description {Add GNU MP functions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gmp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-gmp=${prefix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant sqlite description {Build sqlite support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:sqlite3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --without-sqlite \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --without-pdo-sqlite
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-sqlite \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-pdo-sqlite=${prefix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-sqlite-utf8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Variant names may contain only the characters A-Z, a-z, and the underscore character "`_`".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Therefore, take care to never use hyphens in variant names.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In the example variant declaration below, the configure argument `+--without-x+` is removed and a number of others are appended.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant x11 description {Builds port as an X11 program with Lucid widgets} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --without-x
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-x-toolkit=lucid \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --without-carbon \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-xpm \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-jpeg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-tiff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-gif \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-png
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append lib:libX11:XFree86 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lib:libXpm:XFree86 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:jpeg \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:tiff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libungif \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libpng
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.variants.phase]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Variant Actions in a Phase
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a variant requires options in addition to those provided by keywords using -append and/or -delete, in other words, any actions that would normally take place within a port installation phase, do not try to do this within the variant declaration.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Rather, modify the behavior of any affected phases when the variant is invoked using the variant_isset keyword.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${prefix}/etc/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall ${worksrcpath}/examples/foo.conf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/etc/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[variant_isset carbon]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${prefix}/bin/emacs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${prefix}/bin/emacs-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.variants.default]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Default Variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Variants are used to specify actions that lie outside the core functions of an application or port, but there may be some cases where you wish to specify these non-core functions by default.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For this purpose you may use the keyword default_variants.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +foo +bar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The default_variant keyword may only be used in the global Portfile section.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.patches]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Patch Files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Patch files are files created with the Unix command [cmd]``+diff+`` that are applied using the command [cmd]``+patch+`` to modify text files to fix bugs or extend functionality.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.patches.portfile]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Creating Portfile Patches
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you wish to contribute modifications or fixes to a Portfile, you should do so in the form of a patch.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Follow the steps below to create Portfile patch files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Make a copy of the Portfile you wish to modify; both files must be in the same directory, though it may be any directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% cp -p Portfile Portfile.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Edit the file to make it as you want it to be after it is fetched.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Now use the Unix command [cmd]``+diff -u +``to create a "`unified`" diff patch file. Put the name of the port in the patchfile, for example, Portfile-rrdtool.diff.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% diff -u Portfile.orig Portfile > Portfile-rrdtool.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. A patch file that is a "`unified`" diff file is the easiest to interpret by humans and this type should always be used for ports. The Portfile patch below will change the version and checksums when applied.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- Portfile.orig 2011-07-25 18:52:12.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Portfile 2011-07-25 18:53:35.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2,7 +2,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- name foo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--version 1.3.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+version 1.4.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- categories net
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- description A network monitoring daemon.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -13,9 +13,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- homepage http://rsug.itd.umich.edu/software/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- master_sites ${homepage}/files/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--checksums rmd160 f0953b21cdb5eb327e40d4b215110b71
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+checksums rmd160 01532e67a596bfff6a54aa36face26ae
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.suffix .tgz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Now you may attach the patch file to a MacPorts Trac ticket for the port author to evaluate.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.patches.source]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Creating Source Code Patches
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Necessary or useful patches to application source code should generally be sent to the application developer rather than the port author so the modifications may be included in the next version of the application.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Generally speaking, you should create one patch file for each logical change that needs to be applied.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Patchfile filenames should uniquely distinguish the file and generally be of the form [path]`patch-```+<identifier>+``[path]`.diff`, where the `+identifier+` is a reference to the problem or bug it is supposed to solve.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-An example filename would be [path]`patch-```+destdir-variable-fix+``[path]`.diff`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To create a patch to modify a single file, follow the steps below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Locate the file you wish to patch in its original location within the unpacked source directory and make a duplicate of it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% cd ~/Downloads/foo-1.34/src
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% cp -p Makefile.in Makefile.in.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Edit the file and modify the text to reflect your corrections.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Now [cmd]``+cd+`` to the top-level directory of the unpacked source, and use the Unix command [cmd]``+diff -u+`` to create a "`unified`" diff patch file.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% cd ~/Downloads/foo-1.34
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% diff -u src/Makefile.in.orig src/Makefile.in > patch-destdir-variable-fix.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You should execute [cmd]``+diff+`` from the top-level directory of the unpacked source code, because during the patch phase MacPorts by default uses the patch argument ``+-p0+``, which does not strip prefixes with any leading slashes from file names found in the patch file (as opposed to `+-p1+` that strips one, etc), and any path not relative to the top-level directory of the unpacked source will fail during the patch phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you find an existing source file patch you wish to use that contains leading path information (diff was executed from a directory higher than the top-level source directory), you will need to use the <<reference.phases.patch,patch phase keyword>>``+patch.pre_args+`` to specify a `+-px+` value for how many prefixes with leading slashes are to be stripped off.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. A patch file that is a "`unified`" diff file is the easiest to interpret by humans and this type should always be used for ports. See the example below where a patch adds `+DESTDIR+` support to [path]`Makefile.in`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/Makefile.in.orig 2007-06-01 16:30:47.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/Makefile.in 2007-06-20 10:10:59.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -131,23 +131,23 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(INSTALL_DATA)/gdata $(INSTALL_DATA)/perl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- install-lib:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- -mkdir -p $(INSTALL_LIB)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ -mkdir -p $(DESTDIR)$(INSTALL_LIB)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- $(PERL) tools/install_lib -s src -l $(INSTALL_LIB) $(LIBS)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- cp $(TEXT) $(INSTALL_LIB)/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ cp $(TEXT) $(DESTDIR)$(INSTALL_LIB)/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Place the patch [path]`patch-destdir-variable-fix.diff` in the directory [path]`${portpath}/files` and use it in a port using the `+patchfiles+` keyword. `+${portpath}+` may be in a local Portfile repository during development, or [path]`files/` may be in a port's `+${portpath}+` in the global MacPorts repository.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-destdir-variable-fix.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.patches.applying]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Manually Applying Patches
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts applies patch files automatically, but you may want to know how to apply patch files manually if you want to test patch files you have created or you wish to apply uncommitted Portfile patches.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Change to the directory containing the file to be patched. In this example, we'll apply a Portfile patch to the postfix port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% cd $(port dir postfix)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Now apply the patch from your Downloads folder, or wherever you put it. The patchfile knows the name of the file to be patched.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% patch -p0 < ~/Downloads/Portfile-postfix.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patching file Portfile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.local-repositories]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Local Portfile Repositories
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To create and test Portfiles that are not yet published in the MacPorts ports tree, you may create a local Portfile repository as shown.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Replace the hypothetical user [path]`julesverne` with your username in the example below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Open [path]`sources.conf` in a text editor. For example, to open it into TextEdit:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% open -e ${prefix}/etc/macports/sources.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Insert a URL pointing to your local repository location before the rsync URL as shown.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-file:///Users/julesverne/ports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-rsync://rsync.macports.org/macports/release/tarballs/ports.tar [default]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The file URL should always appear before the rsync URL so that local Portfiles can be tested that are duplicated in the MacPorts tree, because [cmd]``+port+`` will always operate on the first Portfile it encounters.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Place the Portfiles you create inside a directory whose name matches the port, which should in turn be placed inside a directory that reflects the port's primary category (the first category entry in the Portfile). For example, to create the directory for a hypothetical port "`bestevergame`" and to begin editing its Portfile in TextEdit, you can use these commands:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% mkdir -p ~/ports/games/bestevergame
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% cd ~/ports/games/bestevergame
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% touch Portfile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% open -e Portfile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See other sections in the Guide for help writing Portfiles.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you've already written the Portfile elsewhere, you can instead copy the Portfile into this directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. If your Portfile needs to apply any patches to the port's source files, create a [path]`files` directory and place the patchfiles in it, and reference the patchfiles in your Portfile, as explained in <<development.patches.source,Creating Source Code Patches>>.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. After you create or update your Portfile, use [cmd]``+portindex+`` in the local repository's directory to create or update the index of the ports in your local repository.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% cd ~/ports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% portindex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Creating software index in /Users/julesverne/ports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Adding port games/bestevergame
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Total number of ports parsed: 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Ports successfully parsed: 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Ports failed: 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Once the local port is added to the [path]`PortIndex`, it becomes available for searching or installation as with any other Portfile in the MacPorts tree:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% port search bestever
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-bestevergame @1.1 (games)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- The Best Ever Game
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.practices]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Portfile Best Practices
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This section contains practical guidelines for creating Portfiles that install smoothly and provide consistency between ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following sections are on the TODO list.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.practices.portstyle]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Port Style
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfiles may be thought of as a set of declarations rather than a piece of code.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It is best to format the port file is if it were a table consisting of keys and values.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In fact, the simplest of ports will only contain a small block of values.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Nicely formatted compact tables will result in more values being visible at the same time.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The two columns should be separated by spaces (not tabs), so you should set your editor to use soft tabs, which are tabs emulated by spaces.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-By default, the top line of all Portfiles should use a modeline that defines soft tabs for the vim and emacs editors as shown.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The left column should consist of single words, and will be separated from the more complex right side by spaces in multiples of four.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Variable assignments and variant declarations are exceptions, and may be considered a single word on the left side, with a single space between words.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set libver "8.5"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When items require multiple lines with line continuation, they can be separated from the previous and next items with a blank line.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Indent the additional lines to the same column that the right side begins on in the first line.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 7bbfce4fecc2a8e1ca081169e70c1a298ab1b75a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2829fcb7393bac85925090b286b1f9c3cd3fbbf8e7f35796ef4131322509aa53 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1061530
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Should a key item such as a phase or variant require braces, the opening brace should appear on the same line and the closing brace should be on its own line.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The block formed by the braces is indented for visual clearance.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Braces merely quoting strings, for example the description of variants, are placed on the same line without line breaks.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant mysql5 description {Enable support for MySQL 5} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:mysql5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace --without-mysql5 --with-mysql5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Frequently multiple items are necessary in the second column.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, to set multiple source download locations, multiple `+master_sites+` must be defined.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Unless the second column items are few and short you should place each additional item on a new line and separate lines with a backslash.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Indent the lines after the first line to make it clear the items are second column values and also to emphasize the unity of the block.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.keepdirs ${destroot}${prefix}/var/run \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/var/log \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/var/cache/mrtg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.practices.dont-overwrite]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Don't Overwrite Config Files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For packages that use a configuration file, it's generally desirable to not overwrite user-changes in the config file when performing an upgrade or reinstall.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Move conf file to sample so it does not get overwritten
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename ${destroot}${prefix}/etc/apcupsd/apcupsd.conf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/etc/apcupsd/apcupsd.conf.sample
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-activate {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Create initial conf file if needed
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![file exists ${prefix}/etc/apcupsd/apcupsd.conf]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${prefix}/etc/apcupsd/apcupsd.conf.sample \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${prefix}/etc/apcupsd/apcupsd.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.practices.install-docs]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Install Docs and Examples
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.practices.provide-messages]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Provide User Messages
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.practices.use-variables]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Use Variables
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TODO: Set variables so changing paths may be done in one place; use them anytime it makes updates simpler: distname ${name}-src-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.practices.rename-replace-port]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Renaming or replacing a port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If there is the need to replace a port with another port or a renaming is necessary for some reason, the port should be marked as ``+replaced_by+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-As an illustration of a typical workflow the port "`skrooge-devel`" shall be taken.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This port had been used for testing new versions of skrooge, but it turned out to have become unnecessary due to the fact that skrooge's developers currently prefer a distribution via port "`skrooge`" instead.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-At the end of this section the use of the obsolete PortGroup is suggested as an even shorter approach to the below described workflow.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.replaced_by]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-==== The long way
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Skrooge's original devel port file looked like this:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup kde4 1.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.type svn
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.url svn://anonsvn.kde.org/home/kde/trunk/extragear/office/skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.revision 1215845
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name skrooge-devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.8.0-${svn.revision}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories kde finance
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers mk pixilla openmaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description Skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description Personal finance management tool for KDE4, with the aim of being highly intuitive, while \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- providing powerful functions such as reporting (including graphics), persistent \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Undo/Redo, encryption, and much more...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://skrooge.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://skrooge.org/files/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append port:kdelibs4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:libofx \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:qca-ossl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:kdebase4-runtime \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:oxygen-icons
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following steps have to be taken to ensure a smooth transition for a MacPorts user updating his local installation using ``+sudo port upgrade+``:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. add the line `+replaced_by foo+` where foo is the port this one is replaced by; when a user upgrades this port, MacPorts will instead install the replacement port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-replaced_by skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. increase the version, revision, or epoch, so that users who have this port installed will get notice in `+port outdated+` that they should upgrade it and trigger the above process
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. clear distfiles (have a line reading only ``+distfiles+``) so that no distfile is downloaded for this stub port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. delete master_sites since there aren't any distfiles to download
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. disable livecheck
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. add a pre-configure block with a `+ui_error+` and `+return -code error+` explaining to users who try to install this port that the port has been replaced
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "Please do not install this port since it has been replaced by 'skrooge'."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-With above modifications the port file eventually looks like this:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name skrooge-devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.revision 1215845
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.8.0-${svn.revision}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-replaced_by skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories kde finance
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers mk pixilla openmaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description Skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description Personal finance management tool for KDE4, with the aim of being highly intuitive, while \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- providing powerful functions such as reporting (including graphics), persistent \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Undo/Redo, encryption, and much more...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://skrooge.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "Please do not install this port since it has been replaced by 'skrooge'."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A user upgrading ports will experience the following for port "`skrooge-devel`":
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% sudo port upgrade skrooge-devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> skrooge-devel is replaced by skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Computing dependencies for skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Fetching skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Verifying checksum(s) for skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Extracting skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Configuring skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Building skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Staging skrooge into destroot
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Deactivating skrooge-devel @0.8.0-1215845_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning skrooge-devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Computing dependencies for skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Installing skrooge @0.8.0.6_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Activating skrooge @0.8.0.6_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-##########################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Don't forget that dbus needs to be started as the local
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# user (not with sudo) before any KDE programs will launch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# To start it run the following command:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# launchctl load /Library/LaunchAgents/org.freedesktop.dbus-session.plist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-##########################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-######################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Programs will not start until you run the command
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# 'sudo chown -R $USER ~/Library/Preferences/KDE'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# replacing $USER with your username.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-######################################################
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In case a user actually tries to install the obsolete port "`skrooge-devel`" it would be pointed out by an error message that this is impossible now:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% sudo port install skrooge-devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Fetching skrooge-devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Verifying checksum(s) for skrooge-devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Extracting skrooge-devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Configuring skrooge-devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Error: Please do not install this port since it has been replaced by 'skrooge'.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Error: Target org.macports.configure returned:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Log for skrooge-devel is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_skrooge-devel/main.log
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Error: Status 1 encountered during processing.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To report a bug, see <https://guide.macports.org/#project.tickets>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.obsolete-portgroup]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-==== The shortcut: PortGroup obsolete
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Using the PortGroup obsolete makes the task described in the previous subsection much easier:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup obsolete 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name skrooge-devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-replaced_by skrooge
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-svn.revision 1215845
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.8.0-${svn.revision}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories kde finance
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The PortGroup defines a number of reasonable defaults for a port that is only there to inform users that they should uninstall it and install something else instead.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You might want to override some of the defaults though.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For details have a look at the PortGroup's source code in [path]`${prefix}/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/obsolete-1.0.tcl`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+replaced_by+` can be specified before or after the `+PortGroup+` line.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.practices.removing-port]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Removing a port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a port has to be removed from MacPorts one should consider the hints concerning replacing it by some alternative port given <<development.practices.rename-replace-port,above>>.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It is recommended to wait one year before the port directory is actually removed from the MacPorts ports tree.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If there is no replacement for a port, it can simply be deleted immediately.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[development.buildbot]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== MacPorts' buildbot
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The https://build.macports.org/[buildbot] is a port build service which builds ports using the MacPorts Buildbot (https://github.com/macports/mpbb[MPBB]) scripts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Every time a maintainer commits changes to MacPorts' ports Git repository the buildbot will check whether a rebuild of the corresponding port(s) would be necessary.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the port(s) in question are distributable their binary archives will be kept for subsequent distribution for all versions of the Mac operating system for which build machines are available.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See the https://build.macports.org/builders[list
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- of builders] to find out which platforms these currently are.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a build error occurred for a port its maintainer will be informed via an email so that problems which did not surface on the maintainer's machine will not go unnoticed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Thus the buildbot helps to keep MacPorts consistent on various macOS versions, i.e., a maintainer does not need access to these versions anymore in order to assure that the port(s) maintained build without problems.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Currently only the default port variants will be built and kept.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The web page at https://build.macports.org/[build.macports.org] offers several views of the recent builds and of their success.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Port maintainers will find the https://build.macports.org/waterfall[waterfall] and the https://build.macports.org/builders[builders] views most useful since they give information about the build status and offer the possibility to build one's port(s) on specific builders.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Also, a web page at https://ports.macports.org/[ports.macports.org] provides an alternate view of buildbot activity.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Enter the name of the port you are interested in.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-That takes you to a summary page, which shows the success or failure of the last recorded build on each OS version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See the "Port Health" indicators near the top.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Click on those indicators to to see a description of the latest build on build.macports.org.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Click the Build Information tab to see all recorded builds.
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portfileref.adoc b/guide/adoc/portfileref.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index db9bbf6..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portfileref.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,117 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Portfile Reference
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:doctype: book
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sectnums:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:toc: left
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:icons: font
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:experimental:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idprefix:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idseparator: -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sourcedir: .
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This chapter serves as a reference for the major elements of a Portfile: port phases, dependencies, StartupItems, variables, keywords, and Tcl extensions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portfile-keywords.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portfile-variables.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portfile-phase.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portfile-dependencies.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portfile-variants.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portfile-tcl.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portfile-startupitem.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portfile-livecheck.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== PortGroups
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portgroups.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portgroup-github.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portgroup-gnustep.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portgroup-golang.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portgroup-java.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portgroup-perl.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portgroup-python.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portgroup-ruby.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: +1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-include::portgroup-xcode.adoc[]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:leveloffset: -1
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portgroup-github.adoc b/guide/adoc/portgroup-github.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 96db663..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portgroup-github.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,130 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.github]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= PortGroup github
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+github+` portgroup allows for efficient porting of software hosted on GitHub.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.github.description]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Description
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This portgroup greatly simplifies the porting of software hosted on GitHub.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Provided a GitHub repository author follows common GitHub practices, a port can be almost fully configured simply by declaring the repository coordinates.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+github+` portgroup is indeed capable of configuring, amongst other things:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* The port ``+name+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* The port ``+version+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* The `+distfiles+` (if the project uses GitHub releases).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* The `+livecheck+` parameters.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.github.setup]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Setting up the GitHub repository coordinates
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The main port configuration is triggered by the usage of the `+github.setup+` keyword:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup author project version [tag_prefix]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-By default, the port `+name+` will be set to the GitHub project name (``+project+``) and `+version+` will be set to the GitHub project ``+version+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The port name can be overridden by using the `+name+` keyword.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+tag_prefix+` is optional, and it's used to specify a prefix to use when constructing the tag name.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If, for example, the project uses tags such as ``+v1.0.0+``, then the `+tag_prefix+` should be set to ``+v+``, as in the following example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup author project version v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.github.distfilestrategy]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Choosing a distfile strategy
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-GitHub, and as a consequence the `+github+` portgroup, offers multiple mechanisms to get a distfile:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Distfile from a `+git+` commit or tag.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Distfile from a GitHub https://github.com/blog/1547-release-your-software[release].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Distfile from a GitHub https://github.com/blog/1302-goodbye-uploads[download].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Distfile from Github auto-generated archive downloads
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The default behaviour of the portgroup is using GitHub automatically generated distfile from a `+git+` commit or tag.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, the best practice should be using a GitHub release.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.github.distfile]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Distfile from tag or commit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The default behaviour of the `+github+` portgroup is leveraging GitHub's ability to create a distfile from a `+git+` tag or commit.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In this case, the `+distname+` is irrelevant and should not be set.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the project's developers do not tag their releases, they should be encouraged to do so.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Until they do, or in the case in which an untagged development version has to be used, port maintainers have the possibility of specifying a `+git+` commit hash and manually set the `+version+` field.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the project does not assign version numbers the port maintainer has to define one.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Such versions typically format the date of the chosen commit using the `+YYYYMMDD+` pattern.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If, for example, the port maintainer decides to use a changeset with the hash ``+0ff25277c3842598d919cd3c73d60768+``, committed on April 1, 2014, then the following would be used:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup someone someproject 0ff25277c3842598d919cd3c73d60768
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20140401
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.github.releases]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Distfile from a GitHub release
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+github+` portgroup allows maintainers to easily configure the distfiles when the project uses GitHub releases.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A release is the best distfile candidate, and project maintainers should be encouraged to use them.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To enable this feature, the following keyword must be used:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.tarball_from releases
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-By default, the `+github+` portgroup sets `+distname+` to:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${github.project}-${github.version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, GitHub does not enforce any rule for release distfiles, so port maintainers may need to override the `+distname+` as they would do for other ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.github.downloads]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Distfile from a GitHub download
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Older projects use the discontinued https://github.com/blog/1302-goodbye-uploads[downloads] service.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-New GitHub downloads can no longer be created, but old ones are still available.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the project doesn't have GitHub releases but does have GitHub downloads, they can be used using the following keyword:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.tarball_from downloads
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Since GitHub doesn't enforce any naming rules for downloads, the portgroup can only provide a sensible default value for ``+distname+``, which can be overridden if necessary.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.github.archive]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Distfile from GitHub archive downloads
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Further still, many Github projects have automatically-generated archive URLs that can be used for downloading distfiles.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This can be enabled via `+archive+` as follows:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.github.submodule]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Using repositories with git submodules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the project uses `+git+` submodules, some projects' tag- or commit-based distfiles will not contain all the necessary files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Once again, the best distfile candidate (if available) is a distfile from GitHub releases, as described in the previous sections.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, in the case a project doesn't provide any other alternative, a project using submodules can be successfully retrieved by fetching the sources using `+git+` and then using a `+post-fetch+` to initialize the submodules:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-fetch.type git
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-fetch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "git submodule update --init"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portgroup-gnustep.adoc b/guide/adoc/portgroup-gnustep.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 4e00761..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portgroup-gnustep.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,117 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.gnustep]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= PortGroup gnustep
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup gnustep allows for efficient porting of GNUstep-based open source software using the GNU objective-C runtime that defines options for the configuration, build, and destroot phases, and also defines some values for GNUstep-based software.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A minimum Portfile using the gnustep PortGroup class need only define the fetch and the checksum phases.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.gnustep.portgroup-keywords]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== gnustep PortGroup Specific Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfiles using the gnustep PortGroup allow for port authors to set the following keywords in addition to the general Portfile keywords.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gnustep.post_flags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-An associative array which specifies the sub-directories relative to ${worksrcpath} and the SHARED_LD_POSTFLAGS variables to be added to GNUmakefile.preamble in those sub-directories.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This helps making the patching process easier on Darwin.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platform darwin {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- array set gnustep.post_flags {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- BundleSubDir "-lfoo -lbar"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gnustep.cc::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Define the gcc compiler to use when compiling a port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: gcc-mp-4.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gnustep.cc gcc-mp-4.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant with_docs::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Many GNUstep packages include a Documentation sub-directory that is not built by default.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Enabling this variant builds and installs the included documentation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% port install gnustep-gui +with_docs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.gnustep.filesystem-keywords]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== gnustep FilesystemLayout Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup gnustep supports both the traditional gnustep file layout and the new fhs file layout.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, a given ported application does not necessarily support both.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The Portfiles have access to many procedures to handle these two layouts:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set_gnustep_make::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Sets GNUSTEP_MAKEFILES according to the FilesystemLayout
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set_gnustep_env::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Sets DYLD_LIBRARY_PATH and PATH for the gnustep FilesystemLayout
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gnustep_layout::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Returns true (1) if current file layout is gnustep
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set_system_library::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Sets GNUSTEP_SYSTEM_LIBRARY according to the FilesystemLayout
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set_local_library::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Sets GNUSTEP_LOCAL_LIBRARY according to the FilesystemLayout
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.gnustep.sugar]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== gnustep PortGroup Sugar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfiles using PortGroup gnustep do not need to define the following variables:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: gnustep
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: http://www.gnustep.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: gnustep:core
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: gnustep-core
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.env::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: DYLD_LIBRARY_PATH PATH
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.pre_args-append::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: CC=gcc-mp-4.2 GNUSTEP_MAKEFILES
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.type::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: gnu
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: DYLD_LIBRARY_PATH PATH
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.pre_args-append::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: messages=yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.env::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: DYLD_LIBRARY_PATH PATH
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.pre_args-append::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: messages=yes
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portgroup-golang.adoc b/guide/adoc/portgroup-golang.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0beea33..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portgroup-golang.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,140 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.golang]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= PortGroup golang
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+golang+` PortGroup allows for efficient porting of Go-based open source software.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.golang.description]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Description
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This PortGroup greatly simplifies the porting of software written in Go, especially when the software and its dependencies are hosted on GitHub or Bitbucket.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Provided a project author follows common Go packaging practices, a port can be almost fully configured simply by declaring the package identifier.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In particular, Go has strict requirements relating to the arrangement of code on the filesystem (GOPATH). This PortGroup handles the construction of the GOPATH for you.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.golang.setup]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Setting up the Go package identifier
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The main port configuration is triggered by the usage of the `+go.setup+` keyword:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup golang 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-go.setup domain/author/project version [tag_prefix] [tag_suffix]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-By default, the port `+name+` will be set to the package name (``+project+``) and `+version+` will be set to the project ``+version+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The port name can be overridden by using the `+name+` keyword.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+tag_prefix+` and `+tag_suffix+` are optional, and are used to specify a prefix/suffix to use when constructing the tag name.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If, for example, the project uses tags such as ``+v1.0.0+``, then the `+tag_prefix+` should be set to ``+v+``, as in the following example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-go.setup domain/author/project version v
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When the `+domain+` is either `+github.com+` or ``+bitbucket.org+``, the appropriate PortGroup will be applied and set up automatically.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See those PortGroups' documentation for details.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Projects hosted elsewhere can be used, but require additional manual setup.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.golang.dependencies]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Setting up dependencies
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The PortGroup provides a keyword to facilitate listing dependencies: ``+go.vendors+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Supply a list of vendor package IDs, their versions (git commit hashes, labeled "lock" as in "lockfile"), and their checksums as follows.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The packages and their versions can usually be found in a lockfile (e.g. [path]`Gopkg.lock`, [path]`glide.lock`) in the upstream code.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-All checksum types supported by the `+<<reference.phases.checksum,checksums>>+` keyword are supported here as well.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-go.vendors example.com/dep1/foo \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lock abcdef123456... \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 fedcba654321... \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 bdface246135... \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1234 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- example.com/dep2/bar \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lock abcdef123456... \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 fedcba654321... \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 bdface246135... \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 4321
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that `+go.vendors+` cannot be used with dependencies hosted outside of GitHub and Bitbucket.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Such dependencies must be handled manually.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-After the extraction phase, the vendor packages will be placed alongside the main port code as appropriate in the GOPATH.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Building and destroot
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-By default this PortGroup runs `+go build+` from the ``+${worksrcpath}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Assuming this results in a binary with the same name as the project, and that there are no other files to install, the following is sufficient for the destroot phase:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Please modify as appropriate for each individual port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.golang.variables]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== golang PortGroup Specific Variables
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When the golang PortGroup is declared within a Portfile, the following variables are provided during port install.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-go.bin::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+${prefix}/bin/go+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The Go binary location.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-go.package::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The package identifier of the port, e.g. ``+example.com/author/project+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-go.domain, go.author, go.project::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The individual parts of ``+${go.package}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gopath::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: ``+${workpath}+``/gopath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The location where source packages will be arranged after the extract phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-goarch::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: 386 or amd64, depending on `+${build_arch}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-goos::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+${os.platform}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.golang.sugar]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== golang PortGroup Sugar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfiles using PortGroup golang do not need to define the following variables:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name, version, homepage, distname, master_sites, livecheck.*::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: see github or bitbucket PortGroups (when project hosted on GitHub or Bitbucket)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: port:go
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: darwin freebsd linux
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Go can target these platforms, but individual ports should override this as necessary if only some are actually supported.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+${go.bin}+` build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: GOPATH=``+${gopath}+`` GOARCH=``+${goarch}+`` GOOS=``+${goos}+`` CC=``+${configure.cc}+``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-extract::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: arranges the project and vendor source files appropriately in the GOPATH.
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portgroup-java.adoc b/guide/adoc/portgroup-java.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 2f69e63..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portgroup-java.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,44 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.java]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= PortGroup java
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup java is useful for Java packages.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.java.keywords]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== java PortGroup Specific Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfiles using the java PortGroup allow for port authors to set the following keywords in addition to the general Portfile keywords.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-java.version::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword indicates that the port requires a Java installation of the specified version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If no such installation can be located, and no fallback option is specified (see below), the port will fail at the pre-fetch phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The version string can indicate a specific version or a range with wildcards "+" and "*". Note that Java 8 and earlier are "1.8", etc., while Java 9 and later are "9", etc.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-java.version 1.8+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-java.fallback::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword indicates an (optional) port dependency that will be added to the ports 'depends-lib' list in the case a prior installation of Java satisfying the requested version can not be found.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-java.fallback openjdk10
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.java.sugar]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== java PortGroup Sugar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfiles using PortGroup java do not need to define the following variables:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.env, build.env, destroot.env::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: JAVA_HOME=(detected value)
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portgroup-perl.adoc b/guide/adoc/portgroup-perl.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index a267a33..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portgroup-perl.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,68 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.perl]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= PortGroup perl5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup perl5 allows for efficient porting of perl modules and other perl open source software.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.perl.keywords]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== perl5 PortGroup Specific Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfiles using the perl5 PortGroup allow for port authors to set the following keywords in addition to the general Portfile keywords.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.setup::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This keyword sets the ${distfile} and ${version}.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: required
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.setup Net-Telnet 3.03
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.use_module_build::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Perl modules are ordinarily assumed to be built with ExtUtils::MakeMaker.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use this keyword if a module must be built using Module::Build instead.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.use_module_build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.perl.sugar]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== perl5 PortGroup Sugar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfiles using PortGroup perl5 do not need to define the following variables:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: perl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: perl_cpan:${perl5.cpandir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: perl5.26
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.perl.variables]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== perl5 PortGroup Specific Variables
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When the perl5 PortGroup is declared within a Portfile, the following variables are provided during port install.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.version::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts Perl version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.bin::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The Perl binary path (i.e., [path]`${prefix}/bin/perl`).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.lib::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Path to the Perl vendor directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.archlib::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Path to the Perl architecture-dependent modules directory.
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portgroup-python.adoc b/guide/adoc/portgroup-python.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 6e2f1b3..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portgroup-python.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,136 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.python]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= PortGroup python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup python allows for efficient porting of python-based open source software.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.python.keywords]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== python PortGroup Specific Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfiles using the python PortGroup allow for port authors to set the following keywords in addition to the general Portfile keywords.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Defines the python versions supported by this port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the port name starts with "`py-`", then a subport will be defined for each version in the list.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, if a port named "`py-foo`" declares ``+python.versions 26 27+``, subports "`py26-foo`" and "`py27-foo`" will be created, and will depend on python26 and python27 respectively.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the port name does not start with "`py-`", it is interpreted as an application written in python rather than a python module.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In this case, no subports are defined, and `+python.versions+` defaults to the value of ``+python.default_version+``, which must be set.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, if a port named "`mercurial`" sets ``+python.default_version 27+``, then `+python.versions+` will automatically be set to "`27`", and a dependency on python27 will be added.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: required for modules, optional for apps
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 25 26 27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.default_version::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For modules (i.e., name starts with "`py-`"), this sets the subport that will be installed if the user asks to install "`py-foo`" rather than, e.g., "`py26-foo`" or "`py27-foo`".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If not explicitly set, a reasonable default is chosen from the list in ``+python.versions+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For applications (i.e., name does not start with "`py-`"), this chooses which version of python to use, and must be set.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It can be changed in variants if desired.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: required for apps, optional for modules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.default_version 32
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.link_binaries::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When "`yes`" (the default), tells the PortGroup to automatically link any executable binaries installed in the bin/ directory within the framework into [path]`${prefix}/bin`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.link_binaries no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.link_binaries_suffix::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Suffix to add to the names of the links created in [path]`${prefix}/bin` when `+${python.link_binaries}+` is enabled.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Can be cleared if no suffix is desired.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: -``+${python.branch}+``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.add_archflags::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When yes (the default), the PortGroup will automatically try to pass the correct arch-specific flags during build time (via the standard CFLAGS, LDFLAGS, etc environment variables). Set this to "`no`" and set up those variables in `+build.env+` manually if the default does not work.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.add_archflags no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.python.variables]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== python PortGroup Specific Variables
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When the python PortGroup is declared within a Portfile, the following variables are provided.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.version::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The python version in use in the current subport.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This will be one of the versions listed in ``+python.versions+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.branch::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The python version in use in the current subport, in normal dotted notation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, if `+python.version+` is "`26`", `+python.branch+` will be "`2.6`".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.prefix::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The prefix in which the current python version is installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For framework builds, this is [path]`${frameworks_dir}/Python.framework/Versions/${python.branch}`, whereas for non-framework builds, it is the same as ``+${prefix}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.bin::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The path to the MacPorts Python executable.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.lib::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The Python dynamic library path, i.e., [path]`${python.prefix}/Python` (framework builds) or [path]`${prefix}/lib/libpython2.4.dylib` (python24).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.libdir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The path to python's lib directory, i.e., [path]`${python.prefix}/lib/python${python.branch}`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.include::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Path to the Python include directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.pkgd::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Path to the Python site-packages directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(i.e., [path]`${python.prefix}/lib/python${python.branch}/site-packages`).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.python.sugar]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== python PortGroup Sugar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfiles using PortGroup python do not need to define the following variables:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: port:python``+${python.version}+``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+${python.bin}+` setup.py --no-user-cfg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.cmd::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+${python.bin}+` setup.py --no-user-cfg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.destdir::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: --prefix=``+${python.prefix}+`` --root=``+${destroot}+``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-destroot::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: creates directory [path]`${destroot}${prefix}/share/doc/${subport}/examples`.
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portgroup-ruby.adoc b/guide/adoc/portgroup-ruby.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 6e9a36f..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portgroup-ruby.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,24 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.ruby]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= PortGroup ruby
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup ruby allows for efficient porting of ruby-based open source software.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.ruby.variables]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== ruby PortGroup Specific Variables
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When the ruby PortGroup is declared within a Portfile, the following variables are provided during port install.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-ruby.version::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts Ruby version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-ruby.bin::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The Ruby binary location.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-ruby.lib::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Path to the Ruby vendorlibdir directory (i.e., [path]`${prefix}/lib/ruby/vendor_ruby/${ruby.version}`)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-ruby.arch::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The name for the Ruby architecture-dependent directory name (i.e., ``+i686-darwin8.10.1+``).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-ruby.archlib::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Path to the Ruby vendor archdir (i.e., [path]`${ruby.lib}/${ruby.arch}`).
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portgroup-xcode.adoc b/guide/adoc/portgroup-xcode.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index ad8d193..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portgroup-xcode.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,164 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.xcode]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= PortGroup xcode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+PortGroup xcode+` allows for efficient porting of Xcode-based opensource software.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A minimum Portfile for `+PortGroup
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xcode+` uses defaults for the configuration, build, and destroot phases.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It also defines some values for Xcode-based software.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Using `+PortGroup xcode+` is a way to make your port able to tolerate Xcode version updates because the PortGroup is tested against all supported macOS and Xcode versions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.xcode.keywords]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== xcode PortGroup Specific Keywords
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfiles using `+PortGroup xcode+` allow for port authors to set the following keywords in addition to the general Portfile keywords.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.project::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The path relative to `+${build.dir}+` and `+${destroot.dir}+` of the Xcode project.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If unset, Xcode Tools should be able to determine it automatically.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It usually succeeds if there is only a single project in the directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.project ${name}.xcode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.configuration::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Project configuration/buildstyle to use.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+Deployment+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.configuration Main
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.target::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If present, it overrides `+build.target+` and ``+destroot.target+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.target ${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.build.settings::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Additional settings passed to the xcodebuild tool during the build phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These settings should be in the X=Y form.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.build.settings FRAMEWORK_SEARCH_PATHS=${frameworks_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.destroot.type::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Type of project that will be installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This tells the PortGroup xcode how to destroot the project.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Correct values are `+application+` and ``+framework+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+application+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.destroot.type framework
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.destroot.path::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Where to install the build product.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: [path]`${frameworks_dir}` or [path]`${applications_dir}` depending on ``+xcode.destroot.type+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.destroot.settings::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Additional settings passed to the xcodebuild tool during the destroot phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These settings should be in the X=Y form.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.destroot.settings SKIP_INSTALL=NO
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.universal.settings::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Settings passed to the xcodebuild tool when the +universal variant is selected.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These settings should be in the X=Y form.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+ARCHS="${universal_archs}" MACOSX_DEPLOYMENT_TARGET=${universal_target}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.universal.sdk::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-SDK to use when the +universal variant is selected.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The argument may be an absolute path to an SDK, or the canonical name of an SDK.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Type: optional
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Default: `+${universal_sysroot}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.xcode.sugar]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== xcode PortGroup Sugar
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Portfiles using the PortGroup xcode do not need to define the following variables:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: aqua
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: macosx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.xcode.phase-keywords]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Portfile-Phase Keywords Affecting the PortGroup xcode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following Portfile phase keywords affect the PortGroup xcode in a unique way.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In most cases, you will not need to set any of these keywords in the Portfile.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <citerefentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <refentrytitle>portfile-phase</refentrytitle>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-//
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <manvolnum>7</manvolnum>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </citerefentry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.cmd::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: ``+${xcodebuildcmd}+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.target::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This variable will be ignored if `+xcode.target+` is set.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+build+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.cmd::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: `+${xcodebuildcmd}+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.target::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Default: ""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This variable will be ignored if `+xcode.target+` is set.
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/portgroups.adoc b/guide/adoc/portgroups.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 95912f1..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/portgroups.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,43 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[reference.portgroup.intro]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= PortGroup Introduction
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroups are simply include files for portfiles.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-They can define as much or as little as a portgroup author feels is necessary to provide a set of definitions or behaviors common to a group of portfiles, in order that those portfiles can be expressed as simply as possible with minimum redundancy.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See the following folder for PortGroup definitions:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[path]`${prefix}/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-or if you prefer directly in https://github.com/macports/macports-ports/tree/master/_resources/port1.0/group[GitHub] .
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A sample listing follows:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% ls -1 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-active_variants-1.1.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-apache2-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-app-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-archcheck-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-bitbucket-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cmake-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cmake-1.1.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler_blacklist_versions-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compilers-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts_build-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-crossbinutils-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-crossgcc-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cxx11-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cxx11-1.1.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-debug-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-elisp-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github-1.0.tcl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The requirements of a minimum portfile using a portgroup varies by portgroup.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The sections below devoted to each portgroup (or, for portgroups not documented there yet, the comments in the header of the portgroup file itself) should provide guidance on how each portgroup is used.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Prospective MacPorts developers are also encouraged to examine existing portfiles that use these portgroups.
</span>\ No newline at end of file
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/project.adoc b/guide/adoc/project.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 4df4b7a..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/project.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,649 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= MacPorts Project
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:doctype: book
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sectnums:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:toc: left
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:icons: font
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:experimental:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idprefix:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idseparator: -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sourcedir: .
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.tickets]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Using Trac for Tickets
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts Project uses a system called https://trac.macports.org/[Trac] to file tickets to report bugs and enhancement requests.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Though anyone may search Trac for tickets, you must have a https://github.com/join[GitHub account] in order to login to https://trac.macports.org/[Trac] to create tickets.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.tickets.prerequisites]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Before Filing a New Ticket
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Clean and try again
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a build fails or is otherwise interrupted, and you try again, MacPorts tries to pick up where it left off.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Sometimes this causes new problems, and even if it doesn't, it means that log messages from earlier steps, which can be essential for figuring out why a build failed, are not included in the new log; MacPorts prints "`Skipping completed`" in the log for each previously-completed phase that was skipped.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Before filing a ticket, `+sudo port clean+` the port that failed, then try again.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Check the problem hotlist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The https://trac.macports.org/wiki/ProblemHotlist[Problem
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Hotlist] contains possible solutions to problems that affect many MacPorts users.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a solution to your problem listed there works, don't file a ticket.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Search to see if a Trac ticket has already been filed
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Avoid filing duplicate bugs.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Search for duplicates by:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** using the search bar that appears on each page
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** using https://trac.macports.org/search?portsummarysearch=on[the search page]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** browsing the list of https://trac.macports.org/report[categorized reports]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** making an advanced search by constructing a https://trac.macports.org/query[custom query]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Is the problem an application error and not related to compiling and installing?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In general, application bugs should be reported to the developers of the app ("`upstream`"), not MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-An application bug that affects a large number of MacPorts users might merit a MacPorts bug for informational purposes only, but this should be done sparingly.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Is the problem with a 'port upgrade' operation?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If so, try a 'port uninstall ``+foo+``' and then reinstall.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You might also want to run 'port -nR upgrade --force ``+foo+``' to rebuild ports depending upon port ``+foo+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that it is safest and recommended that most users always upgrade with 'port upgrade outdated' to update all ports at once.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Upgrading a single port can lead to software errors in other ports that have not yet been upgraded.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.tickets.creating]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Creating Trac Tickets
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Once you are logged into Trac, you may click https://trac.macports.org/newticket[New Ticket] and you will be presented with a new ticket window shown in the graphic below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Follow the Trac ticket guidelines below to fill out the form.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you are reporting a failed port install and a log was mentioned in the error, please use the *I have files to attach to this ticket* checkbox to add that log file to the ticket.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.A new Trac ticket
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-image::trac-default.png[screenshot of a new ticket on the Trac system]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.tickets.guidelines]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Trac Ticket Guidelines
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is a short overview of the guidelines for Trac tickets.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Please see below for longer and more detailed explanations.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.TL;DR
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[TIP]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[cols="1,1", frame="none", options="header"]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|===
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-| Field
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-| Content
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|**Summary**
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+$port+```+$version+````+[$variants]+``: `+short
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- problem summary+`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*Example:* openssl @1.0.1e_1+universal: DTLS handshake error messages with openconnect
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|**Description**
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Describe your problem. Preformatted text (such as terminal
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- output) should be put in ``+{{{``+three curly
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- brackets+``}}}+``. Please attach large
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- amounts of output rather than pasting.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Link to GitHub commits with links like
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ``[changeset:``bd5d680…``/macports-ports`` commit bd5d680``]``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Use the preview button!
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|**Type**
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <tbody>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry><emphasis role="strong">defect</emphasis></entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry>Bugs, build failures, documentation fixes</entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry><emphasis role="strong">enhancement</emphasis></entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry>Improving existing work</entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry><emphasis role="strong">update</emphasis></entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry>Update requests or patch submissions for ports</entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry><emphasis role="strong">submissions</emphasis></entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry>Submission of new <filename>Portfile</filename>s</entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry><emphasis role="strong">request</emphasis></entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry>Requests for new ports</entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </tbody>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|**Priority**
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Use *normal* or **low**. *High* is reserved for MacPorts developers.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|**Milestone**
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|Leave empty.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|**Component**
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <tbody>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry><emphasis role="strong">base</emphasis></entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry>Tickets affecting MacPorts itself</entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry><emphasis role="strong">guide</emphasis></entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry>Use for documentation</entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry><emphasis role="strong">ports</emphasis></entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry>Tickets affecting specific ports. Remember to set
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// the <emphasis role="strong">port</emphasis> field!</entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry><emphasis role="strong">server/hosting</emphasis></entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry>Use for infrastructure issues</entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry><emphasis role="strong">website</emphasis></entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry>Enhancements and fixes for the web site</entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry><emphasis role="strong">wiki</emphasis></entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// <entry>Enhancements and fixes for the wiki (or just edit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// it directly!)</entry>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </row>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-// </tbody>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|**Version**
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|The version of MacPorts you are running.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|**Keywords**
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|``+maintainer+`` if you are the port's
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- maintainer. `+haspatch+` if you are attaching
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- a patch. https://trac.macports.org/wiki/TicketsKeywordGuidelines[Full
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- list].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|**Port**
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|The name of the port affected by this ticket. Separate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- multiple using spaces. Leave empty for non-port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- tickets.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|**Owner**/**Cc**
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|Full email address or GitHub username of the port's
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- maintainer. Run [cmd]``+port info --maintainer ``+<portname>+``+`` to
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- look this up. Do not add mailto:nomaintainer@macports.org[] or mailto:openmaintainer@macports.org[]. For ports with
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- multiple maintainers, only put the first maintainer into the *Owner* field and all others in the *Cc* field. You do not need to Cc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yourself.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-|===
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-There are certain conventions used to ensure that Trac tickets convey as much accurate information as possible so problems and contributions may be acted upon efficiently.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* *Summary:*``+[port]+````+[version]+````+[concise description]+``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** Example: "rrdtool @1.2.23 +python Configure error - build failure"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* *Description:* All details that might be relevant to someone reading the ticket. Be sure to mention the versions of your operating system and Xcode install.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** Use https://trac.macports.org/wiki/WikiFormatting[Wiki formatting] to ensure that text is formatted correctly.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Link to GitHub commits with ``[changeset:``GithubSHA``/macports-ports``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-optional link text``]``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, for a GitHub commit with URL
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/macports/macports-ports/commit/bd5d6800828a3dcda1b65f3999fa748a365b168e,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-put ``[changeset:bd5d6800828a3dcda1b65f3999fa748a365b168e/macports-ports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-commit bd5d680]`` in the description. It becomes the link,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://trac.macports.org/changeset/bd5d6800828a3dcda1b65f3999fa748a365b168e/macports-ports[commit bd5d680]. See
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://trac.macports.org/wiki/TracLinks#LinkstoMacPortsonGitHub[TracLinks#LinkstoMacPortsonGitHub] for details.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** Use the Preview button before submitting. If you want to post preformatted text such as a log or terminal output, make sure you use `+{{{``+$$...$$+``}}}+` around the text or it could break the page layout. Example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-....
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-{{{
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-your error message here
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}}}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-....
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Submitters are advised to trim inline pastes and logs to what's really relevant to the report, as otherwise overly large ticket pages can become unmanageable.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Long output, such as the full log from a port build, should be added as an attachment, not pasted inline.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See [label]#I have files to attach to this
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-ticket# below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* *Type:* There are five types of tickets.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *defect* - The default; any port/MacPorts build/runtime failures and/or documentation corrections.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *enhancement* - Tickets, with or without patches, created to enhance something that isn't failing its intended purpose.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *update* - Tickets, with or without patches, involving updating a port to a newer upstream version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *submission* - Tickets created to submit Portfiles for software not currently available in MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *request* - Tickets created to request the creation of a new port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* *Priority:* Assign a priority level to the ticket.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *High* - Reserved for the use of MacPorts team members, as they are the best fit to determine which reports warrant a higher priority over others.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *Normal* - The default. For normal port failures, non-critical enhancement requests, non-critical port failures.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *Low* - For mostly cosmetic improvements, documentation corrections/improvements, etc.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *Not set* - Anything that doesn't fit the categories high, normal, or low.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* *Milestone:* Leave this blank. MacPorts developers will set this to the version of MacPorts that contains a fix for the ticket when they commit a change. Note that this is only meaningful for changes in MacPorts itself, since changes to ports are continuously provided to users. If the milestone is *MacPorts Future* no version of MacPorts with the fix has been released yet.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* *Component:* Set what part of the MacPorts Project the ticket is to be filed against.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *base* - Tickets related to MacPorts base code.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *guide* - Documentation enhancements and error corrections, or patches to the MacPorts Guide.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *ports* - Tickets related to ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *server/hosting* - For MacPorts hosting & server-side issues.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *website* - MacPorts website enhancements and error corrections.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** *wiki* - MacPorts Wiki enhancements and error corrections.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* *Version:* Select the MacPorts version you are using when it is applicable.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* *Keywords:* Type any keywords that might help when searching for tickets. It is not useful to list words here that already appear elsewhere in the ticket. Keywords also serve as tags; for example, use "`tiger`" if reporting a bug that only affects Mac OS X 10.4, "`haspatch`" if a fix is attached to the ticket, "`maintainer`" if you are the port's maintainer, or "`LP64`" if reporting an issue that only affects 64-bit platforms.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See https://trac.macports.org/wiki/TicketsKeywordGuidelines[the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-TicketsKeywordGuidelines wiki page] for a clickable list of all keywords.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* *Cc:* Anyone else besides the ticket reporter and assignee who would like to be kept involved in the development of the ticket. Multiple email addresses or GitHub usernames should be separated with a comma and a space (e.g., ``+neverpanic, you@example.org, maintainer@macports.org+``).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When reporting port-related tickets, make sure you add the port maintainers email address or GitHub username to the *Cc:* field so they are notified of the ticket (unless you have commit access, then see [label]#Assign
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To:# below). You can obtain the email address or GitHub username of the port maintainer by running [cmd]``+port info
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---maintainers ``+[port]+``+``
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* *Assign To:* For tickets on ports, enter the email address or GitHub username of the port's maintainer (use [cmd]``+port info ``+[port]+``+`` to find this). If multiple maintainers are listed, enter the first maintainer's email address or GitHub username here and enter the remaining maintainers' email addresses or GitHub usernames in the *Cc* field. Exclude the email address mailto:openmaintainer@macports.org[] if it appears. If the maintainer's email address is mailto:nomaintainer@mac [...]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Only project members and the reporter of a ticket can edit this field.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* *Port:* For tickets on ports, enter the name of the port (or ports, space-separated, when multiple are affected).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* *I have files to attach to this ticket:* Use this checkbox to attach files to the ticket immediately after you create it. Or you can attach files later using the *Attach File* button.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the file you are attaching is larger than 256 KiB, please compress it with bzip2 or gzip first to save space on the server and bandwidth for those downloading it, as Trac will not preview files above that size anyway.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.github]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Using Git and GitHub
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts project uses the https://git-scm.com/[Git distributed version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- control system] to manage the code for the entire project.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Our master repositories are hosted on https://github.com/[GitHub].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-We maintain https://github.com/macports[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- public repositories] for almost all our project code and documentation, including a GitHub repository for the https://github.com/macports/macports-base[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- MacPorts system itself], for the https://github.com/macports/macports-ports[MacPorts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ports], and https://github.com/macports/macports-guide[even for
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- the guide you are reading right now].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you're not familiar with Git and need an introduction, we recommend the book https://git-scm.com/book/en/v2[Pro Git, by Scott
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Chacon and Ben Straub].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The book is available for free online, and is published under a Creative Commons license.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You should feel free to fork any of our code repositories, make improvements to the code, and contribute them back to us via a GitHub pull request.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-We are grateful for improvements to absolutely everything, including new ports, fixes to ports, improvements to our base software, improvements to our documentation and our web site, or anything else you see.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The main steps for submitting a pull request are:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Make your changes in your own Git repository:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Fork the appropriate repository, say https://github.com/macports/macports-ports[macports-ports].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Create a branch for your changes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Make your changes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For changes to ports and code, please follow the information elsewhere in this guide, and test your changes carefully.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Changes to Portfiles should also pass [cmd]``+port lint+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Commit your changes to your branch, making sure to follow the https://trac.macports.org/wiki/CommitMessages[ MacPorts standard for commit messages].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Be sure to rebase your changes so as to minimize the number of commits. Ideally, you should have just one.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-(There are exceptions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you have several unrelated fixes, or you're changing multiple packages, etc., you might need more than one commit.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The point is to minimize them, ideally with one commit per logical change.)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Push the change branch to your own GitHub repository.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Make a pull request from your branch in your own git repository to the appropriate MacPorts repository.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can do this on the appropriate GitHub page.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, you can request a pull of a Portfile on https://github.com/macports/macports-ports/pulls[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-the macports-ports repository pull request page].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Go through the process of waiting for the CI system to build your new port, receiving feedback from our team, possibly being asked to make changes to your requested pull, and making those changes. (If you are asked for additional changes, please squash them to avoid unnecessary commits.)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-We try to process pull requests very quickly.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you do not see activity on your request within a few days, please feel free to get in touch with us on the mailto:macports-dev@lists.macports.org[] mailing list to request a review and/or commit.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Please include a link to the pull request in your email.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.contributing]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Contributing to MacPorts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You may contribute new ports and enhancements of any kind to already existing ports using Trac tickets.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, we prefer that you open a pull request on https://github.com/macports/macports-ports/pulls[GitHub], in which case no Trac ticket is required.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-_
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- The GitHub pull request method is strongly preferred over
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- submitting Trac tickets.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Submitting a Pull Request will likely result in your
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- contribution being merged into MacPorts much faster, as the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- workflow is much easier for the maintainers. _
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.contributing.new]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== New Ports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Ports are contributed by following these steps.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See the <<project.tickets,Ticket Submission Guidelines>> for a description of all fields.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Please run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% port lint --nitpick $portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-where `+$portname+` is the name of the port you are submitting.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Please fix any warnings and errors.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Either submit the new port through https://github.com/macports/macports-ports/pulls[a pull request on GitHub]...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. $$...$$or create a Trac ticket.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Set the type to **submission**.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Set the component to **ports**.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Set the *port* field to the name of the new port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Attach the [path]`Portfile` and any required patchfiles to the ticket.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. If your ticket or pull request doesn't receive any attention within a few days you may send an email to mailto:macports-dev@lists.macports.org[] and request a review and/or commit. Please include a link to the ticket or pull request.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.contributing.updates]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Port Enhancements
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Enhancements to existing ports may comprise new functionality for a given port, bug fixes or even simple version updates.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-They should always be contributed as patches against the current [path]`Portfile`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See the <<project.tickets,Ticket Submission Guidelines>> for a description of all fields.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Create a [path]`Portfile` patch with your changes. See <<development,Portfile Development>> for more information on how to edit Portfiles.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Please run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% port lint --nitpick $portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-where `+$portname+` is the name of the port you modified.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Please fix any warnings and errors before submitting your changes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Either submit the port update through https://github.com/macports/macports-ports/pulls[a pull request on GitHub]...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. $$...$$or create a Trac ticket.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Set the type to *enhancement* for miscellaneous enhancements, to *defect* for bug fixes, or to *update* for version updates.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Set the component to **ports**.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Set the *port* field to the name of the port you want to change.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Put the maintainer's email address or GitHub username into the *Cc* field. You can use
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% port info --maintainer $portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-where `+$portname+` is the name of the port you want to modify.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that mailto:openmaintainer@macports.org[] and mailto:nomaintainer@macports.org[] are not real people and should thus not be Cc'd.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Attach your Portfile patch file and any new or changed patch files to the ticket.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. If your ticket or pull request doesn't receive any attention within a few days you may send an email to mailto:macports-dev@lists.macports.org[] and request a review and/or commit. Please include a link to the ticket or pull request.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.contributing.maintaining]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Becoming a Port Maintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts is always looking for people that want to take care of a certain package.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you notice an outdated port, a bug in a port or simply a port without maintainer that you are interested in, feel free to volunteer as maintainer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To become a maintainer you need:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* An email address and a GitHub account.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* A copy of the [path]`Portfile`. Do not worry if you don't know where to find one yet. There's more documentation on that below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* An account in the https://trac.macports.org/[MacPorts Trac], (you'll log in with your GitHub account).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Interest in the software you want to maintain and some time.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You do _not_ need:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Commit access to the MacPorts repository. Instead, you open pull requests in GitHub (or create patches and open tickets in Trac.) You can, however, <<project.membership,apply for commit access>> once you have some experience in maintaining ports. In fact, we would like to encourage you to apply after a few months.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* Expert knowledge of the software you want to maintain or experience in [path]`Portfile` programming. You can pick those up along the way. Your knowledge about the software you want to maintain is probably more than what most other MacPorts developers have, given the number of ports MacPorts has. Consult <<development>> chapter and <<reference>> on how to write a [path]`Portfile`. If your questions are not answered there, please ask on the mailto:macports-dev@lists.macports.org[] mailing list.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To become the maintainer of a port, first check whether the port already has a maintainer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% port info --maintainer $portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-where `+$portname+` is the name of the port you want to maintain.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the output is
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainer:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-the port is unmaintained and you are more than welcome to take it over.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the output lists a different email address, you can still co-maintain the port, but you should contact the existing maintainer(s) first.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Once you have verified that a port is unmaintained or the existing maintainer has invited you to co-maintain the port of your choice, follow these steps to become a maintainer:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Locate the port's directory and make a copy. MacPorts can help you locate the directory that contains the [path]`Portfile` by running ``+port dir $portname+``. Copy this directory to a separate location (so you can easily generate a patch later) that is readable by the macports user. In general, your home directory does not fulfill that requirement, but [path]`/var/tmp` does.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% cp -r $(port dir $portname) /var/tmp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Check [path]`/var/tmp` for the new directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In most cases, its name should be equal to the name of the port you want to maintain.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In those few cases where it is not (i.e., the so-called `+subports+` feature is used), check the output of `+port dir $portname+` for the correct name.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Change to the new directory and run `+port info+` to make sure everything went right. Note that running any port command without a port name tries to use the [path]`Portfile` in the current directory. This is very helpful when testing modifications or new ports, so keep this in mind.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% cd /var/tmp/$portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% port info
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you don't see info output for the port, but an error message instead, it will usually be in the following form:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Can't map the URL 'file://.' to a port description file ("couldn't read file "Portfile": permission denied").
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Please verify that the directory and portfile syntax are correct.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To use the current port, you must be in a port's directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Pay attention to the part in the brackets in the first line.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It will either contain a permission problem (in which case you need to adjust the permissions of your [path]`Portfile` and the folders leading up to it), or a Tcl error message, in case of syntax errors in the [path]`Portfile`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Also check that the copy of the working directory is in fact the current working directory in your shell.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Open the [path]`Portfile` in your favorite editor and look for the line that starts with ``+maintainer+``. Delete `+nomaintainer+` from the line if it exists and add your own email address and GitHub username, grouped together with curly braces. Email addresses should be written in the form ``+domain.tld:localpart+``. (The address is obfuscated to prevent email harvesters from automatically grabbing your address.) For GitHub usernames, prefix your username with an `+@+` sign. For examp [...]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-At this point, please read <<project.update-policies.nonmaintainer>> and familiarize yourself with the meaning of ``+openmaintainer+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Consider adding `+openmaintainer+` to speed up and simplify small updates of your port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you decided to allow minor updates without consultation, add ``+openmaintainer+``, separated with a space, to the `+maintainer+` line of the [path]`Portfile`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Once you are done, save the file and verify the [path]`Portfile` structure using MacPorts' builtin lint check:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% port lint --nitpick
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You will likely see at least one error:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Error: Portfile parent directory tmp does not match primary category $XYZ
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can safely ignore _this_ message.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It is printed because the copy of the port's directory is not in a directory named after the port's primary category, but in [path]`/var/tmp` instead.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Please try to address all other warnings and error messages, though.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you need help, feel free to continue and add a note to the ticket you will create asking for instructions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Finally, run `+port info+` again.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The maintainers line in the output should now contain your email address or GitHub username.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you made changes other than the maintainer line, you might want to test build and installation as well.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To do that, run `+sudo port destroot+` in the port's directory.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you see
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Error: Unable to execute port: Could not open file: /private/var/tmp/somewhere/Portfile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-check the permissions of the [path]`Portfile` and all folders above it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-They must be readable by the `+macports+` user.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The easiest way to ensure this is to run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% chmod -R go+rX /var/tmp/$portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the port fails to build, see the [path]`main.log` referenced in the error message for details.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the build completes successfully, run `+sudo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port clean+` to clean up all leftovers.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Create a patch from the changes you made to the [path]`Portfile` and possible related files. To do that, run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-%% diff -ru $(port dir $portname) . > change-$portname-maintainer.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-in the directory where you edited the [path]`Portfile`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can inspect the generated unified diff in [path]`change-$portname-maintainer.diff` if you want.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. If you are only changing the maintainer, https://github.com/macports/macports-ports/pulls[file a pull request on GitHub].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. You may also https://trac.macports.org/newticket[file a new ticket in Trac] to change the maintainer, though GitHub pull requests are preferred. Set *type* to **enhancement**. Leave the *milestone* field empty. If you added yourself as co-maintainer, add the other maintainers in the *Cc* field. Finally, fill in the *port* field, set *keywords* to `+haspatch+` (because you are attaching a patch), check the box that you want to attach files to the ticket and submit. After submission, att [...]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. If you are also fixing a bug, make a separate commit for that in your pull request, or attach a separate patch for that change to the same ticket. If you are fixing a bug that already has a ticket, attach a patch fixing the bug there and file the maintainer change in a separate ticket (with a separate patch) as discussed above. In general, please create a separate patch for each semantic change. Doing so simplifies reviewing. It enables each independent change to be accepted without wo [...]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. If your pull request or ticket doesn't receive any attention within a few days you may send an email to mailto:macports-dev@lists.macports.org[] and request a review and/or commit. Please include a link to the pull request or ticket.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Once you are the maintainer for a port, all new pull requests and tickets for this port will be assigned to you.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You are expected to take a look at these pull requests and tickets, give advice and try to debug problems.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you are stuck, do not hesitate to ask on the mailto:macports-dev@lists.macports.org[] list.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.update-policies]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Port Update Policies
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Port maintainers normally are given commit privileges to the Git repository so they can make updates to their own ports as described in <<project.membership>>.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, The MacPorts Project does not restrict commit privileges for maintainers, so before a person other than a port's maintainer updates a port it is a good practice to inform a port's maintainer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See details below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.update-policies.nonmaintainer]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Non-Maintainer Port Updates
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you have a port update or bugfix for a port you do not maintain, to respect the rights of the port maintainer you should follow the following guidelines:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. If a port's maintainer is mailto:nomaintainer@macports.org[], you may feel free to make updates and/or take maintainership of the port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. If a port's maintainer contains the address mailto:openmaintainer@macports.org[], this means that the author allows minor updates to the port by other committers without contacting them first. But permission should still be sought for major changes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Committers are expected to investigate as thoroughly as necessary to confirm that an update is in fact minor.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Some projects have made quite major changes with only a tiny change to the version number.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-And of course a committer should always verify that a port not only builds but works correctly after a change, before pushing it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Pull requests for maintained ports should not be merged by anyone other than their creator or the port maintainer until the 72-hour timeout period has passed, even if the port is openmaintainer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is because the change is either from a non-committer, or from a committer who could have just pushed the change directly, and by opening a PR is signalling a desire to have the change reviewed by the maintainer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Create patch file(s) as necessary, attach them to a Trac ticket, and assign the ticket to the maintainer (or Cc the maintainer, if you are unable to assign tickets).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Wait for a response from the maintainer. The maintainer should apply the patches and close the ticket within 72 hours.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, for maintained ports without mailto:openmaintainer@macports.org[], there are some conditions under which maintainer permission may be waived:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* If the maintainer does not respond within 72 hours, you or another committer may review the patches and update the port. The log message of this commit must explain that you are taking advantage of maintainer timeout and include a reference to the ticket. If you are not a committer you may send an email to mailto:macports-dev@lists.macports.org[] and request the updates be committed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* A port is abandoned by its current maintainer. A port against which a Port Abandoned ticket has been filed (see below) can be updated without contacting the maintainer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* A critical port is broken that affects many users.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.update-policies.abandonment]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Port Abandonment
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A port may be considered abandoned if any of the following apply:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* A bug has not been acknowledged for more than three weeks after a ticket is filed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* All tickets filed against the port have been resolved with no input from the maintainer, after the 72-hour timeout, for a significant period of time (at least three weeks). This needs to involve a reasonable number of tickets; one timeout doesn't make a port abandoned.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-* The listed maintainer address bounces, and no alternate way of contacting the maintainer is known.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you wish to initiate the Port Abandonment protocol and optionally volunteer as the new maintainer:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. File a new Trac ticket with the summary line: [Port Abandoned] **portname**.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. The ticket should be assigned to the maintainer. Non-macports team members should Cc the maintainer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Set the ticket Type to Defect.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. In the Description field, refer to any unacknowledged ticket(s).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. In the Port field, indicate which port is abandoned.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. The Port Abandoned ticket may be closed when the new maintainer is assigned, and the original ticket(s) with the updates may be resolved as usual. The former maintainer should be removed from all other tickets on which they were assigned as owner. The Port Abandoned ticket should stay open for the usual 72-hour timeout period, to give the maintainer one last chance to indicate that they have not actually abandoned the port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.docs]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Updating Documentation
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.docs.guide]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Updating the Guide
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The sources for this guide are kept in a https://github.com/macports/macports-guide[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Git repository on GitHub].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you spot any error or outdated information, you are encouraged to submit a pull request following the steps outlined below.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.docs.guide.one-time]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-==== Preparing Changes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. {empty}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ git clone https://github.com/macports/macports-guide.git
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ cd macports-guide
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ git remote add username https://github.com/username/macports-guide.git
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-. Install the required ports:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port install libxml2 libxslt docbook-xsl-ns docbook-xml-5.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.docs.guide.each-time]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-==== Proposing a Change
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For each change you want to make:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Make your changes to the file in the [path]`guide/xml/` directory that corresponds to the section you want to make changes to.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ $EDITOR guide/xml/guide.xml
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Verify your changes are still valid XML. If the [cmd]``+make validate+`` command reports errors, fix the XML sources until you see no more error messages
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ make validate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Convert the guide to HTML and view the new version in your browser.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ make guide
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ open guide/html/index.html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-.. Commit your changes to the local branch and describe your changes in the commit message. See also our wiki page https://trac.macports.org/wiki/CommitMessages[CommitMessages] that explains how to write good commit messages.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ git commit -a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.membership]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== MacPorts Membership
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A requirement for a person to become a MacPorts committer is to first become involved and contribute to the project.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This may be done by having a record of contribution to the project in several of the following ways:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*** Contributing new ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*** Fixing bugs in existing ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*** Volunteering as a maintainer of non-maintained ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*** Involvement on MacPorts development and/or user support mailing lists.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*** Contributing with documentation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To apply for MacPorts commit rights, send a brief email to the PortMgr team at mailto:macports-mgr@lists.macports.org[] entitled "Commit access: ``+Your Name+``" with the following contents:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*** a description of your application and why you think you deserve commit rights. Include evidence of contributions to MacPorts as described above; at best add direct links to Trac tickets or Trac searches that make the review easier for the PortMgr team.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*** your github username. This will be used as the identity the "handle", as part of your `+``+handle+``@macports.org+` alias.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*** a real e-mail address to which you'd like your MacPorts alias to forward.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The PortMgr team will consider all applications and provide an appropriate response as soon as they get to it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[project.portmgr]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== The PortMgr Team
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The MacPorts PortMgr team is the steering group for The MacPorts Project.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Its membership is usually determined by public elections among project members; the current members of the team can be found on the https://trac.macports.org/wiki/MacPortsDevelopers[MacPorts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Developers wiki page].
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-They are responsible for matters such as:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*** approving new project members (i.e., granting commit rights);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*** setting general guidelines for the project;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*** dispute resolution;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*** managing the projects infrastructure; and
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-*** engineering releases.
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/guide/adoc/using.adoc b/guide/adoc/using.adoc
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index b15e1bd..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/guide/adoc/using.adoc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,1567 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-= Using MacPorts
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:doctype: book
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sectnums:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:toc: left
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:icons: font
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:experimental:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idprefix:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:idseparator: -
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-:sourcedir: .
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This chapter describes using [cmd]``+port+``, port variants, common tasks and port binaries.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== The port Command
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[cmd]``+port+`` is the main utility used to interact with MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It is used to update [path]`Portfile`s and the MacPorts infrastructure, and install and manage ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.help]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port help
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+help+` action shows some brief information about the specified action, or if no action is specified, shows basic usage information for [cmd]``+port+`` in general.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port help selfupdate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Usage: selfupdate --no-sync
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Upgrade MacPorts itself and run the sync target
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---no-sync Do not run the sync target, i.e., do not update the ports tree.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Only checks for (and installs, if available) new versions of
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.selfupdate]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port selfupdate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+selfupdate+` action should be used regularly to update the local ports tree with the global MacPorts ports repository so you will have the latest versions of software packages available.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It also checks for new releases of MacPorts itself, and upgrades it when necessary.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port selfupdate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Updating MacPorts base sources using rsync
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts base version 2.6.2 installed,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts base version 2.6.2 downloaded.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Updating the ports tree
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> MacPorts base is already the latest version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If `+selfupdate+` detects that a newer version of MacPorts is available, it automatically updates the installed copy of MacPorts base to the latest released version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In that case, you will see this message:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Updating MacPorts base sources using rsync
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts base version 2.6.1 installed,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts base version 2.6.2 downloaded.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Updating the ports tree
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> MacPorts base is outdated, installing new version 2.6.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Installing new MacPorts release in /opt/local as root:admin; permissions 755
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the `+selfupdate+` procedure fails you'll see a message like this:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Error installing new MacPorts base: command execution failed
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-As always, you can use the debug flag `+-d+` to enable verbose output.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If your `+selfupdate+` failed, re-run it with debug output enabled to see all output generated by the build system.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port -d selfupdate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The output may give you an idea why the build failed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Look for the first occurrences of "`error`".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you cannot figure out what's wrong yourself, feel free to ask on the mailto:macports-users@lists.macports.org[] mailing list and attach the output generated by [cmd]``+sudo port -d selfupdate+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+selfupdate+` accepts a single switch:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--no-sync+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Only update MacPorts itself, do not update the tree of [path]`Portfile`s.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.sync]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port sync
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+sync+` action performs a subset of ``+selfupdate+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It synchronizes the ports tree, as does ``+selfupdate+``, but it does not check for MacPorts upgrades.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-On macOS, unless there is a special reason not to do so, run <<using.port.selfupdate,selfupdate>> instead.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+sync+` does not accept any switches.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.diagnose]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port diagnose
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+diagnose+` action checks for common issues in the user's environment and reports all issues it finds to the user, along with possible fixes for said problem.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+diagnose+` accepts a single switch:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--quiet+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Only displays warnings and errors, rather than the status of all tests run.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.reclaim]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port reclaim
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+reclaim+` action attempts to reclaim space by uninstalling inactive ports, and removing unnecessary files that were downloaded during the installation process.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+reclaim+` accepts switches to configure automatic reminders.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If passed, the reclaim process will not be run.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--enable-reminders+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Enable regular reminders to run [cmd]``+port reclaim+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--disable-reminders+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Disable regular reminders to run [cmd]``+port reclaim+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.list]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port list
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+list+` action lists the currently available version of the specified ports, or if no ports are specified, displays a list of all available ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The list of available ports is very long, so use <<using.port.search,search>> if you are looking for a specific port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port list
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[cmd]``+port list+`` always lists the most recent version available in MacPorts, which is not necessarily the version you have installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For this reason, [cmd]``+port list
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- installed+`` likely produces unexpected output.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In most cases where you would ``+list+``, using `+installed+` or `+echo+` is the better choice instead.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Both [cmd]``+port installed+`` and [cmd]``+port echo installed+`` would produce the output you might expect from the command, [cmd]``+port list installed+`` will not (and, to make matters worse, will be slow).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You will hardly need [cmd]``+port list+`` at all to work with MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When searching, [cmd]``+port search+`` is the better choice and when trying to list ports, [cmd]``+port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- installed+`` and [cmd]``+port echo+`` are much more useful.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.search]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port search
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+search+` action allows finding ports by partial matches of the name or description.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Other fields can be matched against, and matched in different ways, by using options. [cmd]``+port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- search+`` is the tool of choice if you are looking for a specific software in MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-We recommend you read up on some of its flags to improve your efficiency when searching for ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Run [cmd]``+port help search+`` for an exhaustive list of possible switches.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Suppose you are looking for PHP in MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You might start with [cmd]``+port search php+`` and notice your query produces a lot of output.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In fact, at the time of writing this, this search produces 661 matches.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-By default, [cmd]``+port search+`` searches both name and description of a port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-While we're looking for PHP, we can reduce the number of hits by using the `+--name+` flag.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Furthermore, we only want ports whose name starts with "`php`", so we add the `+--glob+` flag (actually, we could leave it out because it is the default) and modify the search term to ``+php*+``:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port search --name --glob 'php*'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Furthermore, we can enable compact output by using the `+--line+` switch.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This causes only a single line to be printed for each match:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port search --name --line --glob 'php*'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Among a large number of PHP modules you will find the main PHP ports, which are named php``+<version>+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Choose one to install.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you know regex and know about the format of the PHP versions, you can further reduce the output of [cmd]``+port search+``:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port search --name --line --regex '^php\d*$'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php 5.5 lang www PHP: Hypertext Preprocessor
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php4 4.4.9 lang www PHP: Hypertext Preprocessor
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php5 5.3.28 lang www PHP: Hypertext Preprocessor
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php52 5.2.17 lang www PHP: Hypertext Preprocessor
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php53 5.3.28 lang www PHP: Hypertext Preprocessor
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php54 5.4.31 lang www PHP: Hypertext Preprocessor
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php55 5.5.15 lang www PHP: Hypertext Preprocessor
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php56 5.6.0RC2 lang www PHP: Hypertext Preprocessor
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Let us look at another example that is less complicated.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Assuming you are looking for ``+rrdtool+``, a popular system to store and graph time-series data, the simple search approach works well:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port search rrd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cacti @0.8.8b (net)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Cacti is a complete RRDtool network graphing solution.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-jrrd @1.0.4 (java)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Java interface to RRDTool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-netmrg @0.20 (net)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- An RRDtool frontend for network monitoring, reporting, and graphing that generates day/week/month
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- MRTG style graphs.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-network-weathermap @0.97c (net)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Weathermap is a network visualisation tool, to take graphs you already have and display an
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- overview of your network as a map. It supports RRD, MRTG (RRD and old log-format), and
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- tab-delimited text files. Other sources are via plugins or external scripts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php-rrd @1.1.3 (php, net, devel)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PHP rrdtool extension
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php5-rrd @1.1.3 (php, net, devel)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PHP rrdtool extension
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php5-rrdtool @1.0.5 (php, net, devel)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this port is only a stub and has been made obsolete by php5-rrd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php53-rrd @1.1.3 (php, net, devel)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PHP rrdtool extension
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php54-rrd @1.1.3 (php, net, devel)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PHP rrdtool extension
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-php55-rrd @1.1.3 (php, net, devel)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PHP rrdtool extension
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-rrdtool @1.4.7_5 (net)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Round Robin Database
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Found 11 ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The possible switches to `+search+` and their meaning are:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--case-sensitive+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Match the search string in a case-sensitive manner.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--exact+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Match the literal search string exactly.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--glob+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Treat the given search string as glob search string (i.e., expand wildcards ``+\*+``, ``+?+``, and ``+[chars]+``). This is the default behavior.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--regex+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Treat the given search string as regular expression.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--field+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Test the search string against ``+<field>+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Can be specified multiple times to test against multiple fields.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The default is ``+--name --description+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Possible values for `+<field>+` are
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-``+--category+``, `+--categories+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Search for ports in a given category.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-``+--depends+``, ``+--depends_build+``, ``+--depends_extract+``, ``+--depends_fetch+``, ``+--depends_lib+``, `+--depends_run+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Search for ports that depend on the port given as search string.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+--depends+` is an alias for all other `+--depends_+` options combined.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that only dependencies specified in default variants will be found.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-``+--description+``, `+--long_description+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Test the search string against ports' descriptions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--homepage+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Test the search string against the homepage field of all ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-``+--maintainer+``, `+--maintainers+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Search for ports maintained by a specific maintainer.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--name+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Search only ports' names.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--portdir+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Test the search string against the path of the directory that contains the port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-``+--variant+``, `+--variants+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Search for variant names.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.info]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port info
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+info+` action is used to get information about a port: name, version, description, variants, homepage, dependencies, license, and maintainers.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port info yubico-pam
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-yubico-pam @2.16 (security)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Variants: universal
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Description: The Yubico PAM module provides an easy way to integrate the YubiKey into your
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- existing user authentication infrastructure. The module can be configured to
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- validate YubiKeys against Yubico's YubiCloud infrastructure, a custom YubiKey
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- validation server or it can be used for offline authentication with newer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- YubiKeys supporting a challenge-response protocol.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Homepage: https://github.com/Yubico/yubico-pam
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Build Dependencies: pkgconfig, autoconf, automake, libtool
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Library Dependencies: ykpers, yubico-c-client
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Platforms: darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-License: BSD
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Maintainers: cal@macports.org
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.deps]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port deps
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+deps+` action lists the dependencies of a port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Dependencies are the packages are required by a port at runtime (library and runtime dependencies) or required to install it (build, fetch, and extract dependencies).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port deps apache2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Full Name: apache2 @2.2.27_0+preforkmpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Library Dependencies: apr, apr-util, expat, openssl, pcre, perl5, zlib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that the list of dependencies might depend on the variants you chose.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example, choosing the `+\+openldap+` variant of `+apache2+` adds a dependency on ``+openldap+``:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port deps apache2 +openldap
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Full Name: apache2 @2.2.27_0+openldap+preforkmpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Library Dependencies: apr, apr-util, expat, openssl, pcre, perl5, zlib, openldap
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+deps+` accepts two switches:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--index+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Do not read the [path]`Portfile` to determine dependencies.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Instead, rely on the information cached in the port index.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that (despite specifying them), this option will ignore any effects of variants.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It is, however, much faster.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--no-build+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Exclude dependencies only required at build time, i.e., fetch, extract, and build dependencies.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.variants]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+variants+` action allows you to check what variations of a port are available before you install it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Variants are a way for port authors to provide options you can use to customize your build at install time.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See <<using.variants.invoking,Invoking Port Variants>> below to install ports that have variants.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port variants apache2 +universal
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-apache2 has the variants:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- eventmpm: Use event MPM (experimental)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * conflicts with preforkmpm workermpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- openldap: Enable LDAP support through OpenLDAP
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[+]preforkmpm: Use prefork MPM
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * conflicts with eventmpm workermpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- +universal: Build for multiple architectures
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- workermpm: Use worker MPM
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * conflicts with eventmpm preforkmpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This output lists all variants followed by their description.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a variant depends on or conflicts with other variants, a line detailing that follows.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A variant name prefixed by `+\++` indicates that it has been enabled (on the command line), while a prefix `+-+` indicates that it has been disabled.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When bracketed, a prefix `+\++` means that the variant is enabled by default.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Any `+[]+` are derived from the [path]`Portfile`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-While `+()+` are derived from the [path]`variants.conf`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See <<internals.configuration-files.variants-conf>> for more information on [path]`variants.conf`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.install]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port install
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The action `+install+` is used to install a port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Once you determined the name of a port you want (possibly using <<using.port.search,[cmd]``+port search+``>>), you can install it using this command.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See <<using.variants.invoking>> on how to choose variants when installing a new port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port install apache2 -preforkmpm +workermpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-installs the `+apache2+` port without the ``+preforkmpm+``, but with the `+workermpm+` variant.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the installation of a port fails, you can enable verbose or debug output by giving the `+-v+` or `+-d+` flag to port:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port -v install apache2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-All debug information is also kept in [path]`main.log` for the port you installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Its path will be printed automatically if the installation fails.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can manually get the path using [cmd]``+port logfile portname+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that logfiles will automatically be deleted on successful installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the installation of a port fails, you should always clean and try again, i.e., run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port clean portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-and re-execute the command you ran before.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You might also want to try enabling trace mode, which can prevent conflicts caused by files installed by other ports or in common system locations, such as [path]`/usr/local`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To do that, re-run the installation with the `+-t+` flag, i.e.,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port -t install portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the port still fails to install after you have followed these steps, please <<project.tickets,file a ticket>> and attach the [path]`main.log` of a clean attempt.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The installation of a single port consists of multiple phases.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These phases are fetch, extract, patch, configure, build, destroot, archive, and finally install.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You may break up a port's installation into smaller steps for troubleshooting by using the name of one of these phases as action rather than ``+install+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port destroot apache2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-will run the installation of `+apache2+` until the destroot phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See <<reference.phases>> for a complete list of phases and a detailed description.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+install+` takes the following switches:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--no-rev-upgrade+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-By default, a binary sanity check called `+rev-upgrade+` is run automatically after each successful installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Pass this flag, if you want to avoid running this step, for example if you want to run it explicitly later after a number of installations using [cmd]``+sudo port rev-upgrade+``, or if you know it will detect problems but want to defer dealing with them.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--unrequested+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-By default, each port you install using the `+install+` explicitly (contrary to ports installed as a dependency of a different port) is marked as "`requested`".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you want MacPorts to treat a port you installed manually as if it was automatically installed as a dependency (e.g., if a dependency failed to build and you re-tried installing the dependency only), pass this flag.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.notes]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port notes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+notes+` action is used to display any notes that a port's author included. These can contain
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-anything, but by convention are brief, and typically contain quick start steps for configuring and
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-using the port, pitfalls to watch out for, or other information that users should be aware of.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These same notes are also displayed after installing a port. Many ports have no notes. More
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extensive documentation can often be found at a port's homepage, or in its installed files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port notes xinit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> xinit has the following notes:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- To use MacPorts' X11 as the default server, install xorg-server, log out, and
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- log back in.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.clean]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port clean
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The action `+clean+` deletes intermediate files created by MacPorts while installing a port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A [cmd]``+port clean+`` is often necessary when builds fail and should be the first thing to try after a failed installation attempt.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port clean portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[cmd]``+port clean+`` can also be used to remove corrupted downloads after a failed `+fetch+` phase, by specifying the `+--dist+` flag:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port clean --dist portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-deletes all files that have been downloaded for the given port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+clean+` accepts the following options:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--archive+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Remove temporary archives.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--dist+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Remove downloaded files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--logs+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Remove log files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--work+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Remove the [path]`work` directory, i.e., the directory used by MacPorts to build a software.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This removes all traces of an attempted build and is the default operation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--all+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-All of the above combined.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.uninstall]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port uninstall
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+uninstall+` action will remove an installed port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It is one of the actions you will use fairly often in MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port uninstall portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts will refuse to uninstall ports that are still needed by other ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port uninstall libcomerr
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Unable to uninstall libcomerr @1.42.9_0, the following ports depend on it:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> kerberos5 @1.11.3_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> subversion @1.8.9_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> subversion-perlbindings-5.16 @1.8.9_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Error: port uninstall failed: Please uninstall the ports that depend on libcomerr first.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can recursively uninstall all ports that depend on the given port before uninstalling the port itself to work around this.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To do that, use the `+--follow-dependents+` flag.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port uninstall --follow-dependents libcomerr
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can also override this safety check using the `+-f+` (force) flag. _Since
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this will obviously break the dependents you shouldn't do this unless you know what you are
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- doing._
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port -f uninstall libcomerr
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Uninstalling a port will not uninstall ports that have been automatically installed as dependencies of the uninstalled port and are otherwise unused.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can trigger this behavior by passing the `+--follow-dependencies+` flag.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Ports that were manually installed (i.e., are marked as "`requested`") or have other dependents will not be removed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can manually uninstall the unneeded ports later using the `+leaves+` pseudo-port, e.g., using [cmd]``+sudo port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- uninstall leaves+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+uninstall+` supports the following switches:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--follow-dependents+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Recursively uninstall ports that depend on the specified port before uninstalling the port itself.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See also the textual description above.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--follow-dependencies+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Also uninstall ports that were automatically installed as dependencies of the removed port and are no longer needed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--no-exec+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Avoid running any uninstall hooks, such as commands that update cache files.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.contents]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port contents
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+contents+` action displays a list of all files that have been installed by a given port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can only use `+contents+` for ports you installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port contents xorg-renderproto
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Port xorg-renderproto contains:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /opt/local/include/X11/extensions/render.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /opt/local/include/X11/extensions/renderproto.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /opt/local/lib/pkgconfig/renderproto.pc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /opt/local/share/doc/renderproto/renderproto.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Common uses for `+contents+` are finding the location of a port's executable after installing it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following line is usually helpful in this case:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port -q contents portname | grep -E '/s?bin/'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+-q+` (quiet) flag suppresses the header line in this case, but is not strictly necessary.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+contents+` accepts:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--size+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Prints a human-readable representation of the files' sizes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--units UNIT+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Used in conjunction with `+--size+` to choose the unit of the file size.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Valid parameters for `+UNIT+` are
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+B+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-List sizes in bytes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-``+K+``, ``+Ki+``, or `+KiB+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-List sizes in ``+KiB+``, i.e., 1024 bytes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-``+Mi+``, or `+MiB+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-List sizes in ``+MiB+``, i.e., 1024 * 1024 bytes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-``+Gi+``, or `+GiB+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-List sizes in ``+GiB+``, i.e., 1024 * 1024 * 1024 bytes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-``+k+``, or `+kB+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-List sizes in ``+kB+``, i.e., 1000 bytes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-``+M+``, or `+MB+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-List sizes in ``+MB+``, i.e., 1000 * 1000 bytes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-``+G+``, or `+GB+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-List sizes in ``+GB+``, i.e., 1000 * 1000 * 1000 bytes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.installed]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port installed
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+installed+` action displays the installed versions and variants of the specified ports, or if no ports are specified, all installed ports.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It also displays whether a port is "`active`", i.e., whether the files belonging to this port are currently present on disk or inactive, i.e., stashed away in a compressed tarball.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port installed
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following ports are currently installed:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- a52dec @0.7.4_0 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- adns @1.4_0 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- apache2 @2.2.27_0+preforkmpm (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- apr @1.5.1_0 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- apr-util @1.5.3_0 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- aquaterm @1.1.1_0 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- asciidoc @8.6.9_1+python27 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- …
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- XviD @1.3.3_0 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xz @5.0.5_0 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yasm @1.2.0_0 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ykpers @1.12.0_0 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- youtube-dl @2014.07.25.1_0+python27 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yubico-c-client @2.12_0 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yubico-pam @2.16_0 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- zlib @1.2.8_0 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use `+-v+` to also display the platform and CPU architecture(s) for which the ports were built, and any variants which were explicitly negated.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port -v installed libsdl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following ports are currently installed:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- libsdl @1.2.15_3-x11 (active) platform='darwin 13' archs='x86_64'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.outdated]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port outdated
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+outdated+` action checks your installed ports against the current ports tree to see they have been updated since you installed them.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that you will only get new versions by updating your ports tree using `+<<using.port.selfupdate,selfupdate>>+` (or ``+sync+``).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port outdated
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following installed ports are outdated:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gnupg 1.4.16_0 < 1.4.18_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gnupg2 2.0.22_2 < 2.0.25_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gpg-agent 2.0.22_1 < 2.0.25_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gpgme 1.5.0_0 < 1.5.1_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-HexFiend 2.1.2_1 < 2.3.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-libksba 1.0.8_0 < 1.3.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-p5.16-class-methodmaker 2.180.0_1 < 2.210.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-p5.16-gnupg-interface 0.330.0_3 < 0.500.0_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-p5.16-ipc-run 0.910.0_1 < 0.920.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[cmd]``+port outdated+`` lists the ports for which an upgrade is available and on the second column, why MacPorts thinks the port needs an upgrade.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In most cases, this will be an increase in the version number.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If it isn't, more details will be given.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.upgrade]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port upgrade
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+upgrade+` action upgrades installed ports and their dependencies to the latest version available in MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In most cases, you will run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port upgrade outdated
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-to update all ports that have an upgrade available.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can, however, selectively upgrade ports if you want to delay other upgrades until later.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is not recommended unless you know what you are doing, since you might experience software errors for the ports that have not yet been upgraded.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To upgrade individual ports, specify the name(s) of the port(s) to upgrade:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port upgrade gnupg2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that MacPorts may decide to upgrade other dependent ports before upgrading the port you requested to be updated.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Do not attempt to prevent this, since it will very likely lead to problems later.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+upgrade+` does not uninstall the old version of a port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Instead, it deactivates it, i.e., it stashes the files belonging to the older version away in a tarball.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This allows you to go back to the older version if there happens to be a problem with the updated one.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To do that, run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port installed portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-to determine the version number of the old version you want to re-activate, and run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port activate portname @old-version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-to go back to the old version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you do not want to keep the old versions around while upgrading, you can pass `+-u+` when upgrading:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port -u upgrade outdated
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, we instead recommend keeping the older versions around for a while and running
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port uninstall inactive
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-once in a while.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+upgrade+` accepts a number of switches:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--force+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Always consider the given ports outdated, regardless of whether they actually are.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--enforce-variants+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If the installed variants do not match those requested, upgrade (and change variants) even if the port is not outdated.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can use this to switch the variant selection on an installed port, e.g., using
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port upgrade --enforce-variants apache2 -preforkmpm +workermpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that `+--enforce-variants+` will also enforce your variant selection in all dependencies.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you know this is not necessary, you can avoid processing dependencies using the global `+-n+` flag:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port -n upgrade --enforce-variants apache2 -preforkmpm +workermpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--no-replace+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Do not automatically install replacement ports for a port that you have installed, but was replaced with a different one.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.dependents]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port dependents
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+dependents+` action reports what ports depend upon a given (installed) port, if any.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port dependents openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-apache2 depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-curl depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-cyrus-sasl2 depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-git depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-kerberos5 depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-lftp depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-libssh depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-mosh depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-openldap depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-p5.16-net-ssleay depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python27 depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python32 depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-qt4-mac depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-ruby19 depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-serf1 depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-textmate2 depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-wireshark depends on openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that `+dependents+` does not work for ports that are not installed on your system.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you want to find out, which ports depend on a port that you have not installed, you can use
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port echo depends:portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This command will, however, not cover dependencies that are only present in non-default variants.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.livecheck]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port livecheck
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The `+livecheck+` action checks to see if the application corresponding to a given port has been updated at the developer's download site.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This action is mostly useful for port maintainers to determine whether their port needs to be updated, but other may also wish to see if a port packages the latest available version.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See <<reference.livecheck>> for more information on livecheck.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port livecheck rb19-sass
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-rb19-sass seems to have been updated (port version: 3.3.10, new version: 3.3.14)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[NOTE]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If `+livecheck+` finds no higher version at the port's download site, it prints nothing.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The option `+-d+` (debug) may be used for detailed livecheck processing information.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.port.lint]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== port lint
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The lint action checks if the [path]`Portfile` conforms to the MacPorts standards specified in <<development,Portfile Development>>.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You should use this if you modified a [path]`Portfile` before submitting patches back to MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a [path]`Portfile` validates fine the following message is shown.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port lint rb19-sass
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Verifying Portfile for rb19-sass
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> 0 errors and 0 warnings found.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Otherwise the warnings and errors are listed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port lint abiword
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Verifying Portfile for abiword
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Warning: Variant use_binary does not have a description
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Warning: Variant use_source does not have a description
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Warning: no license set
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> 0 errors and 3 warnings found.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+lint+` has the following flag:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-`+--nitpick+`::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Enables additional checks that are mostly whitespace-related and best practices.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.variants]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Port Variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Variants are a way for port authors to provide options for a port that may be chosen at installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Typically, variants are optional features that can be enabled, but are not necessarily useful for all users and are thus not enabled by default.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To display the available variants for a port, if any, use this command:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port variants portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port variants apache2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-apache2 has the variants:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- eventmpm: Use event MPM (experimental)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * conflicts with preforkmpm workermpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- openldap: Enable LDAP support through OpenLDAP
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[+]preforkmpm: Use prefork MPM
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * conflicts with eventmpm workermpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- universal: Build for multiple architectures
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- workermpm: Use worker MPM
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- * conflicts with eventmpm preforkmpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This output lists all variants followed by their description.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a variant depends on or conflicts with other variants, a line with the details on that follows.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Variant lines that have a `+\++` are enabled and those with `+-+` are disabled.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Any `+[]+` are derived from the [path]`Portfile`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-While `+()+` are derived from the [path]`variants.conf`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See <<internals.configuration-files.variants-conf>> for more information on [path]`variants.conf`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.variants.invoking]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Invoking Variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A variant can only be selected when a port is installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-After you have determined what variants a given port has, if any, you may install a port using a variant by specifying its name preceded by a plus sign on the command line, for example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port install apache2 +openldap
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Multiple variants can be selected by simply listing them one after another separated by a space.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port install apache2 +openldap +universal
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use a minus sign to deselect a variant that is on by default.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port install apache2 -preforkmpm +workermpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that you will not see any confirmation of successful variant selection and MacPorts will not warn you if you misspelled a variant's name.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If your installation is successful, but the chosen feature still seems to be missing, check for possible typos.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can use [cmd]``+<<using.port.installed,port installed>>+`` to verify that the port has been installed with the chosen variant.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This happens because MacPorts will also use the specified variants for any dependencies.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-For example,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port install apache2 +mariadb
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-is accepted even though `+apache2+` does not have a `+\+mariadb+` variant.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-However, it depends on the `+apr-util+` port which does have the `+\+mariadb+` variant and will be installed with it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts will remember the variants that were used when installing a port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you upgrade a port later, the same variants will be used, unless you manually specify different variants.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.variants.negating]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Negating Default Variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-A [path]`Portfile` can specify a default set of variants that will be used when you do not manually override it.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Not all ports specify default variants – if there are no default variants, no variants are chosen by default.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you wish to disable a variant that has been enabled by default, either by the [path]`Portfile`, or by your configuration in [path]`variants.conf`, you can negate the variant in question by prefixing the variant name with a minus on the command line:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port install apache2 -preformmpm +workermpm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.common-tasks]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Common Tasks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This section lists common operations you may want to perform when managing a MacPorts installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These are the workflows you will need most while using MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-We recommend you read at least this section as a primer into how to use MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-More details about the usage can be found in <<using.port>> and the `+port(1)+` manpage available by running [cmd]``+man 1 port+`` in a Terminal.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Mind the "`sudo`" for some of the subsequent examples, which is necessary if you have a default MacPorts installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.common-tasks.updating]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Updating Your Ports Tree
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The local ports tree is a collection of files that contain information on which packages are available through MacPorts and how they can be installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You should regularly update your ports tree to get access to updated versions of software and bug fixes.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To do that, use ``+selfupdate+``:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port selfupdate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Password:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Updating MacPorts base sources using rsync
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts base version 2.6.2 installed,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts base version 2.6.2 downloaded.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Updating the ports tree
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> MacPorts base is already the latest version
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The ports tree has been updated. To upgrade your installed ports, you should run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port upgrade outdated
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.common-tasks.showports]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Show Ports Which Need Updating
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To see what's new after running ``+selfupdate+``, you can use [cmd]``+port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- outdated+`` to generate a list of ports that have newer versions available.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This can help in estimating the time required for [cmd]``+sudo port upgrade outdated+``, even though this depends on further factors such as binary package availability and a port's build time.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port outdated
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following installed ports are outdated:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gnupg 1.4.16_0 < 1.4.18_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gnupg2 2.0.22_2 < 2.0.25_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gpg-agent 2.0.22_1 < 2.0.25_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gpgme 1.5.0_0 < 1.5.1_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-HexFiend 2.1.2_1 < 2.3.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-libksba 1.0.8_0 < 1.3.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-p5.16-class-methodmaker 2.180.0_1 < 2.210.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-p5.16-gnupg-interface 0.330.0_3 < 0.500.0_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-p5.16-ipc-run 0.910.0_1 < 0.920.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.common-tasks.upgrading]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Upgrading Outdated Ports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To upgrade all your installed and outdated ports, run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port upgrade outdated
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In case you want to upgrade only a specific port (not recommended unless you know what you are doing), replace "`outdated`" in the command given above with the port's name:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port upgrade makedepend
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Password:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Computing dependencies for makedepend
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Fetching makedepend
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Attempting to fetch makedepend-1.0.3.tar.bz2 from http://lil.fr.distfiles.macports.org/makedepend
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Verifying checksum(s) for makedepend
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Extracting makedepend
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Configuring makedepend
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Building makedepend
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Staging makedepend into destroot
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Computing dependencies for makedepend
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Installing makedepend @1.0.3_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Deactivating makedepend @1.0.2_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Activating makedepend @1.0.3_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning makedepend
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that MacPorts will upgrade any dependencies of a port first before updating the port itself.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-So even if you request the update of a single port only, other ports may be upgraded first because they are in the dependency tree.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Do _not_ try to avoid this, as it will very likely lead to problems later on – the new version of the port you want to upgrade might require the newer dependency, or it might only have been upgraded at all to be rebuilt against the updated dependency, in which case avoiding the update of the dependency defeats the purpose of the reinstallation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.common-tasks.removeinactive]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Removing Inactive Version(s) of Upgraded Port(s)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-By default, upgrading ports in MacPorts does not remove the older versions.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-This is a safety measure to ensure you can go back to a working and tested version in case an update goes wrong.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To save disk space, you should periodically uninstall any old versions you no longer need.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port installed inactive
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-to get a list of inactive ports you likely no longer need.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following ports are currently installed:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gnupg @1.4.16_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gnupg2 @2.0.22_2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gpg-agent @2.0.22_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gpgme @1.5.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- HexFiend @2.1.2_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- libksba @1.0.8_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- p5.16-class-methodmaker @2.180.0_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- p5.16-gnupg-interface @0.330.0_3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- p5.16-ipc-run @0.910.0_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Check the list for any ports you might still want to keep.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To remove all of them at once, run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port uninstall inactive
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Password:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling p5.16-gnupg-interface @0.330.0_3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning p5.16-gnupg-interface
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling gnupg @1.4.16_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning gnupg
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling gpgme @1.5.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning gpgme
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling gnupg2 @2.0.22_2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning gnupg2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling gpg-agent @2.0.22_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning gpg-agent
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling HexFiend @2.1.2_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning HexFiend
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling libksba @1.0.8_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning libksba
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling p5.16-class-methodmaker @2.180.0_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning p5.16-class-methodmaker
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling p5.16-ipc-run @0.910.0_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning p5.16-ipc-run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Of course you could also select only a specific inactive port, but that requires to specify the exact version:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port uninstall HexFiend @2.1.2_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Password:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling HexFiend @2.1.2_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning HexFiend
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To uninstall all inactive ports but a single one, you can use the following shortcut:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port uninstall inactive and not portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.common-tasks.finddepending]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Finding Ports Depending on a Certain Port
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you want to find all ports that depend on a given other port, you can use
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port echo depends:portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you are only interested in the dependent ports that you actually have installed, you can use the quicker and more accurate ``+dependents+``:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port dependents portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gnupg2 depends on libksba
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gpg-agent depends on libksba
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts also has a recursive version of the `+dependents+` action called ``+rdependents+``:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port rdependents libksba
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following ports are dependent on libksba:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gnupg2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gpgme
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gpg-agent
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Finally, to find out which port you manually installed caused the automatic installation of a dependency, use the following expression:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port installed requested and rdependentof:portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port installed requested and rdependentof:libksba
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following ports are currently installed:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gnupg2 @2.0.25_0 (active)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.common-tasks.findleaves]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Finding Leaves
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-After a while of using MacPorts, installing and uninstalling ports, packages that have been automatically installed as dependencies for other ports are left behind, even though they are no longer necessary.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Ports that have not been manually installed ("`requested`") and do not have any dependents are called "`leaves`" and can be identified using the `+leaves+` pseudo-port, for example in conjunction with the `+echo+` or `+installed+` action.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port echo leaves
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-git-flow @0.4.1_2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gmake @4.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gpgme @1.5.1_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-hs-download-curl @0.1.4_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pkgconfig @0.28_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-py27-docutils @0.12_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python32 @3.2.5_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-texi2html @5.0_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-yasm @1.2.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-These leaves may be wanted, but are in most cases unneeded.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See <<using.common-tasks.keeplean>> to find out how to mark some of the leaves as requested.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can uninstall all leaves using
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port uninstall leaves
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that the uninstallation can cause new ports to become leaves.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To uninstall all leaves, you can use the `+rleaves+` pseudo-port instead.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-To go through this process interactively so you can make sure you're not uninstalling anything you want to keep, you can install the `+port_cutleaves+` port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-After installation, run it with
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port_cutleaves
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.common-tasks.keeplean]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Keep Your Installation Lean by Defining Leaves as Requested Ports
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Well, before we come to the procedure of defining your requested ports, let's have a look at a typical scenario where you want to understand what is actually installed and what is on the other hand truly necessary for your system.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Say checking leaves of your MacPorts installation gives this output:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port echo leaves
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-git-flow @0.4.1_2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gmake @4.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-gpgme @1.5.1_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-hs-download-curl @0.1.4_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pkgconfig @0.28_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-py27-docutils @0.12_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python32 @3.2.5_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-texi2html @5.0_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-yasm @1.2.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Now it is up to the user to decide what's needed and what is not.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-We've noticed `+pkgconfig+` is needed to build many ports, and while it is strictly not needed after installation, we'd like to keep it around to avoid installing it over and over again. ``+python32+``, ``+texi2html+``, and `+yasm+` are only needed to update ``+mplayer2+``, and since that software is rarely updated, we will re-install those ports again when they are needed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Since they are all distributable, MacPorts will use pre-built binaries for their installation anyway, so re-installing them wouldn't take long anyway.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-We don't really know why the rest of the leaves were installed, so we're just going to remove them for now.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Since we decided to keep ``+pkgconfig+``, we are going to mark it as manually installed ("`requested`" in MacPorts lingo) using:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port setrequested pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-When you've step-by-step figured out which ports you want to keep on your system and have set them as requested, you'll have a list of unnecessary ports, which you can get rid of using
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port uninstall leaves
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Note that uninstalling leaves may mark new ports as leaves, so you will have to repeat the process.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can install the `+port_cutleaves+` port, which is a special script for the job.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-It allows you to interactively decide whether to keep or uninstall a port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Run it as
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port_cutleaves
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[Leaf 1 of 8] hs-download-curl @0.1.4_0 (active):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [keep] / (u)ninstall / (f)lush / (a)bort:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** hs-download-curl @0.1.4_0 will be kept.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[Leaf 2 of 8] gmake @4.0_0 (active):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [keep] / (u)ninstall / (f)lush / (a)bort: u
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** gmake @4.0_0 will be uninstalled.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[Leaf 3 of 8] texi2html @5.0_1 (active):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [keep] / (u)ninstall / (f)lush / (a)bort: u
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** texi2html @5.0_1 will be uninstalled.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[Leaf 4 of 8] yasm @1.2.0_0 (active):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [keep] / (u)ninstall / (f)lush / (a)bort: u
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** yasm @1.2.0_0 will be uninstalled.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[Leaf 5 of 8] python32 @3.2.5_0 (active):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [keep] / (u)ninstall / (f)lush / (a)bort: u
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** python32 @3.2.5_0 will be uninstalled.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[Leaf 6 of 8] py27-docutils @0.12_0 (active):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [keep] / (u)ninstall / (f)lush / (a)bort: u
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** py27-docutils @0.12_0 will be uninstalled.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[Leaf 7 of 8] git-flow @0.4.1_2 (active):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [keep] / (u)ninstall / (f)lush / (a)bort: u
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** git-flow @0.4.1_2 will be uninstalled.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[Leaf 8 of 8] gpgme @1.5.1_0 (active):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [keep] / (u)ninstall / (f)lush / (a)bort: u
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** gpgme @1.5.1_0 will be uninstalled.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Deactivating gmake @4.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning gmake
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling gmake @4.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning gmake
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Deactivating texi2html @5.0_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning texi2html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling texi2html @5.0_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning texi2html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Deactivating yasm @1.2.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning yasm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling yasm @1.2.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning yasm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Deactivating python32 @3.2.5_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning python32
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling python32 @3.2.5_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning python32
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Deactivating py27-docutils @0.12_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning py27-docutils
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling py27-docutils @0.12_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning py27-docutils
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Deactivating git-flow @0.4.1_2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning git-flow
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling git-flow @0.4.1_2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning git-flow
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Deactivating gpgme @1.5.1_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning gpgme
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling gpgme @1.5.1_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning gpgme
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following ports were uninstalled:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gmake @4.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- texi2html @5.0_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yasm @1.2.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- python32 @3.2.5_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- py27-docutils @0.12_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- git-flow @0.4.1_2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gpgme @1.5.1_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Search for new leaves?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [no] / (y)es: y
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[Leaf 1 of 1] py27-roman @2.0.0_0 (active):
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [keep] / (u)ninstall / (f)lush / (a)bort: u
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-** py27-roman @2.0.0_0 will be uninstalled.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Deactivating py27-roman @2.0.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning py27-roman
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Uninstalling py27-roman @2.0.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Cleaning py27-roman
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The following ports were uninstalled:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- py27-roman @2.0.0_0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Search for new leaves?
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [no] / (y)es: y
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-There are no new leaves to process.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can get a list of all ports you previously set as requested (or installed manually) using:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port installed requested
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-We recommend you check the list of leaves from time to time to keep your system free of too much "`garbage`".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You should also periodically check the list of your requested ports and mark any ports you no longer need as unrequested using
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port unsetrequested portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Then check for new leaves to cut down the number of installed ports and the size of your MacPorts installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.binaries]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-== Port Binaries
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts can pre-compile ports into binaries so applications need not be compiled when installing on a target system.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts supports two types of binaries: archives and packages.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.binaries.archives]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Binary Archives
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Binary archives can only be used on a target system running MacPorts.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-They allow MacPorts utilities to skip the build (which is usually the phase that takes longest) and begin installation after the destroot phase.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Binary archives are automatically created whenever a port is installed, and can also be downloaded from a server.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-MacPorts runs a buildbot infrastructure that creates prebuilt binary packages for all ports in MacPorts for the default installation prefix.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Buildbots exist for systems later or equal to Snow Leopard.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If a port builds successfully and its license and those of its dependencies allow binary redistribution, the archives are uploaded to `+packages.macports.org+` and will be automatically used by MacPorts during installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can manually create an archive (and see debug output for its creation) using
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port -d archive logrotate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----> Installing logrotate @3.8.6_2+gzip
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[…]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-DEBUG: Creating logrotate-3.8.6_2+gzip.darwin_13.x86_64.tbz2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[…]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a .
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./+COMMENT
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./+CONTENTS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./+DESC
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./+PORTFILE
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./+STATE
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/etc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/sbin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/share
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/var
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/var/run
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/var/run/logrotate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/var/run/logrotate/.turd_logrotate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/share/logrotate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/share/man
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/share/man/man5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/share/man/man8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/share/man/man8/logrotate.8.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/share/man/man5/logrotate.conf.5.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/share/logrotate/CHANGES
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/share/logrotate/COPYING
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/share/logrotate/logrotate.conf.example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/share/logrotate/org.macports.logrotate.plist.example
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/sbin/logrotate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/etc/logrotate.d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-a ./opt/local/etc/logrotate.d/.turd_logrotate
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-DEBUG: Archive logrotate-3.8.6_2+gzip.darwin_13.x86_64.tbz2 packaged
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Binary archive files are placed in [path]`${prefix}/var/macports/software/`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The archive file type is set in [path]`macports.conf` using the `+portarchivetype+` key.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-The default format is ``+tbz2+``; other options are: ``+tar+``, ``+tbz+``, ``+tbz2+``, ``+tgz+``, ``+tlz+``, ``+txz+``, ``+xar+``, ``+zip+``, ``+cpgz+``, and ``+cpio+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[[using.binaries.binary-packages]]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-=== Binary Packages
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Binary packages are standalone binary installers that are precompiled; they do not require MacPorts on the target system.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-As such, they are helpful in generating disk images or installers to be redistributed to users without relying on MacPorts for installation.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Binary installers created with MacPorts are usually `+$$.$$pkg+` (macOS Installer packages). MacPorts can also convert a `+$$.$$pkg+` package into a macOS `+$$.$$dmg+` disk image.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can create binary packages using [cmd]``+port+`` as shown in the following examples.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[WARNING]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you want to create installer packages using MacPorts for redistribution, make sure you do not use a standard installation of MacPorts in [path]`/opt/local`.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-If you do that, your installer package conflicts with MacPorts on systems that _do_ have MacPorts installed.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Instead, follow <<installing.macports.source.multiple>> and choose a prefix specific to the software you are trying to package, e.g., [path]`/opt/logrotate` for ``+logrotate+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Then use this custom MacPorts installation to build your package.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-====
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Create a macOS `+$$.$$pkg+` installer for the `+pstree+` port:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port pkg pstree
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You may also create a macOS `+$$.$$dmg+` disk image file instead:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port dmg pstree
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-In most cases you probably want to package a port and all its library and runtime dependencies in a single package.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-You can use a metapackage to do this.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Create one using:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port mpkg gimp2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Just as with a single package, a metapackage can also be wrapped in a ``+$$.$$dmg+``.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ sudo port mdmg gimp2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-All packages are placed in a port's work directory, which you can locate using:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-[source]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-$ port work portname
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-----
</span></pre><pre style='margin:0'>
</pre>