summaryrefslogtreecommitdiff
path: root/graphics/imlib
diff options
context:
space:
mode:
authorheinz <heinz>2008-02-02 16:43:34 +0000
committerheinz <heinz>2008-02-02 16:43:34 +0000
commit037d9e103f41e8a5600aff3c51d9b6eb7cd4a58e (patch)
tree17c9392a1add26e49de1735e6963326972609372 /graphics/imlib
parent04afd1da68f696f6c5b2a0466173159b78ac4d1b (diff)
downloadpkgsrc-037d9e103f41e8a5600aff3c51d9b6eb7cd4a58e.tar.gz
Added support for installation to DESTDIR.
Diffstat (limited to 'graphics/imlib')
-rw-r--r--graphics/imlib/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/imlib/Makefile b/graphics/imlib/Makefile
index 66dc61e26f0..f38529412b8 100644
--- a/graphics/imlib/Makefile
+++ b/graphics/imlib/Makefile
@@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
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 @@ CONFIGURE_ARGS+= --x-includes=${X11PREFIX:Q}/include
.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