diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
commit | 06d9c7dce41f5c7499b62388c5645696eb42c1a4 (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/ROMBuild | |
parent | d21f8cb7ef167c68991b38b87d2a2d12b1189509 (diff) | |
download | pkgsrc-06d9c7dce41f5c7499b62388c5645696eb42c1a4.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/ROMBuild')
-rw-r--r-- | emulators/ROMBuild/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/emulators/ROMBuild/Makefile b/emulators/ROMBuild/Makefile index ef3cb7f4973..bff64099f45 100644 --- a/emulators/ROMBuild/Makefile +++ b/emulators/ROMBuild/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/09/10 09:06:36 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= rbuild29 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.logiqx.com/Tools/ROMBuild/ROMBuild.php COMMENT= Arcade ROM manipulation tool +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake WRKSRC= ${WRKDIR} MAKE_FILE= makefile @@ -22,9 +24,10 @@ post-extract: ${MKDIR} ${WRKSRC}/obj do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rombuild ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ROMBuild - ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/ROMBuild + ${INSTALL_PROGRAM} ${WRKSRC}/rombuild ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ROMBuild + ${INSTALL_DATA} ${WRKSRC}/readme.txt \ + ${DESTDIR}${PREFIX}/share/doc/ROMBuild .include "../../devel/zlib/buildlink3.mk" .include "../../emulators/DatLib/buildlink3.mk" |