1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/net/arping/Makefile
Edwin Groothuis 91256c15ab Date: Wed, 10 Mar 2004 23:30:56 -0800 (PST)
From: Roman Shterenzon <romanbsd@yahoo.com>
To: ports@freebsd.org
Subject: e-mail change

The email address roman@xpert.com is no longer valid.
Please update ports' maintainer to ports@oven.org.

Submitted by:	Roman Shterenzon <romanbsd@yahoo.com>
2004-03-12 00:32:23 +00:00

37 lines
919 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/
MAINTAINER= ports@oven.org
COMMENT= ARP level "ping" utility
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
LDFLAGS+= -lpcap
MAN8= arping.8
PLIST_FILES= sbin/arping
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>