Re: [macports-ports] branch master updated: aiccu: bump revision and add notice that the service is discontinued

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [macports-ports] branch master updated: aiccu: bump revision and add notice that the service is discontinued

Ryan Schmidt-24

> On Jun 13, 2017, at 03:52, Dan Villiom Podlaski Christiansen <[hidden email]> wrote:
>
> Dan Villiom Podlaski Christiansen (danchr) pushed a commit to branch master
> in repository macports-ports.
>
>
> https://github.com/macports/macports-ports/commit/6c811e9f126a9453c3db2d1acb6179b058e102cd
>
> The following commit(s) were added to refs/heads/master by this push:
>
>      new 6c811e9  aiccu: bump revision and add notice that the service is discontinued
>
> 6c811e9 is described below
>
>
> commit 6c811e9f126a9453c3db2d1acb6179b058e102cd
>
> Author: Dan Villiom Podlaski Christiansen <[hidden email]>
> AuthorDate: Tue Jun 13 10:52:36 2017 +0200
>
>
>     aiccu: bump revision and add notice that the service is discontinued


> +post-activate {
> +    ui_msg "**********************************************************************"
> +    ui_msg "* Warning: The SixXS service is no longer available; as a result,    *"
> +    ui_msg "* this port has little but historical value.                         *"
> +    ui_msg "**********************************************************************"
> +}

You should use the "notes" command in the main part of the portfile, rather than using ui_msgs in a post-activate block. Also, don't surround the notes with ASCII art; just write the paragraph(s) of text.

Changes to the notes or the activate or deactivate phases aren't seen by users unless you increase the revision (because MacPorts uses the Portfile that was recorded in the registry at install time, not the Portfile in the ports tree).