From d6b91adeba5668a57b81a911d8eddf78028e44dc Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 4 Mar 2008 15:39:09 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- graphics/ppmtoxvpic/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'graphics/ppmtoxvpic') diff --git a/graphics/ppmtoxvpic/Makefile b/graphics/ppmtoxvpic/Makefile index cafced81b00..69df149db08 100644 --- a/graphics/ppmtoxvpic/Makefile +++ b/graphics/ppmtoxvpic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/03/04 21:29:51 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/04 15:39:10 jlam Exp $ # PKGNAME= ppmtoxvpic-0.99.9 @@ -8,10 +8,11 @@ CATEGORIES= graphics MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Convert PPM image to preview pic readable by xv and gimp +PKG_DESTDIR_SUPPORT= user-destdir INSTALLATION_DIRS= bin do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/utils/xvpicmaker ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/utils/ppmtoxvpic ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/utils/xvpicmaker ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/utils/ppmtoxvpic ${DESTDIR}${PREFIX}/bin .include "../../x11/dfm/Makefile.common" -- cgit v1.2.3