freebsd-ports/net/arprelease/Makefile

31 lines
653 B
Makefile
Raw Normal View History

# Created by: nbm
# $FreeBSD$
PORTNAME= arprelease
PORTVERSION= 1.2
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= SF
2004-03-25 19:33:22 +01:00
MAINTAINER= ports@FreeBSD.org
COMMENT= Libnet tool to flush arp cache entries from devices (eg. routers)
LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/arprelease
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
do-build:
(cd ${WRKSRC} && \
${CC} ${CFLAGS} `${LIBNET_CONFIG} --defines` \
`${LIBNET_CONFIG} --cflags` -o arprelease arprelease.c \
`${LIBNET_CONFIG} --libs`)
do-install:
2014-02-28 09:29:20 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/arprelease ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>