aboutsummaryrefslogtreecommitdiff
path: root/irc/inspircd
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-05-24 13:45:49 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-05-24 13:45:49 +0000
commit86988b93ee27dbef86d8928df324f8d4f9a3a20e (patch)
treef32ecfd9b56e5923ba647e1e0c7fff6556bd287f /irc/inspircd
parent7458217cdaf452d6755087299521bdac0b51a34f (diff)
downloadports-86988b93ee27dbef86d8928df324f8d4f9a3a20e.tar.gz
ports-86988b93ee27dbef86d8928df324f8d4f9a3a20e.zip
Simplify plist by using @sample
Approved by: feld (maintainer)
Notes
Notes: svn path=/head/; revision=415788
Diffstat (limited to 'irc/inspircd')
-rw-r--r--irc/inspircd/pkg-plist39
1 files changed, 13 insertions, 26 deletions
diff --git a/irc/inspircd/pkg-plist b/irc/inspircd/pkg-plist
index de8a713e74f2..964b18190db7 100644
--- a/irc/inspircd/pkg-plist
+++ b/irc/inspircd/pkg-plist
@@ -1,20 +1,20 @@
bin/inspircd
%%ETCDIR%%/examples/aliases/anope.conf.example
%%ETCDIR%%/examples/aliases/atheme.conf.example
-%%ETCDIR%%/examples/censor.conf.example
-%%ETCDIR%%/examples/filter.conf.example
-%%ETCDIR%%/examples/helpop-full.conf.example
-%%ETCDIR%%/examples/helpop.conf.example
-%%ETCDIR%%/examples/inspircd.conf.example
-%%ETCDIR%%/examples/links.conf.example
-%%ETCDIR%%/examples/modules.conf.example
+@sample %%ETCDIR%%/examples/censor.conf.example %%ETCDIR%%/censor.conf
+@sample %%ETCDIR%%/examples/filter.conf.example %%ETCDIR%%/filter.conf
+@sample %%ETCDIR%%/examples/helpop-full.conf.example %%ETCDIR%%/helpop-full.conf
+@sample %%ETCDIR%%/examples/helpop.conf.example %%ETCDIR%%/helpop.conf
+@sample %%ETCDIR%%/examples/inspircd.conf.example %%ETCDIR%%/inspircd.conf
+@sample %%ETCDIR%%/examples/links.conf.example %%ETCDIR%%/links.conf
+@sample %%ETCDIR%%/examples/modules.conf.example %%ETCDIR%%/modules.conf
%%ETCDIR%%/examples/modules/charybdis.conf.example
%%ETCDIR%%/examples/modules/unrealircd.conf.example
-%%ETCDIR%%/examples/motd.txt.example
-%%ETCDIR%%/examples/opermotd.txt.example
-%%ETCDIR%%/examples/opers.conf.example
-%%ETCDIR%%/examples/quotes.txt.example
-%%ETCDIR%%/examples/rules.txt.example
+@sample %%ETCDIR%%/examples/motd.txt.example %%ETCDIR%%/motd.txt
+@sample %%ETCDIR%%/examples/opermotd.txt.example %%ETCDIR%%/opermotd.txt
+@sample %%ETCDIR%%/examples/opers.conf.example %%ETCDIR%%/opers.conf
+@sample %%ETCDIR%%/examples/quotes.txt.example %%ETCDIR%%/quotes.txt
+@sample %%ETCDIR%%/examples/rules.txt.example %%ETCDIR%%/rules.txt
lib/inspircd/.gdbargs
lib/inspircd/inspircd
lib/inspircd/modules/cmd_admin.so
@@ -225,17 +225,4 @@ lib/inspircd/modules/m_watch.so
lib/inspircd/modules/m_xline_db.so
@dir lib/inspircd/data
@dir lib/inspircd/logs
-@unexec if cmp -s %D/%%ETCDIR%%/examples/censor.conf.example %D/%%ETCDIR%%/censor.conf; then rm -f %D/%%ETCDIR%%/censor.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/examples/filter.conf.example %D/%%ETCDIR%%/filter.conf; then rm -f %D/%%ETCDIR%%/filter.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/examples/helpop-full.conf.example %D/%%ETCDIR%%/helpop-full.conf; then rm -f %D/%%ETCDIR%%/helpop-full.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/examples/helpop.conf.example %D/%%ETCDIR%%/helpop.conf; then rm -f %D/%%ETCDIR%%/helpop.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/examples/inspircd.conf.example %D/%%ETCDIR%%/inspircd.conf; then rm -f %D/%%ETCDIR%%/inspircd.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/examples/links.conf.example %D/%%ETCDIR%%/links.conf; then rm -f %D/%%ETCDIR%%/links.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/examples/modules.conf.example %D/%%ETCDIR%%/modules.conf; then rm -f %D/%%ETCDIR%%/modules.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/examples/motd.txt.example %D/%%ETCDIR%%/motd.txt; then rm -f %D/%%ETCDIR%%/motd.txt; fi
-@unexec if cmp -s %D/%%ETCDIR%%/examples/opermotd.txt.example %D/%%ETCDIR%%/opermotd.txt; then rm -f %D/%%ETCDIR%%/opermotd.txt; fi
-@unexec if cmp -s %D/%%ETCDIR%%/examples/opers.conf.example %D/%%ETCDIR%%/opers.conf; then rm -f %D/%%ETCDIR%%/opers.conf; fi
-@unexec if cmp -s %D/%%ETCDIR%%/examples/quotes.txt.example %D/%%ETCDIR%%/quotes.txt; then rm -f %D/%%ETCDIR%%/quotes.txt; fi
-@unexec if cmp -s %D/%%ETCDIR%%/examples/rules.txt.example %D/%%ETCDIR%%/rules.txt; then rm -f %D/%%ETCDIR%%/rules.txt; fi
-@unexec echo "If permanently removing software, you may wish to remove the configuration directory by running \"rm -rf %%LOCALBASE%%/%%ETCDIR%%\""
-@exec for FILE in censor.conf filter.conf helpop-full.conf helpop.conf inspircd.conf links.conf modules.conf motd.txt opermotd.txt opers.conf quotes.txt rules.txt; do if [ ! -f %D/%%ETCDIR%%/${FILE} ]; then install %D/%%ETCDIR%%/examples/${FILE}.example %D/%%ETCDIR%%/${FILE}; fi; done
+@postunexec echo "If permanently removing software, you may wish to remove the configuration directory by running \"rm -rf %%PREFIX%%/%%ETCDIR%%\""