summaryrefslogtreecommitdiff
path: root/net/bridged
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-20 01:09:05 +0000
committerjoerg <joerg>2008-06-20 01:09:05 +0000
commitd8368bbc25c90072a19b5e48f0fba26251b6877f (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /net/bridged
parentf1b924fda77b6920565e56f54c9391b4dc68f8ca (diff)
downloadpkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/bridged')
-rw-r--r--net/bridged/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/bridged/Makefile b/net/bridged/Makefile
index ce1cb16aff2..89b73bff18c 100644
--- a/net/bridged/Makefile
+++ b/net/bridged/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/03/04 21:30:17 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2008/06/20 01:09:29 joerg Exp $
DISTNAME= bridged-20010701
CATEGORIES= net
@@ -7,6 +7,8 @@ MASTER_SITES= ftp://ftp.kame.net/pub/kame/misc/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Userland ethernet bridge daemon
+PKG_DESTDIR_SUPPORT= user-destdir
+
NOT_FOR_PLATFORM= Interix-*-* # no direct interface API
WRKSRC= ${WRKDIR}/bridged
@@ -15,6 +17,6 @@ GNU_CONFIGURE= yes
INSTALLATION_DIRS= sbin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bridge ${PREFIX}/sbin/bridged
+ ${INSTALL_PROGRAM} ${WRKSRC}/bridge ${DESTDIR}${PREFIX}/sbin/bridged
.include "../../mk/bsd.pkg.mk"