aboutsummaryrefslogtreecommitdiff
path: root/net/arp-sk
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-28 08:28:41 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-28 08:28:41 +0000
commitf1b421c45290e2c3b86245b67efb9e43f50b9e9d (patch)
tree762a2fa406137af2e2d59f9138e2c63b7fab1fe6 /net/arp-sk
parentf7ab9b1cacaee3541a41f828d5b0cfcc47c0ee82 (diff)
downloadports-f1b421c45290e2c3b86245b67efb9e43f50b9e9d.tar.gz
ports-f1b421c45290e2c3b86245b67efb9e43f50b9e9d.zip
Notes
Diffstat (limited to 'net/arp-sk')
-rw-r--r--net/arp-sk/Makefile9
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>