summaryrefslogtreecommitdiff
path: root/net/arping
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit3b0d97b0de8516db29699676c860489da3f7f0e1 (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /net/arping
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/arping')
-rw-r--r--net/arping/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/arping/Makefile b/net/arping/Makefile
index 949c3fce118..aa82eccb5f5 100644
--- a/net/arping/Makefile
+++ b/net/arping/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/02/22 17:15:21 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/20 01:09:29 joerg Exp $
#
DISTNAME= arping-2.05
@@ -10,6 +10,8 @@ MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://www.habets.pp.se/synscan/programs.php?prog=arping
COMMENT= ARP-level ping utility
+PKG_DESTDIR_SUPPORT= user-destdir
+
LIBS+= -lnet -lpcap
LIBS.SunOS+= -lsocket -lnsl
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8
@@ -19,8 +21,8 @@ do-build:
cd ${WRKSRC} && cc ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${LIBS} -o arping arping-2/arping.c
do-install:
- ${INSTALL_MAN} ${WRKSRC}/arping.8 ${PREFIX}/${PKGMANDIR}/man8
- ${INSTALL_PROGRAM} ${WRKSRC}/arping ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/arping.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_PROGRAM} ${WRKSRC}/arping ${DESTDIR}${PREFIX}/bin
.include "../../devel/libnet11/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"