pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/kdesdk3 add DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae47e3f6713b
branches:  trunk
changeset: 554299:ae47e3f6713b
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Feb 11 23:09:29 2009 +0000

description:
add DESTDIR support.

diffstat:

 devel/kdesdk3/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 521dadcf31b9 -r ae47e3f6713b devel/kdesdk3/Makefile
--- a/devel/kdesdk3/Makefile    Wed Feb 11 23:04:38 2009 +0000
+++ b/devel/kdesdk3/Makefile    Wed Feb 11 23:09:29 2009 +0000
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.63 2008/09/06 20:54:32 wiz Exp $
+# $NetBSD: Makefile,v 1.64 2009/02/11 23:09:29 markd Exp $
 
 DISTNAME=      kdesdk-${_KDE_VERSION}
 PKGREVISION=   1
 CATEGORIES=    devel
 COMMENT=       Support applications and tools used by KDE developers
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 CONFLICTS+=    cervisia-[0-9]*
 CONFLICTS+=    umbrello-[0-9]*
 
@@ -68,9 +70,9 @@
 
 # Makefile{,.am,.in} weren't supposed to be installed so clean up
 post-install:
-       ${RM} ${KDEDIR}/share/kde/apps/kapptemplate/admin/Makefile
-       ${RM} ${KDEDIR}/share/kde/apps/kapptemplate/admin/Makefile.am
-       ${RM} ${KDEDIR}/share/kde/apps/kapptemplate/admin/Makefile.in
+       ${RM} ${DESTDIR}${KDEDIR}/share/kde/apps/kapptemplate/admin/Makefile
+       ${RM} ${DESTDIR}${KDEDIR}/share/kde/apps/kapptemplate/admin/Makefile.am
+       ${RM} ${DESTDIR}${KDEDIR}/share/kde/apps/kapptemplate/admin/Makefile.in
 
 .include "../../meta-pkgs/kde3/kde3.mk"
 



Home | Main Index | Thread Index | Old Index