pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/dfm user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6965a79bbee0
branches:  trunk
changeset: 395222:6965a79bbee0
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 18:44:26 2009 +0000

description:
user-destdir support

diffstat:

 x11/dfm/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 7eb8878e04ae -r 6965a79bbee0 x11/dfm/Makefile
--- a/x11/dfm/Makefile  Tue Jul 07 18:43:58 2009 +0000
+++ b/x11/dfm/Makefile  Tue Jul 07 18:44:26 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/01/09 08:07:44 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2009/07/07 18:44:26 joerg Exp $
 #
 
 PKGREVISION=   6
@@ -7,8 +7,10 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Desktop File Manager
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 post-install:
-       ${MV} ${PREFIX}/${PKGMANDIR}/man1/dfm.1x ${PREFIX}/${PKGMANDIR}/man1/dfm.1
+       ${MV} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/dfm.1x ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/dfm.1
 
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/xextproto/buildlink3.mk"



Home | Main Index | Thread Index | Old Index