svn commit: r406619 - head/irc/infobot

Baptiste Daroussin bapt at FreeBSD.org
Mon Jan 18 22:51:21 UTC 2016


Author: bapt
Date: Mon Jan 18 22:51:19 2016
New Revision: 406619
URL: https://svnweb.freebsd.org/changeset/ports/406619

Log:
  Use @sample

Modified:
  head/irc/infobot/Makefile
  head/irc/infobot/pkg-plist

Modified: head/irc/infobot/Makefile
==============================================================================
--- head/irc/infobot/Makefile	Mon Jan 18 22:51:17 2016	(r406618)
+++ head/irc/infobot/Makefile	Mon Jan 18 22:51:19 2016	(r406619)
@@ -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/

Modified: head/irc/infobot/pkg-plist
==============================================================================
--- head/irc/infobot/pkg-plist	Mon Jan 18 22:51:17 2016	(r406618)
+++ head/irc/infobot/pkg-plist	Mon Jan 18 22:51:19 2016	(r406619)
@@ -2,16 +2,10 @@ bin/infobot
 %%ETCDIR%%/infobot-are.txt
 %%ETCDIR%%/infobot-is.txt
 %%ETCDIR%%/infobot.channels
- at 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
- at exec if [ ! -f %D/%%ETCDIR%%/infobot.config ]; then cp -p %D/%F %B/infobot.config; fi
+ at sample %%ETCDIR%%/infobot.config-dist %%ETCDIR%%/infobot.config
 %%ETCDIR%%/infobot.crontab
- at 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
- at exec if [ ! -f %D/%%ETCDIR%%/infobot.help ]; then cp -p %D/%F %B/infobot.help; fi
- at 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
- at exec if [ ! -f %D/%%ETCDIR%%/infobot.users ]; then cp -p %D/%F %B/infobot.users; fi
+ at sample %%ETCDIR%%/infobot.help-dist %%ETCDIR%%/infobot.help
+ at sample %%ETCDIR%%/infobot.users-dist %%ETCDIR%%/infobot.users
 %%ETCDIR%%/magic8.txt
 %%ETCDIR%%/sane-are.txt
 %%ETCDIR%%/sane-ignore.txt


More information about the svn-ports-head mailing list