aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/py-prewikka/Makefile6
-rw-r--r--www/py-prewikka/pkg-plist2
2 files changed, 7 insertions, 1 deletions
diff --git a/www/py-prewikka/Makefile b/www/py-prewikka/Makefile
index 726acf95a84..1819fe26da7 100644
--- a/www/py-prewikka/Makefile
+++ b/www/py-prewikka/Makefile
@@ -7,6 +7,7 @@
PORTNAME= prewikka
PORTVERSION= 0.9.7.1
+PORTREVISION= 1
CATEGORIES= www security python
MASTER_SITES= http://www.prelude-ids.org/download/releases/ \
http://www.prelude-ids.org/download/releases/old/
@@ -22,4 +23,9 @@ LIB_DEPENDS= prelude.[6-?]:${PORTSDIR}/security/libprelude \
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
+post-patch:
+ ${MV} ${WRKSRC}/conf/prewikka.conf ${WRKSRC}/conf/prewikka.conf-dist
+ ${REINPLACE_CMD} 's,conf/prewikka.conf,conf/prewikka.conf-dist,' \
+ ${WRKSRC}/setup.py
+
.include <bsd.port.mk>
diff --git a/www/py-prewikka/pkg-plist b/www/py-prewikka/pkg-plist
index 11cd9a72b1f..0ed62423628 100644
--- a/www/py-prewikka/pkg-plist
+++ b/www/py-prewikka/pkg-plist
@@ -1,4 +1,4 @@
-etc/prewikka/prewikka.conf
+etc/prewikka/prewikka.conf-dist
bin/prewikka-httpd
%%DATADIR%%/cgi-bin/prewikka.cgi
%%DATADIR%%/htdocs/images/prelude-logo.gif