2012-12-15 23:22:37 +01:00
|
|
|
# Created by: Robin Gruyters <r.gruyters@yirdis.nl>
|
2006-04-19 12:22:10 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= prewikka
|
2012-12-15 23:22:37 +01:00
|
|
|
PORTVERSION= 1.0.1p1
|
2006-04-19 12:22:10 +02:00
|
|
|
CATEGORIES= www security python
|
2012-12-15 23:22:37 +01:00
|
|
|
MASTER_SITES= https://www.prelude-ids.org/attachments/download/286/
|
2006-04-19 12:22:10 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2009-09-24 00:17:11 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-04-19 12:22:10 +02:00
|
|
|
COMMENT= Frontend for the Prelude IDS
|
|
|
|
|
|
|
|
BUILD_DEPENDS= cheetah-compile:${PORTSDIR}/devel/py-cheetah
|
2013-12-15 17:22:17 +01:00
|
|
|
LIB_DEPENDS= libprelude.so:${PORTSDIR}/security/libprelude \
|
|
|
|
libpreludedb.so:${PORTSDIR}/security/libpreludedb
|
2006-04-19 12:22:10 +02:00
|
|
|
|
2014-01-13 22:00:02 +01:00
|
|
|
USE_PYTHON= 2
|
2006-04-19 12:22:10 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
|
2014-02-21 14:39:57 +01:00
|
|
|
OPTIONS_DEFINE= NLS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2012-12-15 23:22:37 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2007-04-11 22:11:58 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2006-09-23 04:31:01 +02:00
|
|
|
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
|
2012-12-15 23:22:37 +01:00
|
|
|
.if !${PORT_OPTIONS:MNLS}
|
2007-04-11 22:11:58 +02:00
|
|
|
${REINPLACE_CMD} 's,\(.*self.data_files.extend(self._compile_po_files())\),#\1,' \
|
|
|
|
${WRKSRC}/setup.py
|
|
|
|
.endif
|
2006-09-23 04:31:01 +02:00
|
|
|
|
2006-04-19 12:22:10 +02:00
|
|
|
.include <bsd.port.mk>
|