aboutsummaryrefslogtreecommitdiff
path: root/irc/infobot/pkg-plist
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2013-12-09 02:43:37 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2013-12-09 02:43:37 +0000
commit7d8c1f3a9b7fa45dd15aaad3454b809f15f58691 (patch)
treed5319700d81d19bc29543590cd40099e1ebfdf09 /irc/infobot/pkg-plist
parent6507f2bc7a94b16786f9734e5c2a7c1a211316dd (diff)
downloadports-7d8c1f3a9b7fa45dd15aaad3454b809f15f58691.tar.gz
ports-7d8c1f3a9b7fa45dd15aaad3454b809f15f58691.zip
Notes
Diffstat (limited to 'irc/infobot/pkg-plist')
-rw-r--r--irc/infobot/pkg-plist37
1 files changed, 20 insertions, 17 deletions
diff --git a/irc/infobot/pkg-plist b/irc/infobot/pkg-plist
index e676a5491076..dc819e5b511c 100644
--- a/irc/infobot/pkg-plist
+++ b/irc/infobot/pkg-plist
@@ -1,18 +1,21 @@
bin/infobot
-etc/infobot/infobot-are.txt
-etc/infobot/infobot-is.txt
-etc/infobot/infobot.channels
-@unexec if cmp -s %D/etc/infobot/infobot.config %D/etc/infobot/infobot.config-dist; then rm -f %D/etc/infobot/infobot.config; fi
-etc/infobot/infobot.config-dist
-etc/infobot/infobot.crontab
-@unexec if cmp -s %D/etc/infobot/infobot.help %D/etc/infobot/infobot.help-dist; then rm -f %D/etc/infobot/infobot.help; fi
-etc/infobot/infobot.help-dist
-@unexec if cmp -s %D/etc/infobot/infobot.users %D/etc/infobot/infobot.users-dist; then rm -f %D/etc/infobot/infobot.users; fi
-etc/infobot/infobot.users-dist
-etc/infobot/magic8.txt
-etc/infobot/sane-are.txt
-etc/infobot/sane-ignore.txt
-etc/infobot/sane-is.txt
+%%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
+%%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
+%%ETCDIR%%/magic8.txt
+%%ETCDIR%%/sane-are.txt
+%%ETCDIR%%/sane-ignore.txt
+%%ETCDIR%%/sane-is.txt
%%DATADIR%%/extras/ANSI.pl
%%DATADIR%%/extras/Aviation.pl
%%DATADIR%%/extras/DNS.pl
@@ -77,6 +80,6 @@ etc/infobot/sane-is.txt
@dirrm %%DATADIR%%/extras
@dirrm %%DATADIR%%/files
@dirrm %%DATADIR%%/scripts
-@dirrmtry etc/infobot
-@dirrmtry share/infobot/src
-@dirrmtry share/infobot
+@dirrmtry %%DATADIR%%/src
+@dirrmtry %%DATADIR%%
+@dirrmtry %%ETCDIR%%