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/minivmac | |
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/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" |