From 4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 19:21:37 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- emulators/makeppf/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'emulators/makeppf') diff --git a/emulators/makeppf/Makefile b/emulators/makeppf/Makefile index 1dd8994df81..0928b2bf168 100644 --- a/emulators/makeppf/Makefile +++ b/emulators/makeppf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/03/24 19:08:51 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 19:21:38 jlam Exp $ # DISTNAME= makeppf3_src @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org #HOMEPAGE= http://www.paradogs.com/pdx_ppf3.htm COMMENT= PPF (Playstation Patch File) v3.0 creation tool +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} do-build: @@ -19,6 +21,6 @@ do-build: -D_LARGEFILE64_SOURCE -o makeppf makeppf3_linux.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/makeppf ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/makeppf ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3