1 # Created by: Robin Gruyters <r.gruyters@yirdis.nl>
7 CATEGORIES= www security python
8 MASTER_SITES= https://www.prelude-ids.org/attachments/download/286/
9 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
11 MAINTAINER= ports@FreeBSD.org
12 COMMENT= Frontend for the Prelude IDS
14 BUILD_DEPENDS= cheetah-compile:${PORTSDIR}/devel/py-cheetah
15 LIB_DEPENDS= libprelude.so:${PORTSDIR}/security/libprelude \
16 libpreludedb.so:${PORTSDIR}/security/libpreludedb
23 .include <bsd.port.options.mk>
25 .if ${PORT_OPTIONS:MNLS}
29 PLIST_SUB+= NLS="@comment "
33 ${MV} ${WRKSRC}/conf/prewikka.conf ${WRKSRC}/conf/prewikka.conf-dist
34 ${REINPLACE_CMD} 's,conf/prewikka.conf,conf/prewikka.conf-dist,' \
36 .if !${PORT_OPTIONS:MNLS}
37 ${REINPLACE_CMD} 's,\(.*self.data_files.extend(self._compile_po_files())\),#\1,' \
41 .include <bsd.port.mk>