[72199] trunk/dports/lang/llvm-devel/Portfile

Ryan Schmidt ryandesign at macports.org
Wed Oct 6 13:57:11 PDT 2010


On Oct 6, 2010, at 13:54, erickt at macports.org wrote:

> Revision: 72199
>          http://trac.macports.org/changeset/72199
> Author:   erickt at macports.org
> Date:     2010-10-06 11:54:47 -0700 (Wed, 06 Oct 2010)
> Log Message:
> -----------
> Mark llvm-devel as being replaced by llvm.
> 
> Modified Paths:
> --------------
>    trunk/dports/lang/llvm-devel/Portfile
> 
> Modified: trunk/dports/lang/llvm-devel/Portfile
> ===================================================================
> --- trunk/dports/lang/llvm-devel/Portfile	2010-10-06 13:48:41 UTC (rev 72198)
> +++ trunk/dports/lang/llvm-devel/Portfile	2010-10-06 18:54:47 UTC (rev 72199)
> @@ -14,6 +14,8 @@
> long_description        llvm brings tools to work on the llvm intermediate \
>                         language incl. a C and C++ frontend.
> 
> +replaced_by             llvm

Unfortunately at present you need several more lines than just this to make everything work properly.

* You should indicate there are no distfiles by adding the line:

distfiles

* You should ensure anyone trying to install this port is prevented from doing so by adding this block:

pre-configure {
    ui_error "${name} has been replaced by ${replaced_by}; please install that port instead."
    return -code error "obsolete port"
}

* You should remove all the lines of the port that formerly were needed to install it: checksums, dependencies, configure variables, destroot commands, variants, etc. etc.

* You should increase the revision so anyone who already has the port installed will be prompted to upgrade to its replacement.

* You should indicate in ticket #21174 that you've made these changes and then resolve the ticket.



More information about the macports-dev mailing list