mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
fcb98a504a
- build shared lib - fix dependend ports when libnet.so.8 was linked in - fix dependend ports when includes where missing
35 lines
713 B
Makefile
35 lines
713 B
Makefile
# New ports collection makefile for: arprelease
|
|
# Date created: 02 Aug 2001
|
|
# Whom: nbm
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= arprelease
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Libnet tool to flush arp cache entries from devices (eg. routers)
|
|
|
|
LIB_DEPENDS= net:${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:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/arprelease ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|