pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/depot DESTDIR support
details: https://anonhg.NetBSD.org/pkgsrc/rev/6004f71258e6
branches: trunk
changeset: 571444:6004f71258e6
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Feb 12 14:42:45 2010 +0000
description:
DESTDIR support
diffstat:
sysutils/depot/Makefile | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r f04265f33da5 -r 6004f71258e6 sysutils/depot/Makefile
--- a/sysutils/depot/Makefile Fri Feb 12 14:16:57 2010 +0000
+++ b/sysutils/depot/Makefile Fri Feb 12 14:42:45 2010 +0000
@@ -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 @@
# 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 @@
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"
Home |
Main Index |
Thread Index |
Old Index