openbsd-ports/net/arpwatch/Makefile

38 lines
970 B
Makefile
Raw Normal View History

2003-08-19 22:55:31 -04:00
# $OpenBSD: Makefile,v 1.16 2003/08/20 02:55:31 brad Exp $
COMMENT= "monitor arp & rarp requests"
DISTNAME= arpwatch-2.1a11
CATEGORIES= net
2002-10-27 20:38:44 -05:00
MASTER_SITES= http://www.Awfulhak.org/arpwatch/ \
2003-08-19 22:55:31 -04:00
ftp://ftp.ee.lbl.gov/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
2000-04-21 10:50:23 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 01:29:49 -05:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --quiet
MAKE_FLAGS+= ARPDIR=/var/arpwatch
2002-10-27 20:38:44 -05:00
NO_REGRESS= Yes
EXAMPLESDIR= ${PREFIX}/share/examples/arpwatch
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/arpwatch ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/arpsnmp ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/arpwatch.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/arpsnmp.8 ${PREFIX}/man/man8
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
@for i in ethercodes.dat d.awk e.awk p.awk; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${EXAMPLESDIR}; \
done
@${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${EXAMPLESDIR}
.include <bsd.port.mk>