blob: 464383df9b6e27bb77239d4a0facb3649edcf684 (
plain)
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
|
# $NetBSD: Makefile,v 1.10 2000/01/10 00:57:15 wiz Exp $
#
DISTNAME= arpwatch-2.1a4
CATEGORIES= net
MASTER_SITES= ftp://ftp.ee.lbl.gov/
EXTRACT_SUFX= .tar.Z
MAINTAINER= bouyer@netbsd.org
GNU_CONFIGURE= yes
pre-patch:
f=arpwatch.h; \
${MV} ${WRKSRC}/$$f ${WRKSRC}/$$f-prepatch; \
${SED} -e '/Header/s|\$$||g' ${WRKSRC}/$$f-prepatch > ${WRKSRC}/$$f
post-install:
${INSTALL_MAN} ${WRKSRC}/arpwatch.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/arpsnmp.8 ${PREFIX}/man/man8
@${TEST} -e /var/db/arpwatch || ${MKDIR} /var/db/arpwatch
${TOUCH} /var/db/arpwatch/arp.dat
${INSTALL_DATA} ${WRKSRC}/ethercodes.dat ${PREFIX}/etc
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
DEPENDS+= libpcap-0.4:../../net/libpcap
.endif
.include "../../mk/bsd.pkg.mk"
|