60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
35 lines
831 B
Makefile
35 lines
831 B
Makefile
# Created by: Brian Somers <brian@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= arpwatch
|
|
DISTVERSION= 2.1a15
|
|
PORTREVISION= 8
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= ftp://ftp.ee.lbl.gov/ \
|
|
GENTOO
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Monitor arp & rarp requests
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --quiet
|
|
INSTALL_TARGET= install install-man
|
|
|
|
SUB_FILES= pkg-message
|
|
USE_RC_SUBR= arpwatch
|
|
|
|
.ifdef ARPDIR
|
|
MAKE_ARGS= ARPDIR=${ARPDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/arpwatch
|
|
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>
|