aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ipa/Makefile
blob: 4b21d412aa00f175aba2ea8a26ab6b200308b132 (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
# New ports collection makefile for:    ipa
# Date created:             2 December 2000
# Whom:                 Andrey Simonenko
#
# $FreeBSD$
#

PORTNAME=   ipa
PORTVERSION=    1.3.6
CATEGORIES= sysutils
MASTER_SITES=   http://ipa-system.sourceforge.net/ \
        http://www.mirrors.wiretapped.net/security/network-monitoring/ipa/ \
        ftp://ftp.mirrors.wiretapped.net/pub/security/network-monitoring/ipa/ \
        http://ipa.it-ss.be/

MAINTAINER= simon@comsys.ntu-kpi.kiev.ua
COMMENT=    IP accounting software

NO_PACKAGE= "Needs to be built uniquely for each host"
ALL_TARGET=
.ifdef(NOPORTDOCS)
MAKE_ENV=   NOPORTDOCS="${NOPORTDOCS}"
.endif

.ifdef WITH_PF
DEPENDS=    ${PORTSDIR}/security/pf
PF_INCLUDE_DIR?=    ${PREFIX}/include/pf
MAKE_ARGS+= PF_INCLUDE_DIR=${PF_INCLUDE_DIR}
.endif

MAN5=       ipa.5 ipa.conf.5
MAN8=       ipa.8 ipastat.8
MANLANG=    "" ru_RU.KOI8-R

.include <bsd.port.pre.mk>

pre-everything::
    @${ECHO_MSG} "-------------------------------------------------------------------"
.if !defined(WITHOUT_IPFW)
    @${ECHO_MSG} "o You can remove IPv4 Firewall support by defining WITHOUT_IPFW"
.endif
.if !defined(WITHOUT_IP6FW) && ${OSVERSION} >= 420001
    @${ECHO_MSG} "o You can remove IPv6 Firewall support by defining WITHOUT_IP6FW"
.endif
.if !defined(WITHOUT_IPFIL)
    @${ECHO_MSG} "o You can remove IP Filter support by defining WITHOUT_IPFIL"
.endif
.if !defined(WITHOUT_IP6FW) && !defined(WITH_IP6FW) && ${OSVERSION} >= 400000 && ${OSVERSION} < 420001
    @${ECHO_MSG} "o You can add IPv6 Firewall support by defining WITH_IP6FW,"
    @${ECHO_MSG} "  this support will be probably broken on your system (see the"
    @${ECHO_MSG} "  ${WRKSRC}/INSTALL file for more information)"
.endif
.if !defined(IPFW2) && !defined(WITHOUT_IPFW) && ${OSVERSION} >= 460100 && ${OSVERSION} < 500038
    @${ECHO_MSG} "o You can add IPFW2 support by defining IPFW2"
.endif
.if ${OSVERSION} >= 500000 && !defined(WITH_PF)
    @${ECHO_MSG} "o You can add OpenBSD Packet Filter support by defining WITH_PF"
.endif
    @${ECHO_MSG} "-------------------------------------------------------------------"

.include <bsd.port.post.mk>