Skip to content
Permalink
Browse files

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

…_msgs

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@118331 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ryandesign committed Mar 30, 2014
1 parent b7a2ae9 commit 152fb2c86fa5a8a54bca48557d6a18c03b699660
Showing with 13 additions and 9 deletions.
  1. +13 −9 perl/p5-libapreq2/Portfile
@@ -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,7 +26,9 @@ depends_lib-append port:apache2 \
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

@@ -44,11 +46,13 @@ post-destroot {
}
}

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
"
}

0 comments on commit 152fb2c

Please sign in to comment.
You can’t perform that action at this time.