diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-29 23:01:53 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-29 23:01:53 +0000 |
commit | 26ea797ff15ba518cfc8f0aeebe337aa37da66cf (patch) | |
tree | 5e367561d2fd2a0e21379350aae8f8561765e096 /emulators/openmsx | |
parent | 65b4b75a556a86933b6358082859597505cd6372 (diff) | |
download | pkgsrc-26ea797ff15ba518cfc8f0aeebe337aa37da66cf.tar.gz |
DESTDIR support
Diffstat (limited to 'emulators/openmsx')
-rw-r--r-- | emulators/openmsx/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/emulators/openmsx/Makefile b/emulators/openmsx/Makefile index 85c4bde96de..45e8c5178b0 100644 --- a/emulators/openmsx/Makefile +++ b/emulators/openmsx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2010/01/18 09:58:49 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2010/01/29 23:01:53 joerg Exp $ # DISTNAME= openmsx-0.6.2 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://openmsx.sourceforge.net/ COMMENT= MSX emulator that aims for perfection +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake USE_LANGUAGES= c c++ HAS_CONFIGURE= yes @@ -37,8 +39,11 @@ post-build: ${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@' \ ) > ${WRKSRC}/openmsx.sh +INSTALLATION_DIRS+= bin +INSTALL_MAKE_FLAGS+= OPENMSX_INSTALL=${DESTDIR}${PREFIX}/openmsx + post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${PREFIX}/bin/openmsx + ${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${DESTDIR}${PREFIX}/bin/openmsx .include "../../devel/SDL/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" |