1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
- Revised some informational messages in pkg-plist for clarity

PR:		ports/152094 [1]
Submitted by:	Carlo Strub <c-s at c-s dot li>
This commit is contained in:
Greg Larkin 2010-11-12 00:30:55 +00:00
parent c83521821c
commit a16c4bc30b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=264425
3 changed files with 8 additions and 8 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= hiawatha
PORTVERSION= 7.3
PORTREVISION= 1
PORTVERSION= 7.4
CATEGORIES= www
MASTER_SITES= http://www.hiawatha-webserver.org/files/ \
http://www.c-s.li/ports/
@ -42,6 +41,8 @@ OPTIONS= COMMAND "Enable the Hiawatha CommandChannel" Off \
TOOLKIT "Enable URL Toolkit" On \
XSLT "XSLT support" On
PLIST_SUB+= ECHO_MSG=${ECHO_MSG}
.include <bsd.port.pre.mk>
.if defined(WITH_COMMAND)

View File

@ -1,3 +1,2 @@
MD5 (hiawatha-7.3.tar.gz) = 0a16d97a51ac8bc3559f165cb6ce97e9
SHA256 (hiawatha-7.3.tar.gz) = 43453ffa1a8beffe4b5cb9bec9720704294235b5962aaae1d6ba22d8df44858f
SIZE (hiawatha-7.3.tar.gz) = 273120
SHA256 (hiawatha-7.4.tar.gz) = 71e8935926e91632c0e601520f1b60c20dc961e085c692454018c6ac86ab58d2
SIZE (hiawatha-7.4.tar.gz) = 274169

View File

@ -17,9 +17,9 @@ sbin/wigwam
@unexec if cmp -s %D/etc/hiawatha/php-fcgi.conf.sample %D/etc/hiawatha/php-fcgi.conf ; then rm -f %D/etc/hiawatha/php-fcgi.conf; fi
%%ETCDIR%%/php-fcgi.conf.sample
@exec if [ ! -f %D/etc/hiawatha/php-fcgi.conf ] ; then cp -p %D/%F %%ETCDIR%%/php-fcgi.conf; fi
@unexec t=`/bin/ls %D/etc/hiawatha`; if [ -z "$t" ]; then echo "Configuration directory is empty, remove it."; rmdir %D/etc/hiawatha; fi;
@unexec t=`/bin/ls /var/log/hiawatha`; if [ -z "$t" ]; then echo "Log directory is empty, remove it."; rmdir /var/log/hiawatha; fi;
@unexec t=`/bin/ls %D/etc/hiawatha`; if [ -z "$t" ]; then %%ECHO_MSG%% "===> Configuration directory is empty, removing it."; rmdir %D/etc/hiawatha; fi;
@unexec t=`/bin/ls /var/log/hiawatha`; if [ -z "$t" ]; then %%ECHO_MSG%% "===> Log directory is empty, removing it."; rmdir /var/log/hiawatha; fi;
@unexec if cmp -s %D/www/hiawatha/index.html %D/www/hiawatha/index.hiawatha.html ; then rm -f %D/www/hiawatha/index.html; fi
%%WWWDIR%%/index.hiawatha.html
@exec if [ ! -f %D/www/hiawatha/index.html ] ; then cp -p %D/%F %%WWWDIR%%/index.html; fi
@unexec t=`/bin/ls %D/www/hiawatha`; if [ -z "$t" ]; then echo "WWW directory is empty, remove it."; rmdir %D/www/hiawatha; fi;
@unexec t=`/bin/ls %D/www/hiawatha`; if [ -z "$t" ]; then %%ECHO_MSG%% "===> WWW directory is empty, removing it."; rmdir %D/www/hiawatha; fi;