summaryrefslogtreecommitdiff
path: root/net/arping/Makefile
blob: a59180eb230f0c72efee187e627eb30e1671c7b3 (plain) (blame)
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
# New ports collection makefile for:	arping
# Date Created:				1 Oct 2000
# Whom:					Roman Shterenzon <roman@xpert.com>
#
# $FreeBSD$
#

PORTNAME=	arping
PORTVERSION=	2.09
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	http://www.habets.pp.se/synscan/files/

MAINTAINER=	gavin@FreeBSD.org
COMMENT=	ARP level "ping" utility

BUILD_DEPENDS=	${LIBNET_CONFIG}:${PORTSDIR}/net/libnet

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CFLAGS+="`${LIBNET_CONFIG} --defines`" \
		CPPFLAGS="-I${LOCALBASE}/include `${LIBNET_CONFIG} --cflags`" \
		LDFLAGS="-L${LOCALBASE}/lib" \
		LIBS="`${LIBNET_CONFIG} --libs` -lpcap"

LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet11-config

MAN8=		arping.8
PLIST_FILES=	sbin/arping

.include <bsd.port.mk>