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

ryandesign at macports.org ryandesign at macports.org
Sun Mar 30 16:39:14 PDT 2014


Revision: 118331
          https://trac.macports.org/changeset/118331
Author:   ryandesign at macports.org
Date:     2014-03-30 16:39:14 -0700 (Sun, 30 Mar 2014)
Log Message:
-----------
p5-libapreq2: add p5.18 subport; use notes instead of post-install ui_msgs

Modified Paths:
--------------
    trunk/dports/perl/p5-libapreq2/Portfile

Modified: trunk/dports/perl/p5-libapreq2/Portfile
===================================================================
--- trunk/dports/perl/p5-libapreq2/Portfile	2014-03-30 23:06:29 UTC (rev 118330)
+++ trunk/dports/perl/p5-libapreq2/Portfile	2014-03-30 23:39:14 UTC (rev 118331)
@@ -3,7 +3,7 @@
 PortSystem                1.0
 PortGroup                 perl5 1.0
 
-perl5.branches      5.8 5.10 5.12 5.14 5.16
+perl5.branches            5.8 5.10 5.12 5.14 5.16 5.18
 perl5.setup               libapreq2 2.13 Apache2
 revision                  3
 license                   Apache-2
@@ -26,8 +26,10 @@
                           port:mod_perl2 \
                           port:p${perl5.major}-extutils-xsbuilder
 
-configure.args            --with-apache2-apxs=${prefix}/apache2/bin/apxs --with-mm-opts="${configure.args}"
+set apxs                  ${prefix}/apache2/bin/apxs
 
+configure.args            --with-apache2-apxs=${apxs} --with-mm-opts="${configure.args}"
+
 destroot.pre_args         install
 
 destroot.violate_mtree    yes
@@ -44,11 +46,13 @@
                           }
                       }
 
-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"
-                      }
+notes "
+If this your first install, you might want to enable apreq in apache:
+
+    ${apxs} -a -e -n \"apreq\" mod_apreq2.so
+
+And then relaunch apache:
+
+    ${prefix}/apache2/bin/apachectl restart
+"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140330/b04c2a79/attachment.html>


More information about the macports-changes mailing list