aboutsummaryrefslogtreecommitdiff
path: root/irc/infobot
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-01-18 22:51:19 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-01-18 22:51:19 +0000
commit103f7f87cb6d9a8d8c123b10cf53fd7517bbffb5 (patch)
treef0abb3040135a89fb254969943ba44f39e442eff /irc/infobot
parent765885d5999302d2721b98b87854122400ff6582 (diff)
downloadports-103f7f87cb6d9a8d8c123b10cf53fd7517bbffb5.tar.gz
ports-103f7f87cb6d9a8d8c123b10cf53fd7517bbffb5.zip
Use @sample
Notes
Notes: svn path=/head/; revision=406619
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