pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/swiggle +PKG_DESTDIR_SUPPORT= user-destdir



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6715cfbdd759
branches:  trunk
changeset: 555625:6715cfbdd759
user:      snj <snj%pkgsrc.org@localhost>
date:      Fri Mar 06 00:06:28 2009 +0000

description:
+PKG_DESTDIR_SUPPORT=   user-destdir

diffstat:

 www/swiggle/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 914a6898e57f -r 6715cfbdd759 www/swiggle/Makefile
--- a/www/swiggle/Makefile      Thu Mar 05 23:57:00 2009 +0000
+++ b/www/swiggle/Makefile      Fri Mar 06 00:06:28 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/07/19 23:00:47 xtraeme Exp $
+# $NetBSD: Makefile,v 1.11 2009/03/06 00:06:28 snj Exp $
 
 DISTNAME=      swiggle-0.4
 CATEGORIES=    www graphics
@@ -10,6 +10,7 @@
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 SUBST_CLASSES+=                mf
 SUBST_STAGE.mf=                post-patch
@@ -19,7 +20,7 @@
 INSTALLATION_DIRS=     bin
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/swiggle ${PREFIX}/bin/
+       ${INSTALL_PROGRAM} ${WRKSRC}/swiggle ${DESTDIR}${PREFIX}/bin/
 
 .include "../../graphics/jpeg/buildlink3.mk"
 .include "../../graphics/libexif/buildlink3.mk"



Home | Main Index | Thread Index | Old Index