aboutsummaryrefslogtreecommitdiffstats
path: root/security/snortsms/Makefile
blob: dabac67d9db19cb7174c9e9dd74ffc11855b25cc (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
# New ports collection makefile for:    snortsms
# Date created:     Mon May 28 16:05:01 CST 2005
# Whom:         J Randolph <snortsms@servangle.net>
#
# $FreeBSD$
#

PORTNAME=   snortsms
PORTVERSION=    1.0.0
CATEGORIES= security www
MASTER_SITES=   http://snortsms.servangle.net/dnloads/

MAINTAINER= snortsms@servangle.net
COMMENT=    A remote management and monitoring interface for Snort based IDS

RUN_DEPENDS=    ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB \
        ${LOCALBASE}/bin/curl:${PORTSDIR}/ftp/curl

USE_PHP=    mysql pcre pcntl session
NO_BUILD=   yes

SUB_FILES=  pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message

do-install:
# Create directory structure
    @${MKDIR} ${PREFIX}/www/snortsms
# copy files
    ${CP} -R ${WRKSRC}/* ${PREFIX}/www/snortsms
    ${RM} ${PREFIX}/www/snortsms/COPYING
# correct permissions
    ${CHMOD} 775 ${PREFIX}/www/snortsms/conf
    ${CHOWN} :${WWWGRP} ${PREFIX}/www/snortsms/conf

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>