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/minivmac | |
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/minivmac')
-rw-r--r-- | emulators/minivmac/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/emulators/minivmac/Makefile b/emulators/minivmac/Makefile index 21194a538c5..8de417a930e 100644 --- a/emulators/minivmac/Makefile +++ b/emulators/minivmac/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2007/02/19 18:24:54 joerg Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/03 19:21:38 jlam Exp $ DISTNAME= minivmac-0.1.7.src PKGNAME= minivmac-0.1.7 @@ -11,6 +11,8 @@ MAINTAINER= kei@NetBSD.org HOMEPAGE= http://minivmac.sourceforge.net/ COMMENT= Miniature Macintosh emulator +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/minivmac SCRIPTS_ENV+= CC="${CC}" @@ -23,9 +25,9 @@ do-build: cd ${WRKSRC}/tool/bash; ${SETENV} ${SCRIPTS_ENV} ${SH} build do-install: - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_PROGRAM} ${WRKSRC}/drv/minivmac ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/drv/minivmac ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DESTDIR}${DOCDIR} .include "../../x11/libXext/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |