aboutsummaryrefslogtreecommitdiffstats
path: root/net/arping/Makefile
blob: 8d96f3b7933ba7e7c00584ef3a69849708607d66 (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=  LIBS="`${LIBNET_CONFIG} --libs` -lpcap"
CFLAGS+=    `${LIBNET_CONFIG} --defines`
CPPFLAGS+=  -I${LOCALBASE}/include `${LIBNET_CONFIG} --cflags`
LDFLAGS+=   -L${LOCALBASE}/lib

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

MAN8=       arping.8
PLIST_FILES=    sbin/arping

.include <bsd.port.mk>