aboutsummaryrefslogtreecommitdiffstats
path: root/net/argus/Makefile
blob: 6f8f502887c9e6b47427579a63c4f7dce27b8ab5 (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
# New ports collection makefile for:    argus
# Date created:     26 November 1998
# Whom:         Jonathan Hanna <jhanna@home.com>
#
# $FreeBSD$
#

PORTNAME=   argus
PORTVERSION=    2.0.5
CATEGORIES= net security
MASTER_SITES=   http://qosient.com/argus/src/ \
        ftp://qosient.com/pub/argus/src/

MAINTAINER= se@freebsd.org

.if !exists(/usr/include/tcpd.h)
LIB_DEPENDS=    wrap.7:${PORTSDIR}/security/tcp_wrapper
.endif

USE_BISON=  true
GNU_CONFIGURE=  true
CONFIGURE_ARGS= --exec-prefix=${PREFIX} #--without-flex --without-bison

MAN1=   ra.1 racount.1 ragator.1 ramon.1 rasort.1 raxml.1
MAN5=   argus.5 argus.conf.5 rarc.5
MAN8=   argus.8

pre-install:
    ${MKDIR} ${PREFIX}/argus/archive
    ${INSTALL_DATA} ${WRKSRC}/include/cons_def.h ${PREFIX}/include
    ${INSTALL_DATA} ${WRKSRC}/include/cons_out.h ${PREFIX}/include
    ${MKDIR} ${PREFIX}/share/examples/argus-2.0
    ${INSTALL_DATA} ${WRKSRC}/support/README ${PREFIX}/share/examples/argus-2.0
.for i in Archive Config Deployment Startup System Xml
    ${MKDIR} ${PREFIX}/share/examples/argus-2.0/$i
    ${INSTALL_DATA} ${WRKSRC}/support/$i/* ${PREFIX}/share/examples/argus-2.0/$i
.endfor
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/argus-2.0/html/man
.for i in README COPYING CREDITS doc/CHANGES doc/FAQ doc/HOW-TO
    ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/argus-2.0
.endfor
.for i in  doc/html/man/*.html
    ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/argus-2.0/html/man
.endfor
.endif

.include <bsd.port.mk>