install-patch-install cycles & install without activate

Joshua Root jmr at macports.org
Tue May 29 21:19:43 UTC 2018


On 2018-5-30 04:31 , macports at parvis.nl wrote:
> My workflow is:
> 
>   port install munin
> 
>   #- cycle start
>   port clean --work munin
>   create patches against the unmodified tarball
>   port clean --work munin
>   port install munin
>   test
>   #- cycle end

Needs an uninstall at the start of the cycle. Can do it conditionally:
if [ -n "`port -q installed munin`" ]; then
	port uninstall munin
fi

>   Q1) What is the port command to execute all needed phases, starting with patch?

You can do 'port destroot munin' to do a full build without installing.
As Rainer said though, if the exact same version of the port is already
installed, "all needed phases" for the install action is an empty set.

>   Q2) What is the port command to execute all needed phases, except activate?

port archive

- Josh


More information about the macports-dev mailing list