aboutsummaryrefslogtreecommitdiff
path: root/www/mod_pagespeed/pkg-plist
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2011-10-08 21:13:18 +0000
committerSteve Wills <swills@FreeBSD.org>2011-10-08 21:13:18 +0000
commitf5d41ab53dd669bc4bafe73be5e01177feb3bc5d (patch)
tree51644ceeb64366163576eb4f040b42f1e293b966 /www/mod_pagespeed/pkg-plist
parent81342d6f7566e9ef28f6bb58fc23538d4ae6f056 (diff)
downloadports-f5d41ab53dd669bc4bafe73be5e01177feb3bc5d.tar.gz
ports-f5d41ab53dd669bc4bafe73be5e01177feb3bc5d.zip
Notes
Diffstat (limited to 'www/mod_pagespeed/pkg-plist')
-rw-r--r--www/mod_pagespeed/pkg-plist9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/mod_pagespeed/pkg-plist b/www/mod_pagespeed/pkg-plist
new file mode 100644
index 000000000000..9d0e18e4355f
--- /dev/null
+++ b/www/mod_pagespeed/pkg-plist
@@ -0,0 +1,9 @@
+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