summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit3b0d97b0de8516db29699676c860489da3f7f0e1 (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /emulators
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/atari800/Makefile6
-rw-r--r--emulators/blinkensim/Makefile6
-rw-r--r--emulators/gpsim-devel/Makefile4
-rw-r--r--emulators/gpsim-oscilloscope/Makefile13
-rw-r--r--emulators/gpsim/Makefile11
-rw-r--r--emulators/or1ksim/Makefile4
-rw-r--r--emulators/stella/Makefile4
-rw-r--r--emulators/tme/Makefile4
-rw-r--r--emulators/vice/Makefile4
-rw-r--r--emulators/vice/distinfo3
-rw-r--r--emulators/vice/patches/patch-aa25
-rw-r--r--emulators/vmips/Makefile4
-rw-r--r--emulators/xcopilot/Makefile4
13 files changed, 71 insertions, 21 deletions
diff --git a/emulators/atari800/Makefile b/emulators/atari800/Makefile
index 34b0bb58c60..6cf45ad5a56 100644
--- a/emulators/atari800/Makefile
+++ b/emulators/atari800/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2007/07/20 17:45:54 adam Exp $
+# $NetBSD: Makefile,v 1.42 2008/06/20 01:09:18 joerg Exp $
DISTNAME= atari800-2.0.3
CATEGORIES= emulators
@@ -9,6 +9,8 @@ MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://atari800.sourceforge.net/
COMMENT= Atari 800, 800XL, 130XE and 5200 emulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
RESTRICTED= copyrighted ROM images
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
@@ -33,7 +35,7 @@ post-extract:
post-install:
${INSTALL_DATA} ${WRKDIR}/*.rom ${WRKDIR}/*.xfd ${WRKDIR}/*.atr \
- ${WRKSRC}/atari800.cfg ${PREFIX}/share/atari800/
+ ${WRKSRC}/atari800.cfg ${DESTDIR}${PREFIX}/share/atari800/
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
diff --git a/emulators/blinkensim/Makefile b/emulators/blinkensim/Makefile
index 8a016eecd3b..802385ab6c5 100644
--- a/emulators/blinkensim/Makefile
+++ b/emulators/blinkensim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/04/17 13:46:23 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/20 01:09:18 joerg Exp $
#
DISTNAME= blinkensim-2.2
@@ -10,13 +10,15 @@ MAINTAINER= salo@NetBSD.org
HOMEPAGE= http://www.blinkenlights.de/
COMMENT= Blinkenlights graphics simulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= blinkenthemes>=0.8:../../graphics/blinkenthemes
GNU_CONFIGURE= YES
USE_TOOLS+= pkg-config
post-install:
- cd ${PREFIX}/bin && ${LN} -s blinkensim-gtk blinkensim
+ ln -s blinkensim-gtk ${DESTDIR}${PREFIX}/bin/blinkensim
.include "../../devel/blib/buildlink3.mk"
diff --git a/emulators/gpsim-devel/Makefile b/emulators/gpsim-devel/Makefile
index 5a0ccdeb70e..d06122d3de9 100644
--- a/emulators/gpsim-devel/Makefile
+++ b/emulators/gpsim-devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/01/27 10:58:38 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2008/06/20 01:09:18 joerg Exp $
#
DISTNAME= gpsim-20050905
@@ -10,6 +10,8 @@ MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://www.dattalo.com/gnupic/gpsim.html
COMMENT= PIC emulator with X interface
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
diff --git a/emulators/gpsim-oscilloscope/Makefile b/emulators/gpsim-oscilloscope/Makefile
index 3a36fa969b5..7bd4eb1dac5 100644
--- a/emulators/gpsim-oscilloscope/Makefile
+++ b/emulators/gpsim-oscilloscope/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/06/11 23:51:16 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2008/06/20 01:09:18 joerg Exp $
#
DISTNAME= oscilloscope-0.1.2
@@ -10,6 +10,8 @@ MASTER_SITES= http://www-asim.lip6.fr/~bouyer/pic/
MAINTAINER= bouyer@NetBSD.org
COMMENT= Oscilloscope module for gpsim
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
@@ -18,11 +20,12 @@ USE_LIBTOOL= YES
GCC_REQD+= 3.0
EGDIR= ${PREFIX}/share/examples/gpsim-oscilloscope
+
+INSTALLATION_DIRS= ${EGDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- cd ${WRKSRC}/examples; \
- ${INSTALL_DATA} tst_txdot.asm ${EGDIR}; \
- ${INSTALL_DATA} tst_txdot.stc ${EGDIR};
+ ${INSTALL_DATA} ${WRKSRC}/examples/tst_txdot.asm ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/tst_txdot.stc ${DESTDIR}${EGDIR}
.include "../../emulators/gpsim-devel/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/gpsim/Makefile b/emulators/gpsim/Makefile
index c7ffe6f731e..0d076b6d34a 100644
--- a/emulators/gpsim/Makefile
+++ b/emulators/gpsim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2006/06/11 14:08:28 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2008/06/20 01:09:18 joerg Exp $
#
DISTNAME= gpsim-0.21.11
@@ -9,6 +9,8 @@ MAINTAINER= snoonan@tbearsiberians.com
HOMEPAGE= http://www.dattalo.com/gnupic/gpsim.html
COMMENT= PIC emulator with X interface
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
@@ -16,10 +18,11 @@ USE_TOOLS+= gmake pkg-config
USE_LIBTOOL= YES
USE_GNU_READLINE= YES
+INSTALLATION_DIRS= share/doc/gpsim
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gpsim
- ${INSTALL_DATA} ${WRKSRC}/doc/gpsim.pdf ${PREFIX}/share/doc/gpsim
- ${INSTALL_DATA} ${WRKSRC}/doc/gpsim.ps ${PREFIX}/share/doc/gpsim
+ ${INSTALL_DATA} ${WRKSRC}/doc/gpsim.pdf ${DESTDIR}${PREFIX}/share/doc/gpsim
+ ${INSTALL_DATA} ${WRKSRC}/doc/gpsim.ps ${DESTDIR}${PREFIX}/share/doc/gpsim
.include "../../devel/popt/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
diff --git a/emulators/or1ksim/Makefile b/emulators/or1ksim/Makefile
index 1392ff2a5bb..eb99e9026ae 100644
--- a/emulators/or1ksim/Makefile
+++ b/emulators/or1ksim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/02/23 21:38:59 agc Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/20 01:09:18 joerg Exp $
#
DISTNAME= or1ksim-0.2.0rc2
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.opencores.org/projects.cgi/web/or1k/architectural_simulator
COMMENT= OpenRISC emulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --target=or32
diff --git a/emulators/stella/Makefile b/emulators/stella/Makefile
index 63dd1cd8241..8312a162e19 100644
--- a/emulators/stella/Makefile
+++ b/emulators/stella/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2006/06/12 16:28:07 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2008/06/20 01:09:18 joerg Exp $
STELLA_VERSION= 2.1
DISTNAME= stella-${STELLA_VERSION}-src
@@ -11,6 +11,8 @@ MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://stella.sourceforge.net/
COMMENT= Multi-platform Atari 2600 VCS emulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
diff --git a/emulators/tme/Makefile b/emulators/tme/Makefile
index ecd15c64c9c..c797ad20267 100644
--- a/emulators/tme/Makefile
+++ b/emulators/tme/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/09/07 14:11:51 tsutsui Exp $
+# $NetBSD: Makefile,v 1.16 2008/06/20 01:09:18 joerg Exp $
#
DISTNAME= tme-0.6
@@ -10,6 +10,8 @@ MAINTAINER= skrll@NetBSD.org
# Please do not assign PR's for this package to skrll.
# Instead, assign them to the package author, fredette.
+PKG_DESTDIR_SUPPORT= user-destdir
+
HOMEPAGE= http://csail.mit.edu/~fredette/tme/
COMMENT= The Machine Emulator
diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile
index 4d078e834c8..824ca4c5923 100644
--- a/emulators/vice/Makefile
+++ b/emulators/vice/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2008/01/16 11:11:23 drochner Exp $
+# $NetBSD: Makefile,v 1.78 2008/06/20 01:09:18 joerg Exp $
#
DISTNAME= vice-1.22
@@ -11,6 +11,8 @@ MAINTAINER= kristerw@NetBSD.org
HOMEPAGE= http://www.viceteam.org/
COMMENT= Emulator for C64, C128, CBM-II, PET, and VIC20
+PKG_DESTDIR_SUPPORT= user-destdir
+
RESTRICTED= ROM image copyright is questionable.
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
diff --git a/emulators/vice/distinfo b/emulators/vice/distinfo
index 34a0d4d646a..f147091864d 100644
--- a/emulators/vice/distinfo
+++ b/emulators/vice/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.31 2007/08/30 12:23:00 wiz Exp $
+$NetBSD: distinfo,v 1.32 2008/06/20 01:09:18 joerg Exp $
SHA1 (vice-1.22.tar.gz) = 55e0047824f64173539e03ddd2d5ab51cd581fbb
RMD160 (vice-1.22.tar.gz) = ca93fc424e617e38f27e288ebcdfbab2aa3659db
Size (vice-1.22.tar.gz) = 6088483 bytes
+SHA1 (patch-aa) = 16bc2420025494bee1eb6ed64c7b746f001406f7
SHA1 (patch-af) = 524913b7bc753dafde909bb26ace8f0500be14d5
diff --git a/emulators/vice/patches/patch-aa b/emulators/vice/patches/patch-aa
new file mode 100644
index 00000000000..53a55148cbc
--- /dev/null
+++ b/emulators/vice/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.9 2008/06/20 01:10:02 joerg Exp $
+
+--- po/Makefile.in.in.orig 2008-06-18 16:02:50.000000000 +0000
++++ po/Makefile.in.in
+@@ -116,16 +116,16 @@ install-data: install-data-@USE_NLS@
+ install-data-no: all
+ install-data-yes: all
+ if test -r "$(MKINSTALLDIRS)"; then \
+- $(MKINSTALLDIRS) $(datadir); \
++ $(MKINSTALLDIRS) ${DESTDIR}$(datadir); \
+ else \
+- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
++ $(SHELL) $(top_srcdir)/mkinstalldirs ${DESTDIR}$(datadir); \
+ fi
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ case "$$cat" in \
+- *.gmo) destdir=$(gnulocaledir);; \
+- *) destdir=$(localedir);; \
++ *.gmo) destdir=${DESTDIR}$(gnulocaledir);; \
++ *) destdir=${DESTDIR}$(localedir);; \
+ esac; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+ dir=$$destdir/$$lang/LC_MESSAGES; \
diff --git a/emulators/vmips/Makefile b/emulators/vmips/Makefile
index 2131c532e3c..b2dd4e5fdd9 100644
--- a/emulators/vmips/Makefile
+++ b/emulators/vmips/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/03/04 11:02:24 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/20 01:09:18 joerg Exp $
#
DISTNAME= vmips-1.3.1
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://vmips.sourceforge.net/
COMMENT= MIPS R3000 emulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
INSTALLATION_DIRS= bin include/vmips ${PKGMANDIR}/man1 share/vmips share/examples/vmips
diff --git a/emulators/xcopilot/Makefile b/emulators/xcopilot/Makefile
index 99a1c404b80..a761c99e88c 100644
--- a/emulators/xcopilot/Makefile
+++ b/emulators/xcopilot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/12/27 13:37:36 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2008/06/20 01:09:19 joerg Exp $
#
DISTNAME= xcopilot-0.6.6
@@ -10,6 +10,8 @@ MAINTAINER= nathanw@NetBSD.org
HOMEPAGE= http://xcopilot.cuspy.com/
COMMENT= PalmPilot emulator for X
+PKG_DESTDIR_SUPPORT= user-destdir
+
NOT_FOR_PLATFORM= *-*-alpha # suspected LP64 bugs
GNU_CONFIGURE= YES