diff options
author | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 19:21:37 +0000 |
commit | cdc5e6dd9688136784a32410486ee5582c6bea45 (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/xyame/Makefile | |
parent | 10c92f44a52d654ee28ddd9184c9ea6d81284467 (diff) | |
download | pkgsrc-cdc5e6dd9688136784a32410486ee5582c6bea45.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/xyame/Makefile')
-rw-r--r-- | emulators/xyame/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/emulators/xyame/Makefile b/emulators/xyame/Makefile index 4dcf21d8a25..b3bbc938b7d 100644 --- a/emulators/xyame/Makefile +++ b/emulators/xyame/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/07/29 05:19:25 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/03 19:21:39 jlam Exp $ # DISTNAME= xyame038 @@ -14,13 +14,16 @@ COMMENT= Multi-system emulator (Gameboy, NES, and PC-Engine) EMUL_PLATFORMS= linux-i386 EMUL_MODULES.linux= x11 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} BUILD_DIRS= # empty INSTALLATION_DIRS= bin ${PKGMANDIR}/man6 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xyame ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/yame.6 ${PREFIX}/${PKGMANDIR}/man6/xyame.6 + ${INSTALL_PROGRAM} ${WRKSRC}/xyame ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/yame.6 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xyame.6 .include "../../mk/bsd.pkg.mk" |