freebsd-ports/sysutils/penv/pkg-plist
Peter Pentchev 2d54a0b8b1 Create the database directory during install and remove it, if empty,
on uninstall.
penv.conf.default/penv.conf handling a'la Apache.
Bump PORTREVISION.

Submitted by:	olgeni
2001-09-12 08:11:34 +00:00

11 lines
413 B
Plaintext

bin/penv
@unexec if cmp -s %D/etc/penv.conf %D/etc/penv.conf.default; then rm -f %D/etc/penv.conf; fi
etc/penv.conf.default
@exec [ -f %B/penv.conf ] || cp %B/%f %B/penv.conf
%%PORTDOCS%%share/doc/penv/html/created.with.vim.gif
%%PORTDOCS%%share/doc/penv/html/index.html
%%PORTDOCS%%@dirrm share/doc/penv/html
%%PORTDOCS%%@dirrm share/doc/penv
@exec mkdir -p %%DBDIR%%
@unexec rmdir %%DBDIR%% 2>/dev/null || true