1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/net/arprelease/Makefile

32 lines
726 B
Makefile
Raw Normal View History

# New ports collection makefile for: arprelease
# Date created: 02 Aug 2001
# Whom: nbm
#
# $FreeBSD$
#
PORTNAME= arprelease
PORTVERSION= 1.0
CATEGORIES= net
2004-04-10 17:26:55 +00:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= arprelease
2004-03-25 18:33:22 +00:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Libnet tool to flush arp cache entries from devices (eg. routers)
BUILD_DEPENDS= libnet-config:${PORTSDIR}/net/libnet
LIBNET_CONFIG= libnet-config
PLIST_FILES= bin/arprelease
do-build:
(cd ${WRKSRC} && \
${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
-o arprelease arprelease.c \
`${LIBNET_CONFIG} --defines` `${LIBNET_CONFIG} --libs`)
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/arprelease ${PREFIX}/bin
.include <bsd.port.mk>