<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[129390] trunk/dports/perl/p5-cgi-speedycgi/Portfile</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/129390">129390</a></dd>
<dt>Author</dt> <dd>mojca@macports.org</dd>
<dt>Date</dt> <dd>2014-12-12 06:44:36 -0800 (Fri, 12 Dec 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>p5-cgi-speedycgi: whitespace, status line and checksums only</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsperlp5cgispeedycgiPortfile">trunk/dports/perl/p5-cgi-speedycgi/Portfile</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsperlp5cgispeedycgiPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/perl/p5-cgi-speedycgi/Portfile (129389 => 129390)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/perl/p5-cgi-speedycgi/Portfile        2014-12-12 14:20:24 UTC (rev 129389)
+++ trunk/dports/perl/p5-cgi-speedycgi/Portfile        2014-12-12 14:44:36 UTC (rev 129390)
</span><span class="lines">@@ -1,74 +1,77 @@
</span><ins>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</ins><span class="cx"> # $Id$
</span><span class="cx">
</span><del>-PortSystem 1.0
-PortGroup perl5 1.0
</del><ins>+PortSystem 1.0
+PortGroup perl5 1.0
</ins><span class="cx">
</span><del>-perl5.branches 5.10 5.12 5.14 5.16
-perl5.setup CGI-SpeedyCGI 2.22
-revision                         12
-license GPL-2+
-maintainers nomaintainer
-description Speed up perl CGI scripts by running them persistently
-long_description SpeedyCGI is a way to run perl scripts persistently, \
-                                which can make them run much more quickly. A script \
-                                can be made to to run persistently by changing the \
-                                interpreter line at the top of a script from: \
-                                 '#!/_prefix_/bin/perl' to '#!/_prefix_/bin/speedy'
</del><ins>+perl5.branches 5.10 5.12 5.14 5.16
+perl5.setup CGI-SpeedyCGI 2.22
+revision 12
+license GPL-2+
+maintainers nomaintainer
+description Speed up perl CGI scripts by running them persistently
+long_description SpeedyCGI is a way to run perl scripts persistently, \
+ which can make them run much more quickly. A script \
+ can be made to to run persistently by changing the \
+ interpreter line at the top of a script from: \
+ '#!/_prefix_/bin/perl' to '#!/_prefix_/bin/speedy'
</ins><span class="cx">
</span><del>-platforms darwin
-checksums md5 2f80df78874e3efa80f180923c4967a1
-use_parallel_build no
</del><ins>+platforms darwin
+use_parallel_build no
</ins><span class="cx">
</span><ins>+checksums rmd160 90bc10281f4380d6d9e3b376ce385567fb3d165d \
+ sha256 9021a5c6d8ed205422f091209addf7d1be27222adbcbd17bc52fbc527bcc6f98
+
</ins><span class="cx"> if {${perl5.major} != ""} {
</span><del>-patchfiles                        patch-Makefile.PL \
-                                patch-mod_speedycgi2.c \
-                                patch-src-SpeedyMake.pl \
-                                patch-src_speedy_main.c \
-                                patch-mod_speedycgi-Makefile.tmpl \
-                                patch-src-speedy_perl.h \
-                                patch-src-speedy_backend_main.h \
-                                patch-src-speedy_perl.c
</del><ins>+ patchfiles-append \
+ patch-Makefile.PL \
+ patch-mod_speedycgi2.c \
+ patch-src-SpeedyMake.pl \
+ patch-src_speedy_main.c \
+ patch-mod_speedycgi-Makefile.tmpl \
+ patch-src-speedy_perl.h \
+ patch-src-speedy_backend_main.h \
+ patch-src-speedy_perl.c
</ins><span class="cx">
</span><del>-depends_lib-append                        port:apache2
</del><ins>+ depends_lib-append \
+ port:apache2
</ins><span class="cx">
</span><del>-variant apple_apache description {Configures SpeedyCGI to use Apple's built-in Apache instead of MacPorts Apache} {
-        depends_lib-delete        port:apache2
-        patchfiles-delete        patch-mod_speedycgi-Makefile.tmpl
-}
</del><ins>+ variant apple_apache description {Configures SpeedyCGI to use Apple's built-in Apache instead of MacPorts Apache} {
+ depends_lib-delete port:apache2
+ patchfiles-delete patch-mod_speedycgi-Makefile.tmpl
+ }
</ins><span class="cx">
</span><del>-post-patch {
-if { [variant_isset apple_apache]} {
-# Do nothing
</del><ins>+ post-patch {
+ if {[variant_isset apple_apache]} {
+ # Do nothing
+ } else {
+ # Patch for MacPorts Apache 2
+ reinplace "s|apxs -q|${prefix}/apache2/bin/apxs -q|g" \
+ ${worksrcpath}/src/SpeedyMake.pl \
+ ${worksrcpath}/Makefile.PL
</ins><span class="cx">
</span><del>-} else {
-# Patch for MacPorts Apache 2
-        reinplace "s|apxs -q|${prefix}/apache2/bin/apxs -q|g" \
-                ${worksrcpath}/src/SpeedyMake.pl \
-                ${worksrcpath}/Makefile.PL
</del><ins>+ reinplace "s|__PREFIX__|${prefix}|g" \
+ ${worksrcpath}/mod_speedycgi/Makefile.tmpl
+ }
+ }
</ins><span class="cx">
</span><del>-        reinplace "s|__PREFIX__|${prefix}|g" \
-                ${worksrcpath}/mod_speedycgi/Makefile.tmpl \
-        }
-}
</del><ins>+ post-destroot {
+ xinstall -m 4755 ${worksrcpath}/speedy/speedy ${destroot}${prefix}/bin/speedy_suidperl
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/speedycgi
+ eval xinstall -m 644 [glob ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/speedycgi
+ xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/speedycgi
</ins><span class="cx">
</span><del>-post-destroot {
-        xinstall -m 4755 ${worksrcpath}/speedy/speedy ${destroot}${prefix}/bin/speedy_suidperl
-        xinstall -m 755 -d ${destroot}${prefix}/share/doc/speedycgi
-        eval xinstall -m 644 [glob ${worksrcpath}/docs/*] ${destroot}${prefix}/share/doc/speedycgi
-        xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/speedycgi
-
-if { [variant_isset apple_apache]} {
-# Install module for Apple's Apache outside of ${prefix} and let user copy it.
-        xinstall -m 644 ${worksrcpath}/mod_speedycgi2/mod_speedycgi.so ${destroot}${prefix}/share/doc/speedycgi
-
-} else {
-# Install module for MacPorts Apache2
-        xinstall -m 755 -d ${destroot}${prefix}/apache2/modules
-        xinstall -m 644 ${worksrcpath}/mod_speedycgi2/.libs/mod_speedycgi.so \
-                ${destroot}${prefix}/apache2/modules
-        }
</del><ins>+ if { [variant_isset apple_apache]} {
+ # Install module for Apple's Apache outside of ${prefix} and let user copy it.
+ xinstall -m 644 ${worksrcpath}/mod_speedycgi2/mod_speedycgi.so ${destroot}${prefix}/share/doc/speedycgi
+ } else {
+ # Install module for MacPorts Apache2
+ xinstall -m 755 -d ${destroot}${prefix}/apache2/modules
+ xinstall -m 644 ${worksrcpath}/mod_speedycgi2/.libs/mod_speedycgi.so \
+ ${destroot}${prefix}/apache2/modules
+ }
+ }
</ins><span class="cx"> }
</span><del>-}
</del><span class="cx">
</span><span class="cx"> notes \
</span><span class="cx"> "#### To complete SpeedyCGI installation for MacPorts Apache2 (default install) ####
</span><span class="lines">@@ -84,7 +87,7 @@
</span><span class="cx">
</span><span class="cx">
</span><span class="cx"> #### To complete SpeedyCGI installation for Apple's Apache2 (+apple_apache variant) ####
</span><del>-
</del><ins>+
</ins><span class="cx"> Copy mod_speedycgi.so and enable it in httpd.conf
</span><span class="cx">
</span><span class="cx"> -Copy ${prefix}/share/doc/speedycgi/mod_speedycgi.so to /usr/libexec/apache2
</span><span class="lines">@@ -98,5 +101,4 @@
</span><span class="cx"> From: HTTPD='/usr/sbin/httpd'
</span><span class="cx"> To: HTTPD='arch -ppc /usr/sbin/httpd'
</span><span class="cx">
</span><del>-
</del><span class="cx"> See ${prefix}/share/doc/speedycgi/README for further details."
</span></span></pre>
</div>
</div>
</body>
</html>