blob: 913c75ceb795a870d9768d137349d1fdce2b4183 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# New ports collection makefile for: argus-clients
# Date created: 24 March 2004
# Whom: Stefan Esser <se@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= argus-clients
PORTVERSION= 2.0.6
PORTREVISION= 1
CATEGORIES= net-mgmt security
MASTER_SITES= http://qosient.com/argus/src/ \
ftp://qosient.com/pub/argus/src/
MAINTAINER= ports@FreeBSD.org
COMMENT= Client programs for the argus IP network transaction auditing tool
CONFLICTS= argus-clients-3* argus-clients-sasl-3*
.if defined(WITH_SASL)
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
.endif
USE_BISON= build
GNU_CONFIGURE= true
CONFIGURE_ARGS= --exec-prefix=${PREFIX}
.if defined(WITH_SASL)
CONFIGURE_ARGS+= --with-sasl=${PREFIX}
CFLAGS+= -I${PREFIX}/include/sasl
.endif
DOCSDIR?= ${PREFIX}/share/doc/argus-2.0
EXAMPLESDIR?= ${PREFIX}/share/examples/argus-2.0
MAN1= ra.1 racount.1 ragator.1 rahosts.1 ramon.1 ranonymize.1 rapolicy.1 \
rasort.1 rastrip.1 raxml.1
MAN5= rarc.5
do-install:
.for i in ra racount ragator ragrep rahistogram rahosts \
ramon ranonymize rapath rapolicy rarpwatch raseq \
rasort rasrvstats rastrip ratop raxml
${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
.endfor
.for i in argusbug ragraph
${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i
.endfor
.for i in argus_client.a argus_common.a argus_parse.a
${INSTALL_DATA} ${WRKSRC}/lib/$i ${PREFIX}/lib/$i
.endfor
${MKDIR} ${PREFIX}/argus/archive
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/argus
${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/argus
${MKDIR} ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/cons_def.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/cons_out.h ${PREFIX}/include
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/support/README ${EXAMPLESDIR}
.for i in Archive Config System Tools Xml
${MKDIR} ${EXAMPLESDIR}/$i
${INSTALL_DATA} ${WRKSRC}/support/$i/* ${EXAMPLESDIR}/$i
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/html/man
.for i in README COPYING CREDITS doc/CHANGES doc/FAQ doc/HOW-TO
${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.for i in hosts_access.5.html hosts_options.5.html ra.1.html \
racount.1.html ragator.1.html ramon.1.html rarc.5.html \
rasort.1.html raxml.1.html tcpd.8.html tcpdump.1.html
${INSTALL_DATA} ${WRKSRC}/doc/html/man/$i ${DOCSDIR}/html/man
.endfor
.endif
.if !defined(NOMAN)
.for i in ${MAN1}
${INSTALL_DATA} ${WRKSRC}/man/man1/$i ${PREFIX}/man/man1
.endfor
.for i in ${MAN5}
${INSTALL_DATA} ${WRKSRC}/man/man5/$i ${PREFIX}/man/man5
.endfor
.endif
.include <bsd.port.mk>
|