- Fix post installment for configuration files. (if not exists...)

- Bump PORTREVISION

PR:		ports/107080
Submitted by:	Robin Gruyters <r.gruyters@yirdis.nl> (maintainer)
This commit is contained in:
Martin Wilke 2006-12-22 08:51:41 +00:00
parent 9cfcf34128
commit 0f49a00b94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180466

View file

@ -6,6 +6,7 @@
PORTNAME= prelude-lml PORTNAME= prelude-lml
PORTVERSION= 0.9.8.1 PORTVERSION= 0.9.8.1
PORTREVISION= 1
CATEGORIES= security CATEGORIES= security
MASTER_SITES= http://www.prelude-ids.org/download/releases/ \ MASTER_SITES= http://www.prelude-ids.org/download/releases/ \
http://www.prelude-ids.org/download/releases/old/ http://www.prelude-ids.org/download/releases/old/
@ -34,11 +35,11 @@ CONFIGURE_ARGS+= --disable-fam
.endif .endif
post-install: post-install:
@if [ -f ${PREFIX}/etc/prelude-lml/prelude-lml.conf ]; then \ @if [ ! -f ${PREFIX}/etc/prelude-lml/prelude-lml.conf ]; then \
${CP} -p ${PREFIX}/etc/prelude-lml/prelude-lml.conf-dist \ ${CP} -p ${PREFIX}/etc/prelude-lml/prelude-lml.conf-dist \
${PREFIX}/etc/prelude-lml/prelude-lml.conf ; \ ${PREFIX}/etc/prelude-lml/prelude-lml.conf ; \
fi fi
@if [ -f ${PREFIX}/etc/prelude-lml/plugins.rules ]; then \ @if [ ! -f ${PREFIX}/etc/prelude-lml/plugins.rules ]; then \
${CP} -p ${PREFIX}/etc/prelude-lml/plugins.rules-dist \ ${CP} -p ${PREFIX}/etc/prelude-lml/plugins.rules-dist \
${PREFIX}/etc/prelude-lml/plugins.rules ; \ ${PREFIX}/etc/prelude-lml/plugins.rules ; \
fi fi