[77789] trunk/dports/perl/p5-cgi-speedycgi/Portfile
markd at macports.org
markd at macports.org
Tue Apr 12 16:18:29 PDT 2011
Revision: 77789
http://trac.macports.org/changeset/77789
Author: markd at macports.org
Date: 2011-04-12 16:18:29 -0700 (Tue, 12 Apr 2011)
Log Message:
-----------
User instruction changes. Convert ui_msg to notes.
Modified Paths:
--------------
trunk/dports/perl/p5-cgi-speedycgi/Portfile
Modified: trunk/dports/perl/p5-cgi-speedycgi/Portfile
===================================================================
--- trunk/dports/perl/p5-cgi-speedycgi/Portfile 2011-04-12 22:40:26 UTC (rev 77788)
+++ trunk/dports/perl/p5-cgi-speedycgi/Portfile 2011-04-12 23:18:29 UTC (rev 77789)
@@ -3,7 +3,7 @@
PortSystem 1.0
PortGroup perl5 1.0
perl5.setup CGI-SpeedyCGI 2.22
-revision 8
+revision 9
maintainers markd openmaintainer
description Speed up perl CGI scripts by running them persistently
long_description SpeedyCGI is a way to run perl scripts persistently, \
@@ -65,32 +65,27 @@
}
}
-post-activate {
-if { [variant_isset apple_apache]} {
+notes \
+"#### To complete SpeedyCGI installation for MacPorts Apache2 (default install) ####
-ui_msg "\n
-#### To complete SpeedyCGI installation ####
+Enable mod_speedycgi.so in httpd.conf
-Copy mod_speedycgi.so and enable it in httpd.conf
+-Edit MacPorts Apache 2 ${prefix}/apache2/conf/httpd.conf and add this line:
+ LoadModule speedycgi_module modules/mod_speedycgi.so
--Copy ${prefix}/share/doc/speedycgi/mod_speedycgi.so to /usr/libexec/apache2
--Edit Apple's Apache /etc/apache2/httpd.conf and add these lines.
- LoadModule speedycgi_module libexec/httpd/mod_speedycgi.so
- AddModule mod_speedycgi.c \n"
+See ${prefix}/share/doc/speedycgi/README for further details.
-} else {
-ui_msg "\n
-#### To complete SpeedyCGI installation ####
-Enable mod_speedycgi.so in httpd.conf
+#### To complete SpeedyCGI installation for Apple's Apache2 (+apple_apache variant) ####
+
+Copy mod_speedycgi.so and enable it in httpd.conf
--Edit MacPorts Apache 2 ${prefix}/apache2/conf/httpd.conf and add this line.
- LoadModule speedycgi_module modules/mod_speedycgi.so \n"
- }
+-Copy ${prefix}/share/doc/speedycgi/mod_speedycgi.so to /usr/libexec/apache2
-ui_msg "\n
-See ${prefix}/share/doc/speedycgi/README for further details.
-\n"
-}
+-Edit Apple's Apache /etc/apache2/httpd.conf and add this line:
+ LoadModule speedycgi_module libexec/apache2/mod_speedycgi.so
+
+
+See ${prefix}/share/doc/speedycgi/README for further details."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110412/ce2ffb9f/attachment.html>
More information about the macports-changes
mailing list