diff options
author | wiz <wiz> | 2009-11-10 16:19:57 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-11-10 16:19:57 +0000 |
commit | 3c50bcec48bd762fbbe0a0e562435a75b3625499 (patch) | |
tree | 64a588c341c2af87ff4dc1f76b1cef0e84db57ff /emulators | |
parent | 2ded074e72c20974f2877d39dfa57b75f1fe879e (diff) | |
download | pkgsrc-3c50bcec48bd762fbbe0a0e562435a75b3625499.tar.gz |
Initial import of kegs-0.91 from pkgsrc-wip, packaged by Timothy Larson.
Kent's Emulated GS - an Apple IIgs emulator for Mac OS X, Win32,
Linux, and Unix/X11.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/kegs/DESCR | 2 | ||||
-rw-r--r-- | emulators/kegs/Makefile | 54 | ||||
-rw-r--r-- | emulators/kegs/PLIST | 11 | ||||
-rw-r--r-- | emulators/kegs/distinfo | 13 | ||||
-rw-r--r-- | emulators/kegs/patches/patch-aa | 12 | ||||
-rw-r--r-- | emulators/kegs/patches/patch-ab | 12 | ||||
-rw-r--r-- | emulators/kegs/patches/patch-ac | 12 | ||||
-rw-r--r-- | emulators/kegs/patches/patch-ad | 21 | ||||
-rw-r--r-- | emulators/kegs/patches/patch-ae | 12 | ||||
-rw-r--r-- | emulators/kegs/patches/patch-af | 21 | ||||
-rw-r--r-- | emulators/kegs/patches/patch-ag | 19 | ||||
-rw-r--r-- | emulators/kegs/patches/patch-ah | 21 |
12 files changed, 210 insertions, 0 deletions
diff --git a/emulators/kegs/DESCR b/emulators/kegs/DESCR new file mode 100644 index 00000000000..9d68cb1cc92 --- /dev/null +++ b/emulators/kegs/DESCR @@ -0,0 +1,2 @@ +Kent's Emulated GS - an Apple IIgs emulator for Mac OS X, Win32, +Linux, and Unix/X11. diff --git a/emulators/kegs/Makefile b/emulators/kegs/Makefile new file mode 100644 index 00000000000..4368fa84998 --- /dev/null +++ b/emulators/kegs/Makefile @@ -0,0 +1,54 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/11/10 16:19:57 wiz Exp $ +# + +DISTNAME= kegs.0.91 +PKGNAME= kegs-0.91 +CATEGORIES= emulators +MASTER_SITES= http://kegs.sourceforge.net/ + +MAINTAINER= christtrekker@users.sourceforge.net +HOMEPAGE= http://kegs.sourceforge.net/ +COMMENT= Apple IIgs emulator for Mac OS X, Win32, Linux, and Unix/X11 + +# Official support +ONLY_FOR_PLATFORM= Linux-*-i386 Linux-*-powerpc SunOS-*-i386 SunOS-*-sparc Darwin-*-* HPUX-*-* +# Probably work +ONLY_FOR_PLATFORM+= *-*-i386 *-*-powerpc *-*-x86_64 *-*-ia64 *-*-mips *-*-m68k +PKG_DESTDIR_SUPPORT= user-destdir + +#WRKSRC= ${WRKDIR}/${DISTNAME}/src +CONFIGURE_DIRS= src +BUILD_DIRS= src +USE_TOOLS+= gmake perl +INSTALLATION_DIRS+= bin share/doc/${PKGBASE} share/${PKGBASE} + +# Has problems finding shared libs on some platforms... +CFLAGS+= ${COMPILER_RPATH_FLAG}${X11BASE}/lib + +pre-build: + if [ -L ${WRKSRC}/src/vars ]; then ${RM} ${WRKSRC}/src/vars; fi + @${ECHO} Building for ${OPSYS} on ${MACHINE_ARCH}... + case "${OPSYS}_${MACHINE_ARCH}" in \ + Linux_ppc) ${LN} -s ${WRKSRC}/src/vars_linuxppc ${WRKSRC}/src/vars; break;;\ + Linux_i386) ${LN} -s ${WRKSRC}/src/vars_x86linux ${WRKSRC}/src/vars; break;;\ + SunOS_sparc*) ${LN} -s ${WRKSRC}/src/vars_solaris ${WRKSRC}/src/vars; break;;\ + SunOS_i386) ${LN} -s ${WRKSRC}/src/vars_x86solaris ${WRKSRC}/src/vars; break;;\ + Darwin*) ${LN} -s ${WRKSRC}/src/vars_mac ${WRKSRC}/src/vars; break;; \ + HPUX*) ${LN} -s ${WRKSRC}/src/vars_hp ${WRKSRC}/src/vars; break;; \ + *_i386) ${ECHO} "${OPSYS} on ${MACHINE_ARCH} is not officially supported, but ought to work..."; ${LN} -s ${WRKSRC}/src/vars_x86linux ${WRKSRC}/src/vars; break;;\ + *_ppc) ${ECHO} "${OPSYS} on ${MACHINE_ARCH} is not officially supported, but ought to work..."; ${LN} -s ${WRKSRC}/src/vars_linuxppc ${WRKSRC}/src/vars; break;;\ + *_amd64|*_ia64|*_x86_64) ${ECHO} "${MACHINE_ARCH} is not supported, but might work..."; ${LN} -s ${WRKSRC}/src/vars_x86linux ${WRKSRC}/src/vars; break;;\ + *_mips|*_m68k) ${ECHO} "${MACHINE_ARCH} is not supported, but might work..."; ${LN} -s ${WRKSRC}/src/vars_linuxppc ${WRKSRC}/src/vars; break;;\ + *) ${ECHO} Your platform is not recognized. ;; \ + esac + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xkegs ${DESTDIR}${PREFIX}/bin/xkegs + ${INSTALL_DATA} ${WRKSRC}/*txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} + ${INSTALL_DATA} ${WRKSRC}/config.kegs ${DESTDIR}${PREFIX}/share/${PKGBASE} + +.include "../../x11/xproto/buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../x11/libXext/buildlink3.mk" +.include "../../x11/xextproto/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/kegs/PLIST b/emulators/kegs/PLIST new file mode 100644 index 00000000000..7f75b873b62 --- /dev/null +++ b/emulators/kegs/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2009/11/10 16:19:57 wiz Exp $ +bin/xkegs +share/doc/kegs/CHANGES.txt +share/doc/kegs/COPYING.txt +share/doc/kegs/README.a2.compatibility.txt +share/doc/kegs/README.compile.txt +share/doc/kegs/README.kegs.txt +share/doc/kegs/README.linux.partitions.txt +share/doc/kegs/README.mac.txt +share/doc/kegs/README.win32.txt +share/kegs/config.kegs diff --git a/emulators/kegs/distinfo b/emulators/kegs/distinfo new file mode 100644 index 00000000000..7e27878dff4 --- /dev/null +++ b/emulators/kegs/distinfo @@ -0,0 +1,13 @@ +$NetBSD: distinfo,v 1.1.1.1 2009/11/10 16:19:57 wiz Exp $ + +SHA1 (kegs.0.91.tar.gz) = 7af9f75b07f9346c8179ec929ddb66dbac90567a +RMD160 (kegs.0.91.tar.gz) = fe9f730e0397ce64cd510c90b07277e3a79dceb1 +Size (kegs.0.91.tar.gz) = 805431 bytes +SHA1 (patch-aa) = c84dad2b3c4f165391090cafb217904bfc089cea +SHA1 (patch-ab) = b8f4f183935b8b8a10e3b300fc2d6f107512616d +SHA1 (patch-ac) = 29e407adc69c987b4fd5cb6a045158dfe23e5182 +SHA1 (patch-ad) = 7611606133c7293506e15098f18f000c8f8f13db +SHA1 (patch-ae) = ea631b8202a7ed627fa6140f815b2b899054a621 +SHA1 (patch-af) = 965b0162d3a57a6621ed4a5133785ae51ac63615 +SHA1 (patch-ag) = b242c0d9c817a26fcbbc2e482a6f6a15f6b43adc +SHA1 (patch-ah) = a46251824fae140615965a63f770dcab08947371 diff --git a/emulators/kegs/patches/patch-aa b/emulators/kegs/patches/patch-aa new file mode 100644 index 00000000000..b77226e0c15 --- /dev/null +++ b/emulators/kegs/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/11/10 16:19:57 wiz Exp $ +--- src/Makefile.orig Mon Dec 6 18:42:47 2004 ++++ src/Makefile Mon May 4 11:37:22 2009 +@@ -11,7 +11,7 @@ + + AS = $(CC) + +-XLIBS = -L/usr/X11R6/lib ++XLIBS = -L${X11BASE}/lib + PERL = perl + + all: $(TARGET) diff --git a/emulators/kegs/patches/patch-ab b/emulators/kegs/patches/patch-ab new file mode 100644 index 00000000000..3088a560af3 --- /dev/null +++ b/emulators/kegs/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 2009/11/10 16:19:57 wiz Exp $ +--- src/vars_c.orig 2004-12-06 18:42:47.000000000 -0600 ++++ src/vars_c 2009-11-05 10:30:06.000000000 -0600 +@@ -2,7 +2,7 @@ + TARGET = xkegs + OBJECTS = $(OBJECTS1) xdriver.o + CC = gcc +-CCOPTS = -O ++CCOPTS = ${CFLAGS} + OPTS = -DNDEBUG + SUFFIX = + NAME = xkegs diff --git a/emulators/kegs/patches/patch-ac b/emulators/kegs/patches/patch-ac new file mode 100644 index 00000000000..14504c1ff4c --- /dev/null +++ b/emulators/kegs/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1.1.1 2009/11/10 16:19:57 wiz Exp $ +--- src/vars_hp.orig 2004-12-06 18:42:47.000000000 -0600 ++++ src/vars_hp 2009-11-05 10:30:18.000000000 -0600 +@@ -2,7 +2,7 @@ + TARGET = xkegs + OBJECTS = engine_s.o $(OBJECTS1) sound_driver.o xdriver.o + CC = cc -Ae +DA1.1 +-CCOPTS = -O ++CCOPTS = ${CFLAGS} + OPTS = -DNDEBUG + SUFFIX = + NAME = xkegs diff --git a/emulators/kegs/patches/patch-ad b/emulators/kegs/patches/patch-ad new file mode 100644 index 00000000000..e99e8c79fb5 --- /dev/null +++ b/emulators/kegs/patches/patch-ad @@ -0,0 +1,21 @@ +$NetBSD: patch-ad,v 1.1.1.1 2009/11/10 16:19:57 wiz Exp $ +--- src/vars_linuxppc.orig 2004-12-06 18:42:47.000000000 -0600 ++++ src/vars_linuxppc 2009-11-05 10:30:39.000000000 -0600 +@@ -2,7 +2,7 @@ + TARGET = xkegs + OBJECTS = $(OBJECTS1) xdriver.o + CC = cc +-CCOPTS = -O ++CCOPTS = ${CFLAGS} + OPTS = -DNDEBUG + SUFFIX = + NAME = xkegs +@@ -15,6 +15,6 @@ + AS = cc + PERL = perl + +-XOPTS = -I/usr/X11R6/include +-XLIBS = -L/usr/X11R6/lib ++XOPTS = -I${X11BASE}/include ++XLIBS = -L${X11BASE}/lib + diff --git a/emulators/kegs/patches/patch-ae b/emulators/kegs/patches/patch-ae new file mode 100644 index 00000000000..4c9e7830694 --- /dev/null +++ b/emulators/kegs/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.1.1.1 2009/11/10 16:19:57 wiz Exp $ +--- src/vars_mac.orig 2004-12-06 18:42:47.000000000 -0600 ++++ src/vars_mac 2009-11-05 10:30:51.000000000 -0600 +@@ -1,7 +1,7 @@ + + TARGET = kegsmac + OBJECTS = $(OBJECTS1) macsnd_driver.o macdriver.o +-CCOPTS = -O2 -DMAC ++CCOPTS = ${CFLAGS} -DMAC + SUFFIX = + NAME = kegsmac + diff --git a/emulators/kegs/patches/patch-af b/emulators/kegs/patches/patch-af new file mode 100644 index 00000000000..37af25e0a8c --- /dev/null +++ b/emulators/kegs/patches/patch-af @@ -0,0 +1,21 @@ +$NetBSD: patch-af,v 1.1.1.1 2009/11/10 16:19:57 wiz Exp $ +--- src/vars_solaris.orig 2004-12-06 18:42:47.000000000 -0600 ++++ src/vars_solaris 2009-11-05 10:31:04.000000000 -0600 +@@ -2,7 +2,7 @@ + TARGET = xkegs + OBJECTS = $(OBJECTS1) xdriver.o + CC = cc +-CCOPTS = -O ++CCOPTS = ${CFLAGS} + OPTS = -DNDEBUG -DSOLARIS + SUFFIX = + NAME = xkegs +@@ -15,6 +15,6 @@ + AS = cc + PERL = perl + +-XOPTS = -I/usr/X/include +-XLIBS = -L/usr/X/lib ++XOPTS = -I${X11BASE}/include ++XLIBS = -L${X11BASE}/lib + diff --git a/emulators/kegs/patches/patch-ag b/emulators/kegs/patches/patch-ag new file mode 100644 index 00000000000..18960d40b20 --- /dev/null +++ b/emulators/kegs/patches/patch-ag @@ -0,0 +1,19 @@ +$NetBSD: patch-ag,v 1.1.1.1 2009/11/10 16:19:57 wiz Exp $ +--- src/vars_x86linux.orig 2004-12-06 18:42:47.000000000 -0600 ++++ src/vars_x86linux 2009-11-05 10:31:37.000000000 -0600 +@@ -2,7 +2,7 @@ + TARGET = xkegs + OBJECTS = $(OBJECTS1) xdriver.o + CC = cc +-CCOPTS = -O2 -Wall -fomit-frame-pointer -march=pentium ++CCOPTS = ${CFLAGS} + OPTS = -DKEGS_LITTLE_ENDIAN + SUFFIX = + NAME = xkegs +@@ -15,5 +15,5 @@ + AS = cc + PERL = perl + +-XOPTS = -I/usr/X11R6/include ++XOPTS = -I${X11BASE}/include + diff --git a/emulators/kegs/patches/patch-ah b/emulators/kegs/patches/patch-ah new file mode 100644 index 00000000000..f59bb98bc40 --- /dev/null +++ b/emulators/kegs/patches/patch-ah @@ -0,0 +1,21 @@ +$NetBSD: patch-ah,v 1.1.1.1 2009/11/10 16:19:57 wiz Exp $ +--- src/vars_x86solaris.orig 2004-12-06 18:42:47.000000000 -0600 ++++ src/vars_x86solaris 2009-11-05 10:31:54.000000000 -0600 +@@ -2,7 +2,7 @@ + TARGET = xkegs + OBJECTS = $(OBJECTS1) xdriver.o + CC = gcc +-CCOPTS = -O ++CCOPTS = ${CFLAGS} + OPTS = -DNDEBUG -DSOLARIS -DKEGS_LITTLE_ENDIAN -DSOLARISSOUND + SUFFIX = + NAME = xkegs +@@ -15,6 +15,6 @@ + AS = cc + PERL = perl + +-XOPTS = -I/usr/X/include +-XLIBS = -L/usr/X/lib ++XOPTS = -I${X11BASE}/include ++XLIBS = -L${X11BASE}/lib + |