summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorobache <obache>2011-03-21 04:53:49 +0000
committerobache <obache>2011-03-21 04:53:49 +0000
commit90c4f79589214edb28cba637283279bd1ad189bf (patch)
tree4b8290cbb28b0fa5e9beaca63ee4cb664c834635 /net
parent42d9b234cbdf81802461193a0b93f66c92e8647a (diff)
downloadpkgsrc-90c4f79589214edb28cba637283279bd1ad189bf.tar.gz
Add user-destdir installation support.
Diffstat (limited to 'net')
-rw-r--r--net/mrt/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/mrt/Makefile b/net/mrt/Makefile
index 3bf833892d3..b04e90141d5 100644
--- a/net/mrt/Makefile
+++ b/net/mrt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2009/06/30 00:07:21 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2011/03/21 04:53:49 obache Exp $
#
DISTNAME= mrt-2.2.2a-Aug11
@@ -11,10 +11,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mrtd.net/
COMMENT= Multi-threaded Routing Toolkit
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}/mrt/src
GNU_CONFIGURE= yes
+DESTDIR_VARNAME= # empty
+INSTALL_MAKE_FLAGS+= DESTDIR=${DESTDIR}${PREFIX}/sbin
+INSTALL_MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
PLIST_SRC= ${WRKSRC}/.PLIST_SRC