mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
07a70186d5
- Use variables in plist so we don't break with apache 2.4
10 lines
560 B
Plaintext
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
|