1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/irc/ircd-ru/pkg-plist
Chris Rees 049a426023 - Use USERS and GROUPS
- Stop clobbering kline.conf on deinstall
- Use %%ETCDIR%%
- Use @dirrmtry

PR:		ports/157581
Submitted by:	Chris Rees <utisoft@gmail.com> (me)
Approved by:	rene (mentor), maintainer
2011-06-28 18:44:05 +00:00

33 lines
1.1 KiB
Plaintext

sbin/ircd
bin/ircdpasswd
%%ETCDIR%%/ircd.conf-dist
%%ETCDIR%%/ircd.motd-dist
%%ETCDIR%%/ircd.smotd-dist
@unexec [ -s %D/%%ETCDIR%%/kline.conf ] || rm -f %D/%%ETCDIR%%/kline.conf
@exec [ -f %D/%%ETCDIR%%/kline.conf ] || touch %D/%%ETCDIR%%/kline.conf
%%ETCDIR%%/ru_RU.CP1251/ircd.motd-dist
%%ETCDIR%%/ru_RU.CP1251/ircd.smotd-dist
%%ETCDIR%%/ru_RU.KOI8-R/ircd.conf-dist
%%PORTDOCS%%%%DOCSDIR%%/README.Ilines
%%PORTDOCS%%%%DOCSDIR%%/opers.txt
%%PORTDOCS%%%%DOCSDIR%%/ru_RU.KOI8-R/FAQ
%%PORTDOCS%%%%DOCSDIR%%/ru_RU.KOI8-R/README
%%DATADIR%%/codepages/cp1251.cp
%%DATADIR%%/codepages/cp866.cp
%%DATADIR%%/codepages/iso8859-5.cp
%%DATADIR%%/codepages/koi8-f.cp
%%DATADIR%%/codepages/koi8-r.cp
%%DATADIR%%/codepages/translit.cp
@dirrm %%ETCDIR%%/ru_RU.CP1251
@dirrm %%ETCDIR%%/ru_RU.KOI8-R
@dirrm %%DATADIR%%/codepages
@dirrm %%DATADIR%%/modules
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/ru_RU.KOI8-R
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@exec mkdir -m 755 %%VARDIR%%/log/ircd-ru
@exec chown ircd:ircd %%VARDIR%%/log/ircd-ru
@unexec rmdir %%VARDIR%%/log/ircd-ru
@unexec rmdir %%VARDIR%%/run/ircd-ru
@dirrmtry %%ETCDIR%%