mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
8d6597e0bb
With hat: portmgr Sponsored by: Absolight
31 lines
639 B
Makefile
31 lines
639 B
Makefile
# Created by: nbm
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= arprelease
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 4
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Libnet tool to flush arp cache entries from devices (eg. routers)
|
|
|
|
LIB_DEPENDS= libnet.so:net/libnet
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
PLIST_FILES= bin/arprelease
|
|
|
|
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet-config
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && \
|
|
${CC} ${CFLAGS} `${LIBNET_CONFIG} --defines` \
|
|
`${LIBNET_CONFIG} --cflags` -o arprelease arprelease.c \
|
|
`${LIBNET_CONFIG} --libs`)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/arprelease ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|