freebsd-ports/www/mod_pagespeed/pkg-plist
Steve Wills f5d41ab53d mod_pagespeed is an open-source Apache module that automatically optimizes web
pages and resources on them. It does this by rewriting the resources using
filters that implement web performance best practices. Webmasters and web
developers can use mod_pagespeed to improve the performance of their web pages
when serving content with the Apache HTTP Server.

WWW:	http://code.google.com/speed/page-speed/docs/module.html
2011-10-08 21:13:18 +00:00

9 lines
544 B
Text

libexec/apache22/mod_pagespeed.so
@unexec if cmp -s %D/etc/apache22/pagespeed.conf %D/etc/apache22/pagespeed.conf-dist; then rm -f %D/etc/apache22/pagespeed.conf; fi
etc/apache22/pagespeed.conf-dist
@exec [ ! -f %B/pagespeed.conf ] && cp %B/pagespeed.conf-dist %B/pagespeed.conf
@exec install -d -o %%WWWOWN%% -g %%WWWGRP%% -m 755 /var/mod_pagespeed/cache
@exec install -d -o %%WWWOWN%% -g %%WWWGRP%% -m 755 /var/mod_pagespeed/files
@unexec rmdir /var/mod_pagespeed/cache
@unexec rmdir /var/mod_pagespeed/files
@unexec rmdir /var/mod_pagespeed