aboutsummaryrefslogtreecommitdiffstats
path: root/security/acid/Makefile
blob: 7629b550b5bbac0cbf8cc954e263804ab11bf287 (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
33
34
35
36
37
38
39
# New ports collection makefile for:    acid
# Date created:     Mon Sep 25 16:05:01 CST 2000
# Whom:         Foxfair Hu <foxfair@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   acid
PORTVERSION=    0.9.6b23
CATEGORIES= security
MASTER_SITES=   http://www.andrew.cmu.edu/user/rdanyliw/snort/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Analysis Console for Intrusion Databases (ACID) with Snort and MySQL

RUN_DEPENDS=    ${LOCALBASE}/bin/snort:${PORTSDIR}/security/snort \
        ${LOCALBASE}/share/adodb/adodb.inc.php:${PORTSDIR}/databases/adodb

WRKSRC=     ${WRKDIR}/${PORTNAME}
USE_PHP=    yes
NO_BUILD=   yes

do-install:
    @${MKDIR} ${PREFIX}/www/acid
.for ext in html php sql css inc
    @${INSTALL_DATA} ${WRKSRC}/*.${ext} ${PREFIX}/www/acid
.endfor
.ifndef(NOPORTDOCS)
    @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/www/acid
    @${INSTALL_DATA} ${WRKSRC}/README.mssql ${PREFIX}/www/acid
    @${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/www/acid
    @${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/www/acid
    @${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${PREFIX}/www/acid
.endif

post-install:
    @${SED} 's|%%PREFIX%%|${PREFIX}|' ${PKGMESSAGE}

.include <bsd.port.mk>