freebsd-ports/www/py-prewikka/Makefile
Cheng-Lung Sung 5eea537264 - Update to 0.9.12.1
Changelog prewikka 0.9.12.1:
- Implement an Auto-Refresh system (fix #231). (including code from
  Paul Robert Marino <prmarino1@gmail.com>).
- Ability to filter on missing/offline/online/unknown agents. Make more
  easier to read each agent status in collapsed mode.
- Fix filter load/save/delete issue with translation.
- New 'My account' tabs, under the Settings section (fix #241).
- New messageid and analyzerid parameters, allowing link to a Prewikka alert
  from an external tool (previously required a database query in order to
  retrieve the database event id).
- Don't redirect to user listing once an user preference are recorded. Fix
  changing of another user language by an user with PERM_USER_MANAGEMENT.
  Display target user language rather than current user language.
- Improve the timeline control table layout.
- Fix translation of string possibly using plural.
- Fix a template compilation problem with certain version of Cheetah
  (Giandomenico De Tullio <ghisha at email.it>)

PR:		ports/115234
Submitted by:	maintainer (Robin Gruyters)
2007-08-15 06:49:45 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: prewikka
# Date created: 2006-03-13
# Whom: Robin Gruyters <r.gruyters@yirdis.nl>
#
# $FreeBSD$
#
PORTNAME= prewikka
PORTVERSION= 0.9.12.1
CATEGORIES= www security python
MASTER_SITES= http://www.prelude-ids.org/download/releases/ \
http://www.prelude-ids.org/download/releases/old/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= r.gruyters@yirdis.nl
COMMENT= Frontend for the Prelude IDS
BUILD_DEPENDS= cheetah-compile:${PORTSDIR}/devel/py-cheetah
LIB_DEPENDS= prelude.12:${PORTSDIR}/security/libprelude \
preludedb.4:${PORTSDIR}/security/libpreludedb
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif
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
.if defined(WITHOUT_NLS)
${REINPLACE_CMD} 's,\(.*self.data_files.extend(self._compile_po_files())\),#\1,' \
${WRKSRC}/setup.py
.endif
post-install:
@if [ ! -f ${PREFIX}/etc/prewikka/prewikka.conf ]; then \
${CP} -p ${PREFIX}/etc/prewikka/prewikka.conf-dist \
${PREFIX}/etc/prewikka/prewikka.conf ; \
fi
.include <bsd.port.mk>