pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/imlib Added support for installation to DESTDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1429d79b4da9
branches:  trunk
changeset: 538226:1429d79b4da9
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sat Feb 02 16:43:34 2008 +0000

description:
Added support for installation to DESTDIR.

diffstat:

 graphics/imlib/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 933f24f87464 -r 1429d79b4da9 graphics/imlib/Makefile
--- a/graphics/imlib/Makefile   Sat Feb 02 16:21:45 2008 +0000
+++ b/graphics/imlib/Makefile   Sat Feb 02 16:43:34 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.101 2007/01/08 16:59:57 joerg Exp $
+# $NetBSD: Makefile,v 1.102 2008/02/02 16:43:34 heinz Exp $
 
 DISTNAME=      imlib-1.9.15
 PKGREVISION=   4
@@ -10,6 +10,7 @@
 HOMEPAGE=      http://www.nl.rasterman.com/imlib.html
 COMMENT=       Image manipulation library for X11
 
+PKG_DESTDIR_SUPPORT=   user-destdir
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 USE_TOOLS+=            gmake
@@ -45,9 +46,9 @@
 .endif
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/imlib
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/imlib
        cd ${WRKSRC}/doc; ${INSTALL_DATA} *.gif *.html \
-               ${PREFIX}/share/doc/imlib
+               ${DESTDIR}${PREFIX}/share/doc/imlib
 
 BUILDLINK_DEPMETHOD.libXt?=    build
 



Home | Main Index | Thread Index | Old Index