From 4e1c69a21a8c3b27f885728fefad8ff55fe8cd4e Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Wed, 20 Sep 2000 17:05:56 +0000 Subject: [PATCH] Add dgen-sdl - a SDL version of wonderful Sega Genesis/MegaDrive emulator. --- emulators/Makefile | 1 + emulators/dgen-sdl/Makefile | 23 +++++++++++++++++++ emulators/dgen-sdl/distinfo | 1 + emulators/dgen-sdl/files/Makeflags | 37 ++++++++++++++++++++++++++++++ emulators/dgen-sdl/pkg-comment | 1 + emulators/dgen-sdl/pkg-descr | 3 +++ emulators/dgen-sdl/pkg-plist | 2 ++ 7 files changed, 68 insertions(+) create mode 100644 emulators/dgen-sdl/Makefile create mode 100644 emulators/dgen-sdl/distinfo create mode 100644 emulators/dgen-sdl/files/Makeflags create mode 100644 emulators/dgen-sdl/pkg-comment create mode 100644 emulators/dgen-sdl/pkg-descr create mode 100644 emulators/dgen-sdl/pkg-plist diff --git a/emulators/Makefile b/emulators/Makefile index 6013286d2324..b3db7d96007e 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -9,6 +9,7 @@ SUBDIR += bsvc SUBDIR += cpmemu SUBDIR += cpmtools + SUBDIR += dgen-sdl SUBDIR += dlx SUBDIR += fmsx SUBDIR += frodo diff --git a/emulators/dgen-sdl/Makefile b/emulators/dgen-sdl/Makefile new file mode 100644 index 000000000000..d50c9fdafdfe --- /dev/null +++ b/emulators/dgen-sdl/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: dgen-sdl +# Date created: 20 September 2000 +# Whom: Maxim Sobolev +# +# $FreeBSD$ +# + +PORTNAME= dgen-sdl +PORTVERSION= 1.20a +CATEGORIES= emulators +MASTER_SITES= http://www.humboldt1.com/~ognir/ + +MAINTAINER= sobomax@FreeBSD.org + +BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm +LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl + +GNU_CONFIGURE= yes + +MAN1= dgen.1 +MAN5= dgenrc.5 + +.include diff --git a/emulators/dgen-sdl/distinfo b/emulators/dgen-sdl/distinfo new file mode 100644 index 000000000000..13b38669b748 --- /dev/null +++ b/emulators/dgen-sdl/distinfo @@ -0,0 +1 @@ +MD5 (dgen-sdl-1.20a.tar.gz) = 91c4ba63878fbc3b7f73a34157c62957 diff --git a/emulators/dgen-sdl/files/Makeflags b/emulators/dgen-sdl/files/Makeflags new file mode 100644 index 000000000000..de83567d2f66 --- /dev/null +++ b/emulators/dgen-sdl/files/Makeflags @@ -0,0 +1,37 @@ +# This file contains the template for Makeflags + +SYSTEM = FreeBSD +FEATURES = -DASYNCHRONOUS_IO -DUSE_POSIX_SIGNALS -DUNSIGNED_AUDIO_DATA -DFORCE_XSHM -DNETPLAY + +LOGIC = netlogic + +XPMINCLUDE = +XPMLINKDIR = + +BINDIR = ${PREFIX}/bin +LIBDIR = ${PREFIX}/share/Maelstrom +DATAFILES = Images/*.icon Images/*.cicn "Maelstrom Fonts" \ + "Maelstrom Sounds" "Maelstrom Sprites" + +OBJS = main.o framebuf.o v_framebuf.o x11_framebuf.o vga_framebuf.o \ + dga_framebuf.o fontserv.o sound.o Mac_Resource.o imagedump.o \ + init.o $(LOGIC)/$(LOGIC).o \ + controls.o scores.o dialog.o fastrand.o netscore.o checksum.o \ + Utils.o shared.o myerror.o +SOUNDOBJS = Maelstrom_sound.o Mac_Resource.o soundres.o mixer.o shared.o myerror.o + +X11INCLUDE = -I${X11BASE}/include +INCLUDES = -I$(LOGIC) $(X11INCLUDE) $(XPMINCLUDE) +CFLAGS += $(INCLUDES) $(FEATURES) \ + -pedantic -DSYSTEM=\"$(SYSTEM)\" -DLIBDIR=\"$(LIBDIR)\" +EXTRALIBS = +X11LINKDIR = -L${X11BASE}/lib +X11LIBS = -lXpm $(XPMLINKDIR) -lX11 -lXext $(X11LINKDIR) +CSUMLIB = +LIBS = $(EXTRALIBS) $(X11LIBS) $(CSUMLIB) +SOUNDLIBS = + +INSTALL = install + +all: $(MAELSTROM) + diff --git a/emulators/dgen-sdl/pkg-comment b/emulators/dgen-sdl/pkg-comment new file mode 100644 index 000000000000..ceb8917c87fa --- /dev/null +++ b/emulators/dgen-sdl/pkg-comment @@ -0,0 +1 @@ +A wonderful Sega Genesis/MegaDrive emulator diff --git a/emulators/dgen-sdl/pkg-descr b/emulators/dgen-sdl/pkg-descr new file mode 100644 index 000000000000..6d57dab7ffcc --- /dev/null +++ b/emulators/dgen-sdl/pkg-descr @@ -0,0 +1,3 @@ +DGen is a wonderful Sega Genesis/MegaDrive emulator. + +WWW: http://www.humboldt1.com/~ognir/dgen-sdl.html diff --git a/emulators/dgen-sdl/pkg-plist b/emulators/dgen-sdl/pkg-plist new file mode 100644 index 000000000000..e09365304581 --- /dev/null +++ b/emulators/dgen-sdl/pkg-plist @@ -0,0 +1,2 @@ +bin/dgen +bin/tobin