1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/www/mod_pagespeed/pkg-plist
Steve Wills 07a70186d5 - Try to fix build on older systems
- Use variables in plist so we don't break with apache 2.4
2012-02-10 21:34:15 +00:00

10 lines
560 B
Plaintext

%%APACHEMODDIR%%/mod_pagespeed.so
@unexec if cmp -s %D/%%APACHEETCDIR%%/pagespeed.conf %D/%%APACHEETCDIR%%/pagespeed.conf-dist; then rm -f %D/%%APACHEETCDIR%%/pagespeed.conf; fi
%%APACHEETCDIR%%/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