aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-prewikka/Makefile
blob: 946c9df86f30700d6a7efc9216f51a148e98f4b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    prewikka
# Date created:             2006-03-13
# Whom:                 Robin Gruyters <r.gruyters@yirdis.nl>
#
# $FreeBSD$
#

PORTNAME=   prewikka
PORTVERSION=    0.9.4
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.7:${PORTSDIR}/security/libprelude \
        preludedb.3:${PORTSDIR}/security/libpreludedb

USE_PYTHON=     2.3+
USE_PYDISTUTILS=    yes

post-patch:
    @${REINPLACE_CMD} -e 's,/usr/bin/env python,${PYTHON_CMD},' \
        ${WRKSRC}/cgi-bin/prewikka.cgi

pre-install:
    @${RM} ${WRKSRC}/build/lib/__init__.py

.include <bsd.port.mk>