summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /emulators
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/BasiliskII/Makefile13
-rw-r--r--emulators/NeoPop-SDL/Makefile4
-rw-r--r--emulators/bochs/Makefile4
-rw-r--r--emulators/ckmame/Makefile4
-rw-r--r--emulators/dgen/Makefile4
-rw-r--r--emulators/fuse-utils/Makefile4
-rw-r--r--emulators/fuse/Makefile4
-rw-r--r--emulators/pcemu/Makefile6
8 files changed, 31 insertions, 12 deletions
diff --git a/emulators/BasiliskII/Makefile b/emulators/BasiliskII/Makefile
index 7dfa9831578..9a3715074fc 100644
--- a/emulators/BasiliskII/Makefile
+++ b/emulators/BasiliskII/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2007/06/12 12:51:07 joerg Exp $
+# $NetBSD: Makefile,v 1.32 2008/06/12 02:14:29 joerg Exp $
DISTNAME= BasiliskII_src_01052006
PKGNAME= BasiliskII-1.0.20060501
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gwenole.beauchesne.info/projects/basilisk2/
COMMENT= Open Source 68k Macintosh emulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/BasiliskII-1.0
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
@@ -25,11 +27,12 @@ BUILD_DIRS= ${CONFIGURE_DIRS}
CXXFLAGS+=-g -O0
+INSTALLATION_DIRS= share/doc/BasiliskII
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/BasiliskII
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/BasiliskII/
- ${INSTALL_DATA} ${WRKSRC}/TECH ${PREFIX}/share/doc/BasiliskII/
- ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/BasiliskII/
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/BasiliskII/
+ ${INSTALL_DATA} ${WRKSRC}/TECH ${DESTDIR}${PREFIX}/share/doc/BasiliskII/
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${DESTDIR}${PREFIX}/share/doc/BasiliskII/
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/NeoPop-SDL/Makefile b/emulators/NeoPop-SDL/Makefile
index a5f18b3aa4a..e4595d9e6b7 100644
--- a/emulators/NeoPop-SDL/Makefile
+++ b/emulators/NeoPop-SDL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/06/12 16:28:06 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:29 joerg Exp $
#
DISTNAME= NeoPop-SDL-0.2
@@ -11,6 +11,8 @@ MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.nih.at/NeoPop-SDL/
COMMENT= SNK NeoGeo Pocket emulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-png=${BUILDLINK_PREFIX.png}
diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile
index 688347d20d2..ebdcde3b369 100644
--- a/emulators/bochs/Makefile
+++ b/emulators/bochs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2008/01/18 10:21:01 jmmv Exp $
+# $NetBSD: Makefile,v 1.53 2008/06/12 02:14:29 joerg Exp $
DISTNAME= bochs-2.3.6
CATEGORIES= emulators
@@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://bochs.sourceforge.net/
COMMENT= IA32 and AMD64 PC emulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
USE_TOOLS+= gunzip gzip
diff --git a/emulators/ckmame/Makefile b/emulators/ckmame/Makefile
index 222e60dcb8c..1fa2cb6b8c6 100644
--- a/emulators/ckmame/Makefile
+++ b/emulators/ckmame/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/05/25 13:16:11 dillo Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:29 joerg Exp $
#
DISTNAME= ckmame-0.9
@@ -10,6 +10,8 @@ OWNER= dillo@NetBSD.org
HOMEPAGE= http://www.nih.at/ckmame/
COMMENT= Check ROM sets for MAME
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
TEST_TARGET= check
diff --git a/emulators/dgen/Makefile b/emulators/dgen/Makefile
index 290fc9f42c2..722b61a770b 100644
--- a/emulators/dgen/Makefile
+++ b/emulators/dgen/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/12/03 17:07:41 xtraeme Exp $
+# $NetBSD: Makefile,v 1.17 2008/06/12 02:14:29 joerg Exp $
#
DISTNAME= dgen-sdl-1.23
@@ -10,6 +10,8 @@ MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://www.pknet.com/~joe/dgen-sdl.html
COMMENT= Genesis/Megadrive emulator for Unix platforms
+PKG_DESTDIR_SUPPORT= user-destdir
+
.if ${MACHINE_ARCH} == "i386"
DEPENDS+= nasm-[0-9]*:../../devel/nasm
.endif
diff --git a/emulators/fuse-utils/Makefile b/emulators/fuse-utils/Makefile
index c6bb1edf3d6..a62be07f695 100644
--- a/emulators/fuse-utils/Makefile
+++ b/emulators/fuse-utils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/02/04 19:52:54 tnn Exp $
+# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:29 joerg Exp $
DISTNAME= fuse-utils-0.9.0
CATEGORIES= emulators
@@ -8,6 +8,8 @@ MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://fuse-emulator.sourceforge.net/
COMMENT= ZX Spectrum Emulator utilities
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
diff --git a/emulators/fuse/Makefile b/emulators/fuse/Makefile
index b2c931e2be7..8eb2ce0a86c 100644
--- a/emulators/fuse/Makefile
+++ b/emulators/fuse/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2008/01/24 18:32:37 adam Exp $
+# $NetBSD: Makefile,v 1.26 2008/06/12 02:14:29 joerg Exp $
DISTNAME= fuse-0.9.0
CATEGORIES= emulators
@@ -8,6 +8,8 @@ MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://fuse-emulator.sourceforge.net/
COMMENT= ZX Spectrum Emulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl pkg-config
GNU_CONFIGURE= yes
LIBS+= ${LIBOSSAUDIO}
diff --git a/emulators/pcemu/Makefile b/emulators/pcemu/Makefile
index d6fab5f5ccf..b8dc316c8a2 100644
--- a/emulators/pcemu/Makefile
+++ b/emulators/pcemu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/12/01 23:57:23 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:29 joerg Exp $
DISTNAME= pcemu1.01alpha
PKGNAME= pcemu-1.01a
@@ -9,6 +9,8 @@ MASTER_SITES= ${MASTER_SITE_FREEBSD}
MAINTAINER= eric@fox.phoenix.az.us
COMMENT= 8086 PC emulator, by David Hedley
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= bdftopcf mkfontdir
MAKE_ENV+= FILESDIR=${FILESDIR:Q}
@@ -17,6 +19,8 @@ FONTS_DIRS.x11= ${PREFIX}/lib/pcemu/font
REQD_DIRS= ${PREFIX}/lib/pcemu/font
REQD_DIRS+= ${PREFIX}/lib/pcemu
+INSTALL_MAKE_FLAGS= LOCALPREFIX=${DESTDIR}${PREFIX}
+
do-configure:
cd ${WRKSRC}; \
${MKDIR} ${WRKSRC}/bootstrap; \