From 3b0d97b0de8516db29699676c860489da3f7f0e1 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 20 Jun 2008 01:09:05 +0000 Subject: Add DESTDIR support. --- graphics/gdk-pixbuf/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'graphics/gdk-pixbuf') diff --git a/graphics/gdk-pixbuf/Makefile b/graphics/gdk-pixbuf/Makefile index 3ef58e8cea9..93bbcefd732 100644 --- a/graphics/gdk-pixbuf/Makefile +++ b/graphics/gdk-pixbuf/Makefile @@ -1,5 +1,6 @@ -# $NetBSD: Makefile,v 1.36 2007/08/10 20:43:17 gdt Exp $ +# $NetBSD: Makefile,v 1.37 2008/06/20 01:09:21 joerg Exp $ # +PKG_DESTDIR_SUPPORT= user-destdir .include "Makefile.common" @@ -18,9 +19,6 @@ post-configure: ${MV} ${WRKSRC}/.tmp ${WRKSRC}/Makefile post-install: - ${TEST} ${PREFIX} = ${LOCALBASE} || \ - ${LN} -fs ${PREFIX}/share/aclocal/gdk-pixbuf.m4 \ - ${LOCALBASE}/share/aclocal/gdk-pixbuf.m4 - ${RM} ${PREFIX}/lib/gnomecanvaspixbufConf.sh + ${RM} ${DESTDIR}${PREFIX}/lib/gnomecanvaspixbufConf.sh .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3