Changeset 118331


Ignore:
Timestamp:
Mar 30, 2014, 11:39:14 PM (6 years ago)
Author:
ryandesign@…
Message:

p5-libapreq2: add p5.18 subport; use notes instead of post-install ui_msgs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/perl/p5-libapreq2/Portfile

    r94655 r118331  
    44PortGroup                 perl5 1.0
    55
    6 perl5.branches      5.8 5.10 5.12 5.14 5.16
     6perl5.branches            5.8 5.10 5.12 5.14 5.16 5.18
    77perl5.setup               libapreq2 2.13 Apache2
    88revision                  3
     
    2727                          port:p${perl5.major}-extutils-xsbuilder
    2828
    29 configure.args            --with-apache2-apxs=${prefix}/apache2/bin/apxs --with-mm-opts="${configure.args}"
     29set apxs                  ${prefix}/apache2/bin/apxs
     30
     31configure.args            --with-apache2-apxs=${apxs} --with-mm-opts="${configure.args}"
    3032
    3133destroot.pre_args         install
     
    4547                      }
    4648
    47 post-install          {
    48                           ui_msg "\nIf this your first install, you might want to"
    49                           ui_msg " * enable apreq in apache :\n"
    50                           ui_msg "${prefix}/apache2/bin/apxs -a -e -n \"apreq\" mod_apreq2.so\n"     
    51                           ui_msg " * And then relaunch apache \n"
    52                           ui_msg "${prefix}/apache2/bin/apachectl restart\n"
    53                       }
     49notes "
     50If this your first install, you might want to enable apreq in apache:
     51
     52    ${apxs} -a -e -n \"apreq\" mod_apreq2.so
     53
     54And then relaunch apache:
     55
     56    ${prefix}/apache2/bin/apachectl restart
     57"
    5458}
Note: See TracChangeset for help on using the changeset viewer.