freebsd-ports/net/arpwatch/Makefile

39 lines
1021 B
Makefile
Raw Normal View History

# New ports collection makefile for: arpwatch
# Date created: March 24 1997
# Whom: Brian Somers <brian@FreeBSD.org>
#
1999-08-30 10:24:37 -04:00
# $FreeBSD$
#
PORTNAME= arpwatch
PORTVERSION= 2.1.a11
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.Awfulhak.org/arpwatch/ \
2000-11-21 17:11:43 -05:00
ftp://ftp.ee.lbl.gov/
DISTNAME= arpwatch-2.1a11
MAINTAINER= brian@FreeBSD.org
GNU_CONFIGURE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --quiet
INSTALL_TARGET= install install-man
MAN8= arpwatch.8 arpsnmp.8
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; \
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/.; \
done
${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${PREFIX}/arpwatch/.
${INSTALL_SCRIPT} ${FILESDIR}/arpwatch.sh ${PREFIX}/etc/rc.d/.
.include <bsd.port.mk>