1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/net/arprelease/Makefile
Po-Chuan Hsieh 9f7a28532c
net/libnet: Update to 1.2
- Update pkg-descr
- Update WWW
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/libnet/libnet/releases
2022-07-30 13:57:11 +08:00

28 lines
608 B
Makefile

PORTNAME= arprelease
PORTVERSION= 1.2
PORTREVISION= 5
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>