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 | 0bb78c6c9d3855e92497417696475484322d451c (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/ZIPIdent/Makefile | |
parent | 9bd3464e7e916d97f1e733a71b79c48999897987 (diff) | |
download | pkgsrc-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/ZIPIdent/Makefile')
-rw-r--r-- | emulators/ZIPIdent/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/emulators/ZIPIdent/Makefile b/emulators/ZIPIdent/Makefile index 013f0280c4e..8b43fbdfd99 100644 --- a/emulators/ZIPIdent/Makefile +++ b/emulators/ZIPIdent/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/07/08 09:42:33 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/03 19:21:37 jlam Exp $ # DISTNAME= zident28 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.logiqx.com/Tools/ZIPIdent/ZIPIdent.php COMMENT= Identify arcade ROM sets +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}/zipident ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ZIPIdent - ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/ZIPIdent + ${INSTALL_PROGRAM} ${WRKSRC}/zipident ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ZIPIdent + ${INSTALL_DATA} ${WRKSRC}/readme.txt \ + ${DESTDIR}${PREFIX}/share/doc/ZIPIdent .include "../../devel/zlib/buildlink3.mk" .include "../../emulators/DatLib/buildlink3.mk" |