aboutsummaryrefslogtreecommitdiffstats
path: root/security/ipguard/Makefile
blob: fa681c7543de1f8944227c13d4eae8e5a54f10c7 (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
# New ports collection makefile for:    ipguard
# Date created:                         2 Sep 2005
# Whom:                                 SeaD
#
# $FreeBSD$
#

PORTNAME=   ipguard
PORTVERSION=    0.04
PORTREVISION=   1
CATEGORIES= security net
MASTER_SITES=   http://ipguard.deep.perm.ru/files/

MAINTAINER= sead@mail.ru
COMMENT=    Tool designed to protect LAN IP adress space by ARP spoofing

BUILD_DEPENDS=  libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10

MAN8=       ipguard.8

ETHERS?=    /etc/ethers

MAKE_ARGS+= ETHERS=${ETHERS}

SUB_FILES=  pkg-message
SUB_LIST=   ETHERS=${ETHERS}
PKGMESSAGE= ${WRKDIR}/pkg-message

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ipguard ${PREFIX}/sbin
    ${INSTALL_MAN} ${WRKSRC}/doc/ipguard.8 ${MANPREFIX}/man/man8
    ${INSTALL_SCRIPT} ${WRKSRC}/doc/ipguard.sh.sample ${PREFIX}/etc/rc.d

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>