openbsd-ports/net/arpwatch/Makefile
jakob 63f99d9779 - update to v2.1a11
- move examples configuration into $PREFIX/share/examples/arpwatch
- move database to /var/arpwatch, create if needed
- update manpages to reflect new paths
- take MAINTAINER
2001-06-01 23:36:31 +00:00

37 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2001/06/01 23:36:31 jakob Exp $
COMMENT= "monitor arp & rarp requests"
DISTNAME= arpwatch-2.1a11
CATEGORIES= net
NEED_VERSION= 1.402
MASTER_SITES= http://www.Awfulhak.org/arpwatch/ \
ftp://ftp.ee.lbl.gov/ \
ftp://ftp.cso.uiuc.edu/pub/security/coast/unix/arpwatch/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --quiet
MAKE_FLAGS+= ARPDIR=/var/arpwatch
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>