diff options
author | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
commit | 4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7 (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/ZIPIdent | |
parent | 9bb1fb4eb3cd00b14bf35efc1f775513b341c2e6 (diff) | |
download | pkgsrc-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/ZIPIdent')
-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" |