2013-09-21 00:10:23 +02:00
|
|
|
# Created by: nbm
|
2001-08-02 17:02:31 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= arprelease
|
2005-05-26 17:24:32 +02:00
|
|
|
PORTVERSION= 1.2
|
2014-07-14 17:38:39 +02:00
|
|
|
PORTREVISION= 4
|
2001-08-02 17:02:31 +02:00
|
|
|
CATEGORIES= net
|
2009-08-22 02:32:25 +02:00
|
|
|
MASTER_SITES= SF
|
2001-08-02 17:02:31 +02:00
|
|
|
|
2004-03-25 19:33:22 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Libnet tool to flush arp cache entries from devices (eg. routers)
|
2001-08-02 17:02:31 +02:00
|
|
|
|
2014-07-14 17:38:39 +02:00
|
|
|
LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet
|
2005-05-26 17:24:32 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2001-08-02 17:02:31 +02:00
|
|
|
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= bin/arprelease
|
2001-08-02 17:02:31 +02:00
|
|
|
|
2007-01-31 15:09:55 +01:00
|
|
|
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
|
2005-05-26 17:24:32 +02:00
|
|
|
|
2001-08-02 17:02:31 +02:00
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC} && \
|
2007-01-31 15:09:55 +01:00
|
|
|
${CC} ${CFLAGS} `${LIBNET_CONFIG} --defines` \
|
|
|
|
`${LIBNET_CONFIG} --cflags` -o arprelease arprelease.c \
|
|
|
|
`${LIBNET_CONFIG} --libs`)
|
2001-08-02 17:02:31 +02:00
|
|
|
|
|
|
|
do-install:
|
2014-02-28 09:29:20 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/arprelease ${STAGEDIR}${PREFIX}/bin
|
2001-08-02 17:02:31 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|