[76487] trunk/dports/perl/p5-libapreq2/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Feb 25 17:59:27 PST 2011


On Feb 25, 2011, at 11:37, narf_tm at macports.org wrote:

> Revision: 76487
>          http://trac.macports.org/changeset/76487
> Author:   narf_tm at macports.org
> Date:     2011-02-25 09:37:19 -0800 (Fri, 25 Feb 2011)
> Log Message:
> -----------
> Added notice for bug #23298.
> 
> Modified Paths:
> --------------
>    trunk/dports/perl/p5-libapreq2/Portfile
> 
> Modified: trunk/dports/perl/p5-libapreq2/Portfile
> ===================================================================
> --- trunk/dports/perl/p5-libapreq2/Portfile	2011-02-25 17:21:21 UTC (rev 76486)
> +++ trunk/dports/perl/p5-libapreq2/Portfile	2011-02-25 17:37:19 UTC (rev 76487)
> @@ -39,3 +39,11 @@
>                               file delete ${badfile}
>                           }
>                       }
> +
> +post-install          {
> +                          ui_msg "\nIf this your first install, you might want to"
> +                          ui_msg " * enable apreq in apache :\n"
> +                          ui_msg "${prefix}/apache2/bin/apxs -a -e -n \"apreq\" mod_apreq2.so\n"     
> +                          ui_msg " * And then relaunch apache \n"
> +                          ui_msg "${prefix}/apache2/bin/apachectl restart\n"
> +                      }

You should use the "notes" feature for this instead of ui_msg's.





More information about the macports-dev mailing list