1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/mail/sgwi/pkg-plist
Rene Ladan 5c1d26756b - Stage support
- Add a second MASTER_SITE
- Suffix patch and resulting files for .htaccess and .htpasswd with ".sample"

PR:		ports/187798
Submitted by:	Lukasz Wasikowski <lukasz@wasikowski.net> (maintainer)
2014-04-06 15:15:52 +00:00

25 lines
1.1 KiB
Plaintext

@unexec if cmp -s %D/www/sgwi/.htaccess %D/www/sgwi/.htaccess.sample; then rm -f %D/www/sgwi/.htaccess; fi
www/sgwi/.htaccess.sample
@exec [ -f %B/.htaccess ] || cp %B/%f %B/.htaccess
@unexec if cmp -s %D/www/sgwi/.htpasswd %D/www/sgwi/.htpasswd.sample; then rm -f %D/www/sgwi/.htpasswd; fi
www/sgwi/.htpasswd.sample
@exec [ -f %B/.htpasswd ] || cp %B/%f %B/.htpasswd
www/sgwi/awl.php
www/sgwi/connect.php
www/sgwi/includes/awl.inc.php
@exec [ -f %D/www/sgwi/config.inc.php ] && mv -f %D/www/sgwi/config.inc.php %D/www/sgwi/includes/config.inc.php
@unexec if cmp -s %D/www/sgwi/includes/config.inc.php %D/www/sgwi/includes/config.inc.php.sample; then rm -f %D/www/sgwi/includes/config.inc.php; fi
www/sgwi/includes/config.inc.php.sample
@exec [ -f %B/config.inc.php ] || cp %B/%f %B/config.inc.php
www/sgwi/includes/connect.inc.php
www/sgwi/includes/copyright.inc.php
www/sgwi/includes/functions.inc.php
www/sgwi/includes/opt_in_out.inc.php
www/sgwi/index.php
www/sgwi/license.txt
www/sgwi/main.css
www/sgwi/opt_in_out.php
www/sgwi/readme.txt
@dirrm www/sgwi/includes
@dirrm www/sgwi