summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorhauke <hauke>2008-08-07 16:19:34 +0000
committerhauke <hauke>2008-08-07 16:19:34 +0000
commit037dab2fea401a92e544979a706b2507d0f1326c (patch)
treeda4b4e70116d2d805bcb2b786e8d9d7ede264490 /emulators
parent6272da651c06b7819b4e9c5aac6f1dfcb73b2351 (diff)
downloadpkgsrc-037dab2fea401a92e544979a706b2507d0f1326c.tar.gz
Install emutos image with the package
Patch a few absolute paths Add MESSAGE file
Diffstat (limited to 'emulators')
-rw-r--r--emulators/aranym/MESSAGE11
-rw-r--r--emulators/aranym/Makefile36
-rw-r--r--emulators/aranym/PLIST10
-rw-r--r--emulators/aranym/distinfo6
-rw-r--r--emulators/aranym/patches/patch-ad20
5 files changed, 77 insertions, 6 deletions
diff --git a/emulators/aranym/MESSAGE b/emulators/aranym/MESSAGE
new file mode 100644
index 00000000000..35f09ff7d9c
--- /dev/null
+++ b/emulators/aranym/MESSAGE
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2008/08/07 16:19:34 hauke Exp $
+
+ For a start, copy the ${PREFIX}/share/doc/aranym/config file
+ to ~/.aranym/config.
+
+ The aranym emulator can either use an image of your
+ Atari Falcon 4.0.4 ROMs, or the EmuTOS image installed
+ in ${PREFIX}/share/aranym/etos512k.img.
+
+===========================================================================
diff --git a/emulators/aranym/Makefile b/emulators/aranym/Makefile
index 95256e8d707..b9b67934fdf 100644
--- a/emulators/aranym/Makefile
+++ b/emulators/aranym/Makefile
@@ -1,9 +1,12 @@
-# $NetBSD: Makefile,v 1.19 2008/07/30 14:08:59 hauke Exp $
+# $NetBSD: Makefile,v 1.20 2008/08/07 16:19:34 hauke Exp $
#
-DISTNAME= aranym-0.9.6beta2
-CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aranym/}
+DISTNAME= aranym-0.9.6beta2
+PKGREVISION= 1
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=aranym/}
+SITES.emutos-512k-0.8.3.zip= ${MASTER_SITE_SOURCEFORGE:=emutos/}
+DISTFILES= aranym-0.9.6beta2.tar.gz emutos-512k-0.8.3.zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://aranym.sourceforge.net/
@@ -16,6 +19,20 @@ MANCOMPRESSED= yes
CONFIGURE_ARGS+= --enable-fullmmu
+EMUTOS_WRKSRC= ${WRKDIR}/emutos-512k-0.8.3
+EMUTOS_DOC_DIR= ${DESTDIR}${PREFIX}/share/doc/aranym/emutos
+EMUTOS_ROM_DIR= ${DESTDIR}${PREFIX}/share/aranym
+
+REQD_DIRS+= ${EMUTOS_ROM_DIR} ${EMUTOS_DOC_DIR}
+
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= post-build
+SUBST_FILES.paths= doc/config
+SUBST_FILES.paths+= doc/aranym.1
+SUBST_SED.paths= -e "s|/usr/share/|${PREFIX}/share/|g"
+SUBST_SED.paths+= -e "s|/usr/local/share/|${PREFIX}/share/|g"
+SUBST_MESSAGE.paths= Fixing hardcoded paths.
+
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
@@ -23,5 +40,16 @@ CONFIGURE_ARGS+= --enable-fullmmu
CONFIGURE_ARGS+= --enable-nfpci
.endif
+post-install:
+ #${INSTALL_DATA_DIR} ${EMUTOS_ROM_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/etos512k.img ${EMUTOS_ROM_DIR}
+ ${INSTALL_DATA_DIR} ${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/readme.txt ${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/announce.txt ${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/authors.txt ${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/changelog.txt ${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/license.txt ${EMUTOS_DOC_DIR}
+ ${INSTALL_DATA} ${EMUTOS_WRKSRC}/doc/status.txt ${EMUTOS_DOC_DIR}
+
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/aranym/PLIST b/emulators/aranym/PLIST
index 37d72d6cdf3..fe8787b85f1 100644
--- a/emulators/aranym/PLIST
+++ b/emulators/aranym/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2008/07/30 14:08:59 hauke Exp $
+@comment $NetBSD: PLIST,v 1.3 2008/08/07 16:19:34 hauke Exp $
bin/aranym
man/man1/aranym-jit.1
man/man1/aranym-mmu.1
@@ -13,6 +13,7 @@ share/aranym/atari/newdesk.inf
share/aranym/atari/sound/README
share/aranym/atari/tools/README
share/aranym/atari/tools/pc101us.kbd.bz2
+share/aranym/etos512k.img
share/aranym/floppy.sh
share/aranym/logo.png
share/aranym/wm_icon.bmp
@@ -26,6 +27,13 @@ share/doc/aranym/README
share/doc/aranym/TODO
share/doc/aranym/changelog
share/doc/aranym/config
+share/doc/aranym/emutos/announce.txt
+share/doc/aranym/emutos/authors.txt
+share/doc/aranym/emutos/changelog.txt
+share/doc/aranym/emutos/license.txt
+share/doc/aranym/emutos/readme.txt
+share/doc/aranym/emutos/status.txt
+@dirrm share/doc/aranym/emutos
@dirrm share/doc/aranym
@dirrm share/aranym/atari/tools
@dirrm share/aranym/atari/sound
diff --git a/emulators/aranym/distinfo b/emulators/aranym/distinfo
index a2712962886..0599769b3a5 100644
--- a/emulators/aranym/distinfo
+++ b/emulators/aranym/distinfo
@@ -1,8 +1,12 @@
-$NetBSD: distinfo,v 1.6 2008/07/30 14:08:59 hauke Exp $
+$NetBSD: distinfo,v 1.7 2008/08/07 16:19:34 hauke Exp $
SHA1 (aranym-0.9.6beta2.tar.gz) = 7f66d0770b58ffcbcff5b3e0c36a5e9310d8df08
RMD160 (aranym-0.9.6beta2.tar.gz) = 512032c46a0a67ac79762ac34dd000e0f03d2231
Size (aranym-0.9.6beta2.tar.gz) = 1527029 bytes
+SHA1 (emutos-512k-0.8.3.zip) = 5edb36b4f959c6ae258f30ac5107fd1a5725215d
+RMD160 (emutos-512k-0.8.3.zip) = ddc0fae3d332425f2b5b551544c78676d412a5be
+Size (emutos-512k-0.8.3.zip) = 211069 bytes
SHA1 (patch-aa) = 8bf0ef529ce3cc2ff4e6436e00bdcf28e4a85905
SHA1 (patch-ab) = 8796751780cc559acd089298f3e8a0918d36db3a
SHA1 (patch-ac) = b9456fced8f9f89f5f9bd388f0329478f775b62f
+SHA1 (patch-ad) = bb8d6b2ecd0c0066f3032a0ef196a1adb51d1786
diff --git a/emulators/aranym/patches/patch-ad b/emulators/aranym/patches/patch-ad
new file mode 100644
index 00000000000..689404890cd
--- /dev/null
+++ b/emulators/aranym/patches/patch-ad
@@ -0,0 +1,20 @@
+$NetBSD: patch-ad,v 1.1 2008/08/07 16:19:34 hauke Exp $
+
+--- doc/config.orig 2008-01-26 12:01:41.000000000 +0100
++++ doc/config
+@@ -5,13 +5,13 @@
+ FastRAM = 0
+
+ # Atari floppy device (GEMDOS A:) is mapped to host floppy block device
+-Floppy = /dev/fd0
++Floppy = /dev/fd0a
+
+ # location of TOS 4.04 ROM image (full path)
+ TOS = /usr/local/share/aranym/ROM
+
+ # location of EmuTOS (full path)
+-EmuTOS =
++EmuTOS = /usr/local/share/aranym/etos512k.img
+
+ # location of FreeMiNT kernel (full path)
+ Bootstrap =