diff options
Diffstat (limited to 'net/arp-sk/Makefile')
-rw-r--r-- | net/arp-sk/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/net/arp-sk/Makefile b/net/arp-sk/Makefile index df4eb4a273ff..13c1496b8b97 100644 --- a/net/arp-sk/Makefile +++ b/net/arp-sk/Makefile @@ -14,14 +14,13 @@ COMMENT= A tool designed to manipulate ARP tables of all kinds of equipment LIB_DEPENDS= net:${PORTSDIR}/net/libnet GNU_CONFIGURE= yes + CFLAGS+= `${LIBNET_CONFIG} --cflags` -MAN1= arp-sk.1 -PLIST_FILES= sbin/arp-sk +PLIST_FILES= sbin/arp-sk man/man1/arp-sk.1.gz LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -Ee \ 's| -pedantic -g||; \ @@ -32,7 +31,7 @@ post-patch: ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/arp-sk ${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/man/arp-sk.1 ${MAN1PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/src/arp-sk ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/man/arp-sk.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include <bsd.port.mk> |