aboutsummaryrefslogtreecommitdiffstats
path: root/irc/infobot
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-01-19 06:51:19 +0800
committerbapt <bapt@FreeBSD.org>2016-01-19 06:51:19 +0800
commit8afb58c586469aadfa15545843e86d76d556e980 (patch)
treef0abb3040135a89fb254969943ba44f39e442eff /irc/infobot
parent85e8f3fa090cb78c2c3d34192586650c0dc9927e (diff)
downloadfreebsd-ports-gnome-8afb58c586469aadfa15545843e86d76d556e980.tar.gz
freebsd-ports-gnome-8afb58c586469aadfa15545843e86d76d556e980.tar.zst
freebsd-ports-gnome-8afb58c586469aadfa15545843e86d76d556e980.zip
Use @sample
Diffstat (limited to 'irc/infobot')
-rw-r--r--irc/infobot/Makefile2
-rw-r--r--irc/infobot/pkg-plist12
2 files changed, 4 insertions, 10 deletions
diff --git a/irc/infobot/Makefile b/irc/infobot/Makefile
index c9211fbe1cfe..0b0b3c703bca 100644
--- a/irc/infobot/Makefile
+++ b/irc/infobot/Makefile
@@ -3,7 +3,7 @@
PORTNAME= infobot
PORTVERSION= 0.45.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= irc
MASTER_SITES= http://www.infobot.org/src/ \
http://www.infobot.org/src/prior/
diff --git a/irc/infobot/pkg-plist b/irc/infobot/pkg-plist
index 605aed71f07c..f7062bf511e8 100644
--- a/irc/infobot/pkg-plist
+++ b/irc/infobot/pkg-plist
@@ -2,16 +2,10 @@ bin/infobot
%%ETCDIR%%/infobot-are.txt
%%ETCDIR%%/infobot-is.txt
%%ETCDIR%%/infobot.channels
-@unexec if cmp -s %D/%%ETCDIR%%/infobot.config %D/%%ETCDIR%%/infobot.config-dist; then rm -f %D/%%ETCDIR%%/infobot.config; fi
-%%ETCDIR%%/infobot.config-dist
-@exec if [ ! -f %D/%%ETCDIR%%/infobot.config ]; then cp -p %D/%F %B/infobot.config; fi
+@sample %%ETCDIR%%/infobot.config-dist %%ETCDIR%%/infobot.config
%%ETCDIR%%/infobot.crontab
-@unexec if cmp -s %D/%%ETCDIR%%/infobot.help %D/%%ETCDIR%%/infobot.help-dist; then rm -f %D/%%ETCDIR%%/infobot.help; fi
-%%ETCDIR%%/infobot.help-dist
-@exec if [ ! -f %D/%%ETCDIR%%/infobot.help ]; then cp -p %D/%F %B/infobot.help; fi
-@unexec if cmp -s %D/%%ETCDIR%%/infobot.users %D/%%ETCDIR%%/infobot.users-dist; then rm -f %D/%%ETCDIR%%/infobot.users; fi
-%%ETCDIR%%/infobot.users-dist
-@exec if [ ! -f %D/%%ETCDIR%%/infobot.users ]; then cp -p %D/%F %B/infobot.users; fi
+@sample %%ETCDIR%%/infobot.help-dist %%ETCDIR%%/infobot.help
+@sample %%ETCDIR%%/infobot.users-dist %%ETCDIR%%/infobot.users
%%ETCDIR%%/magic8.txt
%%ETCDIR%%/sane-are.txt
%%ETCDIR%%/sane-ignore.txt