summaryrefslogtreecommitdiff
path: root/emulators/makeppf
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 19:21:37 +0000
committerjlam <jlam>2008-03-03 19:21:37 +0000
commit4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7 (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/makeppf
parent9bb1fb4eb3cd00b14bf35efc1f775513b341c2e6 (diff)
downloadpkgsrc-4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7.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"