diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-12-22 08:56:09 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-12-22 08:56:09 +0000 |
commit | d802cb32bb502985e2b2f2360e665d4c5a5bb90c (patch) | |
tree | c33c4e98861c5f50bff3ae4b3c50b04e386a8d92 /security/libprelude/Makefile | |
parent | 364c61e6893549c6de8024393fd8abe11ec14521 (diff) |
- Added post installment for configuration files
- Bump PORTREVISION
PR: ports/107079
Submitted by: Robin Gruyters <r.gruyters@yirdis.nl> (maintainer)
Notes
Notes:
svn path=/head/; revision=180468
Diffstat (limited to 'security/libprelude/Makefile')
-rw-r--r-- | security/libprelude/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile index 2398e178d373..40d03fb9c029 100644 --- a/security/libprelude/Makefile +++ b/security/libprelude/Makefile @@ -5,6 +5,7 @@ PORTNAME= libprelude PORTVERSION= 0.9.12 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://www.prelude-ids.org/download/releases/ \ http://www.prelude-ids.org/download/releases/old/ @@ -52,6 +53,27 @@ CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc post-install: @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/api/html/* ${DOCSDIR} + + @if [ ! -f ${PREFIX}/etc/prelude/default/client.conf ]; then \ + ${CP} -p ${PREFIX}/etc/prelude/default/client.conf-dist \ + ${PREFIX}/etc/prelude/default/client.conf ; \ + fi + + @if [ ! -f ${PREFIX}/etc/prelude/default/global.conf ]; then \ + ${CP} -p ${PREFIX}/etc/prelude/default/global.conf-dist \ + ${PREFIX}/etc/prelude/default/global.conf ; \ + fi + + @if [ ! -f ${PREFIX}/etc/prelude/default/idmef-client.conf ]; then \ + ${CP} -p ${PREFIX}/etc/prelude/default/idmef-client.conf-dist \ + ${PREFIX}/etc/prelude/default/idmef-client.conf ; \ + fi + + @if [ ! -f ${PREFIX}/etc/prelude/default/tls.conf ]; then \ + ${CP} -p ${PREFIX}/etc/prelude/default/tls.conf-dist \ + ${PREFIX}/etc/prelude/default/tls.conf ; \ + fi + .endif .include <bsd.port.post.mk> |