[88504] trunk/dports/www/nginx/Portfile

cal at macports.org cal at macports.org
Tue Jan 3 09:30:37 PST 2012


Revision: 88504
          http://trac.macports.org/changeset/88504
Author:   cal at macports.org
Date:     2012-01-03 09:30:32 -0800 (Tue, 03 Jan 2012)
Log Message:
-----------
nginx: Fix port tree violation, #32746

Modified Paths:
--------------
    trunk/dports/www/nginx/Portfile

Modified: trunk/dports/www/nginx/Portfile
===================================================================
--- trunk/dports/www/nginx/Portfile	2012-01-03 16:32:14 UTC (rev 88503)
+++ trunk/dports/www/nginx/Portfile	2012-01-03 17:30:32 UTC (rev 88504)
@@ -68,6 +68,8 @@
 set nginx_conf ${prefix}/etc/${name}/${name}.conf
 post-destroot {
     delete ${destroot}${nginx_conf}
+    file mkdir ${destroot}${prefix}/share/nginx
+    file rename ${destroot}${prefix}/html ${destroot}${prefix}/share/nginx
 }
 pre-activate {
     # Try to cover for the fact that, in earlier revisions of this port, the
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120103/963f69d0/attachment.html>


More information about the macports-changes mailing list