aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-28 16:28:41 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-28 16:28:41 +0800
commit2dc232a61ec5f068b06bbeaf257d0f7ebbac677f (patch)
tree762a2fa406137af2e2d59f9138e2c63b7fab1fe6 /net
parent5a8f7d5c27dff8cd1a3ba4964ba29be2a2ffc5c4 (diff)
downloadfreebsd-ports-gnome-2dc232a61ec5f068b06bbeaf257d0f7ebbac677f.tar.gz
freebsd-ports-gnome-2dc232a61ec5f068b06bbeaf257d0f7ebbac677f.tar.zst
freebsd-ports-gnome-2dc232a61ec5f068b06bbeaf257d0f7ebbac677f.zip
Support staging
Diffstat (limited to 'net')
-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>