summaryrefslogtreecommitdiff
path: root/sysutils/depot
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-12 14:42:45 +0000
committerjoerg <joerg>2010-02-12 14:42:45 +0000
commit6d470d2f705b784fea537fdf0d7257c516edb0aa (patch)
tree69e4b52ef38def67fc52ca74b86f3581528e8858 /sysutils/depot
parente6f439ccea9a4beed212c14d5abff6353951d3ac (diff)
downloadpkgsrc-6d470d2f705b784fea537fdf0d7257c516edb0aa.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/depot')
-rw-r--r--sysutils/depot/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/sysutils/depot/Makefile b/sysutils/depot/Makefile
index c9f74d5778c..b28ff4e0979 100644
--- a/sysutils/depot/Makefile
+++ b/sysutils/depot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2007/12/30 13:19:39 obache Exp $
+# $NetBSD: Makefile,v 1.21 2010/02/12 14:42:45 joerg Exp $
#
DISTNAME= depot-5.14
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
# HOMEPAGE= http://asg.web.cmu.edu/depot/
COMMENT= Maps several separate packages into a tree without merging them
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= lex yacc
@@ -19,8 +21,7 @@ MAKE_ENV+= CC=${CC:Q}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
INSTALL_DIRS= src/cmd man/man1 man/man5
-
-INSTALL_MAKE_FLAGS+= DESTDIR=${PREFIX}
-INSTALL_MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
+INSTALL_MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin
+INSTALL_MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
.include "../../mk/bsd.pkg.mk"