1997-03-30 12:19:56 -05:00
|
|
|
# New ports collection makefile for: arpwatch
|
|
|
|
# Date created: March 24 1997
|
2002-03-13 06:31:08 -05:00
|
|
|
# Whom: Brian Somers <brian@FreeBSD.org>
|
1997-03-30 12:19:56 -05:00
|
|
|
#
|
1999-08-30 10:24:37 -04:00
|
|
|
# $FreeBSD$
|
1997-03-30 12:19:56 -05:00
|
|
|
#
|
|
|
|
|
2000-04-09 14:14:07 -04:00
|
|
|
PORTNAME= arpwatch
|
2001-05-21 05:47:12 -04:00
|
|
|
PORTVERSION= 2.1.a11
|
2002-05-16 06:40:50 -04:00
|
|
|
PORTREVISION= 2
|
1997-05-28 18:52:28 -04:00
|
|
|
CATEGORIES= net
|
1998-08-21 22:13:51 -04:00
|
|
|
MASTER_SITES= http://www.Awfulhak.org/arpwatch/ \
|
2000-11-21 17:11:43 -05:00
|
|
|
ftp://ftp.ee.lbl.gov/
|
2001-05-21 05:47:12 -04:00
|
|
|
DISTNAME= arpwatch-2.1a11
|
1997-03-30 13:11:58 -05:00
|
|
|
|
2002-03-13 06:31:08 -05:00
|
|
|
MAINTAINER= brian@FreeBSD.org
|
1997-03-30 13:11:58 -05:00
|
|
|
|
2001-04-06 21:51:53 -04:00
|
|
|
GNU_CONFIGURE= yes
|
1997-03-30 12:19:56 -05:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --quiet
|
1997-05-28 18:52:28 -04:00
|
|
|
INSTALL_TARGET= install install-man
|
|
|
|
MAN8= arpwatch.8 arpsnmp.8
|
1997-03-30 13:11:58 -05:00
|
|
|
|
1997-03-30 12:19:56 -05:00
|
|
|
post-install:
|
1998-07-02 06:45:36 -04:00
|
|
|
if [ ! -d ${PREFIX}/arpwatch ]; then \
|
|
|
|
${MKDIR} ${PREFIX}/arpwatch; \
|
2000-11-21 17:11:43 -05:00
|
|
|
${CHMOD} 775 ${PREFIX}/arpwatch; \
|
2001-06-01 02:05:18 -04:00
|
|
|
${CHOWN} root:operator ${PREFIX}/arpwatch; \
|
1997-03-30 12:19:56 -05:00
|
|
|
fi
|
1998-07-02 06:45:36 -04:00
|
|
|
${TOUCH} ${PREFIX}/arpwatch/arp.dat
|
1999-08-22 15:01:07 -04:00
|
|
|
${CHMOD} 644 ${PREFIX}/arpwatch/arp.dat
|
1998-07-02 06:45:36 -04:00
|
|
|
for file in ethercodes.dat d.awk e.awk p.awk; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/arpwatch/.; \
|
1997-06-30 22:05:06 -04:00
|
|
|
done
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${PREFIX}/arpwatch/.
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/arpwatch.sh ${PREFIX}/etc/rc.d/.
|
1997-03-30 12:19:56 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|