diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | d8368bbc25c90072a19b5e48f0fba26251b6877f (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /net/arping | |
parent | f1b924fda77b6920565e56f54c9391b4dc68f8ca (diff) | |
download | pkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'net/arping')
-rw-r--r-- | net/arping/Makefile | 8 |
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" |