freebsd-ports/ftp/proma/pkg-plist
Philip M. Gollucci 0948f98e86 - convert to USE_APACHE/USE_MYSQL/USE_PHP
- install -> mkdir
- move perms to post-install
- Cleanup config.php.inc and -example handling

PR:             ports/134452
Approved by:    maintainer timeout (2 weeks)
Submitted by:   me
2009-05-25 22:47:49 +00:00

15 lines
572 B
Text

@unexec if cmp %B/%%WWWDIR%%/config.inc.php-example %B/%%WWWDIR%%/config.inc.php; then rm -f %B/%%WWWDIR%%/config.inc.php; fi
@exec if [ ! -f %B/%%WWWDIR%%/config.inc.php ] ; then cp -p %D/%F %B/config.inc.php; fi
%%WWWDIR%%/config.inc.php-example
%%WWWDIR%%/index.php
%%WWWDIR%%/style.css
%%WWWDIR%%/libs/admin.lib.php
%%WWWDIR%%/libs/auth.lib.php
%%WWWDIR%%/libs/common.lib.php
%%WWWDIR%%/pages/admin.inc.php
%%WWWDIR%%/pages/change.inc.php
%%WWWDIR%%/pages/main.inc.php
%%WWWDIR%%/pages/register.inc.php
@dirrm %%WWWDIR%%/pages
@dirrm %%WWWDIR%%/libs
@dirrm %%WWWDIR%%