mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
311c97add1
- Update to latest release. (bug fix) - Remove unnesscessary patch files - Maintainer CC'ed PR: ports/50718 Submitted by: "Michael L.Hostbaek" <mich@freebsdcluster.org> Approved by: talked to the maintainer earlier today about it (see ports/50322)
37 lines
959 B
Makefile
37 lines
959 B
Makefile
# New ports collection makefile for: arping
|
|
# Date Created: 1 Oct 2000
|
|
# Whom: Roman Shterenzon <roman@xpert.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= arping
|
|
PORTVERSION= 1.07
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.habets.pp.se/pub/synscan/ \
|
|
ftp://ftp.cerias.purdue.edu/pub/tools/unix/netutils/arping/
|
|
|
|
MAINTAINER= roman@xpert.com
|
|
COMMENT= ARP level "ping" utility
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
|
|
|
|
LDFLAGS+= -lpcap
|
|
|
|
MAN8= arping.8
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
|
|
-DUSE_NETIF=1 -DFREEBSD=1 -c `libnet-config --defines` \
|
|
`libnet-config --cflags` ${PORTNAME}.c && \
|
|
${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
|
|
-DUSE_NETIF=1 -DFREEBSD=1 -o ${PORTNAME} ${PORTNAME}.o \
|
|
`libnet-config --libs` ${LDFLAGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/arping ${PREFIX}/sbin
|
|
${INSTALL_MAN} ${WRKSRC}/arping.8 ${PREFIX}/man/man8
|
|
|
|
.include <bsd.port.mk>
|