mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
e840530321
- Minor style nits
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# Created by: Brian Somers <brian@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= arpwatch
|
|
PORTVERSION= 2.1.a15
|
|
PORTREVISION= 8
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= ftp://ftp.ee.lbl.gov/ \
|
|
GENTOO/distfiles
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.([^\.]*)$/\1/}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Monitor arp & rarp requests
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --quiet
|
|
MAKE_ENV+= BINOWN="${BINOWN}" BINGRP="${BINGRP}"
|
|
INSTALL_TARGET= install install-man
|
|
|
|
SUB_FILES= pkg-message
|
|
USE_RC_SUBR= arpwatch
|
|
|
|
.ifdef ARPDIR
|
|
MAKE_ARGS= ARPDIR=${ARPDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
if [ ! -d ${STAGEDIR}${PREFIX}/arpwatch ]; then \
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/arpwatch; \
|
|
${CHMOD} 755 ${STAGEDIR}${PREFIX}/arpwatch; \
|
|
${CHOWN} root:operator ${STAGEDIR}${PREFIX}/arpwatch; \
|
|
fi
|
|
${TOUCH} ${STAGEDIR}${PREFIX}/arpwatch/arp.dat
|
|
${CHMOD} 644 ${STAGEDIR}${PREFIX}/arpwatch/arp.dat
|
|
for files in ethercodes.dat d.awk duplicates.awk euppertolower.awk e.awk p.awk; do \
|
|
${INSTALL_DATA} ${WRKSRC}/$$files ${STAGEDIR}${PREFIX}/arpwatch; \
|
|
done
|
|
${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${STAGEDIR}${PREFIX}/arpwatch
|
|
${INSTALL_SCRIPT} ${WRKSRC}/massagevendor ${STAGEDIR}${PREFIX}/arpwatch
|
|
|
|
.include <bsd.port.mk>
|