From 037d9e103f41e8a5600aff3c51d9b6eb7cd4a58e Mon Sep 17 00:00:00 2001 From: heinz Date: Sat, 2 Feb 2008 16:43:34 +0000 Subject: Added support for installation to DESTDIR. --- graphics/imlib/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'graphics/imlib') 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 -- cgit v1.2.3