freebsd-ports/databases/gnats4/pkg-plist
Edwin Groothuis 913a5a5cba Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 01:29:46 +00:00

47 lines
1.6 KiB
Text

@comment $FreeBSD$
bin/edit-pr
bin/getclose
bin/install-sid
bin/query-pr
bin/send-pr
%%SERVER%%@unexec if cmp -s %D/etc/gnats/databases %D/etc/gnats/databases.default; then rm -f %D/etc/gnats/databases; fi
%%SERVER%%etc/gnats/databases.default
%%SERVER%%@exec [ -f %B/databases ] || cp %B/%f %B/databases
%%SERVER%%@unexec if cmp -s %D/etc/gnats/gnatsd.host_access %D/etc/gnats/gnatsd.host_access.default; then rm -f %D/etc/gnats/gnatsd.host_access; fi
%%SERVER%%etc/gnats/gnatsd.host_access.default
%%SERVER%%@exec [ -f %B/gnatsd.host_access ] || cp %B/%f %B/gnatsd.host_access
etc/gnats/defaults/addresses
etc/gnats/defaults/categories
etc/gnats/defaults/classes
etc/gnats/defaults/dbconfig
etc/gnats/defaults/gnatsd.user_access
etc/gnats/defaults/responsible
etc/gnats/defaults/states
etc/gnats/defaults/submitters
etc/gnats/send-pr.conf
@dirrm etc/gnats/defaults
@dirrmtry etc/gnats
%%SERVER%%libexec/gnats/at-pr
%%SERVER%%libexec/gnats/check-db
%%SERVER%%libexec/gnats/delete-pr
libexec/gnats/diff-prs
libexec/gnats/file-pr
%%SERVER%%libexec/gnats/gen-index
%%SERVER%%libexec/gnats/gnats-pwconv
%%SERVER%%libexec/gnats/gnatsd
libexec/gnats/mail-agent
%%SERVER%%libexec/gnats/mail-query
%%SERVER%%libexec/gnats/mkcat
%%SERVER%%libexec/gnats/mkdb
libexec/gnats/pr-age
libexec/gnats/pr-edit
%%SERVER%%libexec/gnats/queue-pr
%%SERVER%%libexec/gnats/rmcat
@dirrm libexec/gnats
@exec mkdir -p %%GNATSDBDIR%%
@exec chown gnats %%GNATSDBDIR%%
@unexec rmdir %%GNATSDBDIR%% 2>/dev/null || true
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/UPGRADING
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%EMACS_SITE_LISPDIR%%/gnats.el