Lines 6-24
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= arprelease |
8 |
PORTNAME= arprelease |
9 |
PORTVERSION= 1.0 |
9 |
PORTVERSION= 1.2 |
10 |
CATEGORIES= net |
10 |
CATEGORIES= net |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= arprelease |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
|
13 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= Libnet tool to flush arp cache entries from devices (eg. routers) |
15 |
COMMENT= Libnet tool to flush arp cache entries from devices (eg. routers) |
16 |
|
16 |
|
17 |
BUILD_DEPENDS= libnet-config:${PORTSDIR}/net/libnet |
17 |
BUILD_DEPENDS= libnet-config:${PORTSDIR}/net/libnet-devel |
|
|
18 |
|
19 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
18 |
|
20 |
|
19 |
LIBNET_CONFIG= libnet-config |
|
|
20 |
PLIST_FILES= bin/arprelease |
21 |
PLIST_FILES= bin/arprelease |
21 |
|
22 |
|
|
|
23 |
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet-config |
24 |
|
22 |
do-build: |
25 |
do-build: |
23 |
(cd ${WRKSRC} && \ |
26 |
(cd ${WRKSRC} && \ |
24 |
${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \ |
27 |
${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \ |
Lines 26-31
Link Here
|
26 |
`${LIBNET_CONFIG} --defines` `${LIBNET_CONFIG} --libs`) |
29 |
`${LIBNET_CONFIG} --defines` `${LIBNET_CONFIG} --libs`) |
27 |
|
30 |
|
28 |
do-install: |
31 |
do-install: |
29 |
@${INSTALL_PROGRAM} ${WRKSRC}/arprelease ${PREFIX}/bin |
32 |
${INSTALL_PROGRAM} ${WRKSRC}/arprelease ${PREFIX}/bin |
30 |
|
33 |
|
31 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.mk> |