pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators/pearpc Initial import of pearpc-0.2.0 from p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2462c562bdd7
branches: trunk
changeset: 476773:2462c562bdd7
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Sun Jun 20 19:33:19 2004 +0000
description:
Initial import of pearpc-0.2.0 from pkgsrc-wip.
PearPC is an architecture independent PowerPC platform emulator capable of
running most PowerPC operating systems.
diffstat:
emulators/pearpc/DESCR | 2 +
emulators/pearpc/Makefile | 51 ++++++++++++++++++++++++++++++++++++++++
emulators/pearpc/PLIST | 7 +++++
emulators/pearpc/distinfo | 5 +++
emulators/pearpc/files/pearpc.sh | 6 ++++
5 files changed, 71 insertions(+), 0 deletions(-)
diffs (91 lines):
diff -r 8f544081835d -r 2462c562bdd7 emulators/pearpc/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/pearpc/DESCR Sun Jun 20 19:33:19 2004 +0000
@@ -0,0 +1,2 @@
+PearPC is an architecture independent PowerPC platform emulator capable of
+running most PowerPC operating systems.
diff -r 8f544081835d -r 2462c562bdd7 emulators/pearpc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/pearpc/Makefile Sun Jun 20 19:33:19 2004 +0000
@@ -0,0 +1,51 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/06/20 19:33:20 xtraeme Exp $
+#
+
+DISTNAME= pearpc-0.2.0
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pearpc/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= dotz%irc.pl@localhost
+HOMEPAGE= http://pearpc.sourceforge.net/
+COMMENT= PowerPC emulator
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK3= yes
+USE_PKGINSTALL= yes
+USE_X11= yes
+
+LIBS+= ${PTHREAD_LDFLAGS}
+
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+CONF_FILES= ${EGDIR}/ppccfg.example ${PKG_SYSCONFDIR}/ppccfg.conf
+
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(MACHINE_ARCH:Mi386)
+BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
+CONFIGURE_ARGS+= --enable-cpu=jitc_x86
+.endif
+
+CONFIGURE_ARGS+= --disable-debug
+
+INSTALLATION_DIRS= share/${PKGBASE} bin
+
+do-install:
+ ${SED} -e "s,@PREFIX@,${PREFIX}," \
+ -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR}," \
+ ${FILESDIR}/pearpc.sh > ${WRKSRC}/pearpc.sh
+ ${INSTALL_SCRIPT} ${WRKSRC}/pearpc.sh ${PREFIX}/bin/pearpc
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/ppc ${PREFIX}/share/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/video.x ${PREFIX}/share/${PKGBASE}
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ppccfg.example ${EGDIR}
+
+SUBST_CLASSES= conf
+SUBST_STAGE.conf= post-patch
+SUBST_FILES.conf= ppccfg.example
+SUBST_SED.conf= -e "s|\"nvram\"|\"/tmp/nvram\"|"
+SUBST_MESSAGE.conf= "Fixing configuration file."
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8f544081835d -r 2462c562bdd7 emulators/pearpc/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/pearpc/PLIST Sun Jun 20 19:33:19 2004 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/20 19:33:19 xtraeme Exp $
+bin/pearpc
+share/pearpc/ppc
+share/pearpc/video.x
+share/examples/pearpc/ppccfg.example
+@dirrm share/examples/pearpc
+@dirrm share/pearpc
diff -r 8f544081835d -r 2462c562bdd7 emulators/pearpc/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/pearpc/distinfo Sun Jun 20 19:33:19 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/06/20 19:33:19 xtraeme Exp $
+
+SHA1 (pearpc-0.2.0.tar.bz2) = b83a3cea723c077d8037e7a78015c4c325748dfc
+Size (pearpc-0.2.0.tar.bz2) = 547558 bytes
+SHA1 (patch-aa) = 2eaf48a1303bc07f26d4413ac2a915d3e75194c3
diff -r 8f544081835d -r 2462c562bdd7 emulators/pearpc/files/pearpc.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/pearpc/files/pearpc.sh Sun Jun 20 19:33:19 2004 +0000
@@ -0,0 +1,6 @@
+#!/bin/sh
+#
+# $NetBSD: pearpc.sh,v 1.1.1.1 2004/06/20 19:33:20 xtraeme Exp $
+
+cd @PREFIX@/share/pearpc && exec ./ppc "$@" @PKG_SYSCONFDIR@/ppccfg.conf
+exit 0
Home |
Main Index |
Thread Index |
Old Index