summaryrefslogtreecommitdiff
path: root/emulators/makeppf
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
commit0bb78c6c9d3855e92497417696475484322d451c (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/makeppf
parent9bd3464e7e916d97f1e733a71b79c48999897987 (diff)
downloadpkgsrc-0bb78c6c9d3855e92497417696475484322d451c.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/makeppf')
-rw-r--r--emulators/makeppf/Makefile6
1 files changed, 4 insertions, 2 deletions
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"