blob: 0b9d6d13bfbfa3b9af5f3f6a3bdfb4a85dbe54aa (
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
46
47
48
49
50
51
|
# 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= 5
CATEGORIES= net-mgmt
MASTER_SITES= SF
MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}/${PORTNAME}281
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= 13+
USE_PERL5= yes
NO_BUILD= yes
NO_INSTALL_MANPAGES= yes
IS_INTERACTIVE= 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} "==================================================="
post-patch:
@${REINPLACE_CMD} -e 's|%%WWWDIR%%|${WWWDIR}|g' ${WRKSRC}/configure.pl
do-install:
@cd ${WRKSRC} && ${PERL5} configure.pl ${PREFIX}
@${FIND} ${WRKSRC} \( -name '*.orig' -o -name '*.bak' -o -name '*.o' \) -delete
@${CP} -R ${WRKSRC} ${PREFIX}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|