- Switch to @sample; also fixes config removal on deinstall due to incorrect @unexec command

MFH:		2015Q3 (blanket)
This commit is contained in:
Dmitry Marakasov 2015-08-28 14:35:25 +00:00
parent 2fe58ec368
commit 940c2f66d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395488
2 changed files with 2 additions and 4 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= gnatsweb
PORTVERSION= 4.00
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= databases devel www
MASTER_SITES= GNU

View File

@ -1,6 +1,4 @@
@unexec if cmp -s %D/%%ETCDIR%%/gnatsweb-site.pl.sample %D/%%ETCDIR%%/gnatsweb-site.pl.sample; then rm -f %D/%%ETCDIR%%/gnatsweb-site.pl; fi
%%ETCDIR%%/gnatsweb-site.pl.sample
@exec [ -f %B/gnatsweb-site.pl ] || cp %B/%f %B/gnatsweb-site.pl
@sample %%ETCDIR%%/gnatsweb-site.pl.sample
%%CGI_DIR%%/gnatsweb.pl
%%CGI_DIR%%/gnatsweb-site.pl
%%CGI_DIR%%/gnatsweb.html