diff options
Diffstat (limited to 'packaging/freebsd')
-rw-r--r-- | packaging/freebsd/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/freebsd/Makefile b/packaging/freebsd/Makefile index 82e3bf8..1381ba4 100644 --- a/packaging/freebsd/Makefile +++ b/packaging/freebsd/Makefile @@ -31,4 +31,12 @@ MANCOMPRESSED= yes MAKE_ARGS= ETCPREFIX=/usr/local MANPREFIX=/usr/local/man ETCSUFFIX=.sample +post-install: + @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere.conf ]; then \ + ${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere.conf ; \ + fi + @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere-server.conf ]; then \ + ${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere-server.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere-server.conf ; \ + fi + .include <bsd.port.mk> |