aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ourmon/Makefile
blob: 68786f28a2c74ff7a2d06a4c7126263b2d8fae5e (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
40
41
42
43
44
45
# New ports collection makefile for:    ourmon
# Date created: 01 May 2005
# Whom:         Charlie Schluting <manos@cs.pdx.edu>
#
# $FreeBSD$

PORTNAME=   ourmon
PORTVERSION=    2.8.1
PORTREVISION=   3
CATEGORIES= net-mgmt
MASTER_SITES=   SF
DISTNAME=   ourmon281

MAINTAINER= manos@cs.pdx.edu
COMMENT=    A libpcap-based network monitoring and anomaly detection system

BUILD_DEPENDS=  ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap \
        ${LOCALBASE}/lib/libpcre.a:${PORTSDIR}/devel/pcre
RUN_DEPENDS=    rrdtool:${PORTSDIR}/databases/rrdtool

WRKSRC=         ${WRKDIR}/mrourmon
USE_APACHE=     yes
USE_PERL5=      yes
NO_BUILD=       yes
NO_INSTALL_MANPAGES=    yes

SUB_FILES=  pkg-message

USE_RC_SUBR=    ourmon

.include <bsd.port.pre.mk>

pre-everything::
    @${ECHO_MSG} "==================================================="
    @${ECHO_MSG} "ATTENTION: Do not install startup script during"
    @${ECHO_MSG} "interactive steps, use the created by port instead."
    @${ECHO_MSG} "==================================================="

do-install:
    @cd ${WRKSRC} && ${PERL5} configure.pl ${PREFIX}
    @${CP} -R ${WRKSRC} ${PREFIX}

post-install:
    @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>