From 5258e5af025ff16e9de3ce23658f8e6caa498fcf Mon Sep 17 00:00:00 2001 From: vs Date: Mon, 26 Jul 2004 07:29:31 +0000 Subject: Move emulators/freesci to games PR: ports/68106 Submitted by: Radim Kolar --- emulators/Makefile | 1 - emulators/freesci/Makefile | 103 --------------------- emulators/freesci/distinfo | 2 - emulators/freesci/files/patch-configure | 11 --- .../patch-src::gdx::drivers::directfb_driver.c | 11 --- .../freesci/files/patch-src::sound::pcmout_oss.c | 18 ---- .../freesci/files/patch-src::sound::pcmout_sdl.c | 35 ------- emulators/freesci/pkg-descr | 15 --- emulators/freesci/pkg-plist | 23 ----- 9 files changed, 219 deletions(-) delete mode 100644 emulators/freesci/Makefile delete mode 100644 emulators/freesci/distinfo delete mode 100644 emulators/freesci/files/patch-configure delete mode 100644 emulators/freesci/files/patch-src::gdx::drivers::directfb_driver.c delete mode 100644 emulators/freesci/files/patch-src::sound::pcmout_oss.c delete mode 100644 emulators/freesci/files/patch-src::sound::pcmout_sdl.c delete mode 100644 emulators/freesci/pkg-descr delete mode 100644 emulators/freesci/pkg-plist (limited to 'emulators') diff --git a/emulators/Makefile b/emulators/Makefile index 3f6d61e..c1a8509 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -22,7 +22,6 @@ SUBDIR += extract-xiso SUBDIR += fceu SUBDIR += fmsx - SUBDIR += freesci SUBDIR += frodo SUBDIR += fuse SUBDIR += gbe diff --git a/emulators/freesci/Makefile b/emulators/freesci/Makefile deleted file mode 100644 index f5afe8e..0000000 --- a/emulators/freesci/Makefile +++ /dev/null @@ -1,103 +0,0 @@ -# New ports collection makefile for: freesci -# Date created: 17 December 2000 -# Whom: George Reid -# -# $FreeBSD$ -# - -PORTNAME= freesci -PORTVERSION= 0.3.4c -CATEGORIES= emulators games -MASTER_SITES= ${MASTER_SITE_SAVANNAH} \ - http://teksolv.de/~jameson/ -MASTER_SITE_SUBDIR=${PORTNAME}/stable.pkg/${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= A portable interpreter for SCI games, such as the Space Quest series - -USE_BZIP2= yes -USE_REINPLACE= yes -USE_XLIB= yes -GNU_CONFIGURE= yes -WANT_SDL= yes - -CONFIGURE_TARGET= -CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" - -MAN6= freesci-tools.6 freesci.6 - -.include - -.if defined(WITH_OPTIMIZED_CFLAGS) -CFLAGS= -O3 -fexpensive-optimizations -fomit-frame-pointer -funroll-loops \ - -fstrict-aliasing -.if ${ARCH} != "alpha" -CFLAGS+= -ffast-math -.endif -.endif - -.if ${HAVE_SDL:Msdl}!="" -WITH_SDL= yes -.endif -.if exists(${LOCALBASE}/lib/libdirectfb-0.9.so.16) -WITH_DIRECTFB= yes -.endif -.if exists(${LOCALBASE}/lib/libggi.so.2) -WITH_GGI= yes -.endif - -.if defined(WITH_CONSOLE) -CONFIGURE_ARGS+= --with-console -.endif - -.if defined(WITH_SDL) && !defined(WITHOUT_SDL) -USE_SDL= yes -CONFIGURE_ARGS= --with-sdl-prefix=${LOCALBASE} -.else -CONFIGURE_ARGS+= --without-sdl -.endif - -.if defined(WITH_DIRECTFB) && !defined(WITHOUT_DIRECTFB) -LIB_DEPENDS+= directfb-0.9.16:${PORTSDIR}/devel/directfb -CONFIGURE_ARGS+= --with-directfb-include=${LOCALBASE}/include/directfb \ - --with-directfb-libraries=${LOCALBASE}/lib -.else -CONFIGURE_ARGS+= --without-directfb -.endif - -.if defined(WITH_GGI) && !defined(WITHOUT_GGI) -LIB_DEPENDS+= ggi.2:${PORTSDIR}/graphics/libggi -CONFIGURE_ARGS+= --with-ggi-dir=${LOCALBASE} -.else -CONFIGURE_ARGS+= --without-ggi -.endif - -pre-everything:: -.if !defined(WITH_CONSOLE) - @${ECHO_MSG} "Define WITH_CONSOLE to build console support" -.endif -.if !defined(WITH_SDL) - @${ECHO_MSG} "Define WITH_SDL to build with SDL support" -.endif -.if !defined(WITH_GGI) - @${ECHO_MSG} "Define WITH_GGI to build with GGI support" -.endif -.if !defined(WITH_DIRECTFB) - @${ECHO_MSG} "Define WITH_DIRECTFB to build with DirectFB support" -.endif -.if !defined(WITH_OPTIMIZED_CFLAGS) - @${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to build with extra optimizations" -.endif - -pre-configure: - @${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure - -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/games/freesci - @${INSTALL_DATA} ${WRKSRC}/doc/sci.sgml ${WRKSRC}/doc/freesci.sgml \ - ${WRKSRC}/doc/game-list.sgml ${WRKSRC}/doc/sci-kernel.sgml \ - ${PREFIX}/share/games/freesci -.endif - -.include diff --git a/emulators/freesci/distinfo b/emulators/freesci/distinfo deleted file mode 100644 index 32ed6e8..0000000 --- a/emulators/freesci/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (freesci-0.3.4c.tar.bz2) = 2ec3240460316cb2901371d07662b1c4 -SIZE (freesci-0.3.4c.tar.bz2) = 953374 diff --git a/emulators/freesci/files/patch-configure b/emulators/freesci/files/patch-configure deleted file mode 100644 index d759c95..0000000 --- a/emulators/freesci/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig Thu Apr 8 04:19:41 2004 -+++ configure Sat Jun 12 16:07:07 2004 -@@ -9619,6 +9619,8 @@ - - fi - -+CFLAGS="$X_CFLAGS $CFLAGS" -+CPPFLAGS="$X_CFLAGS $CPPFLAGS" - - if test x"$have_x" = xyes; then - diff --git a/emulators/freesci/files/patch-src::gdx::drivers::directfb_driver.c b/emulators/freesci/files/patch-src::gdx::drivers::directfb_driver.c deleted file mode 100644 index bd2109f..0000000 --- a/emulators/freesci/files/patch-src::gdx::drivers::directfb_driver.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/gfx/drivers/directfb_driver.c.orig Thu Feb 20 17:37:19 2003 -+++ src/gfx/drivers/directfb_driver.c Thu Feb 20 17:37:46 2003 -@@ -611,7 +611,7 @@ - - switch (pixel_format) { - -- case DSPF_RGB15: -+ case DSPF_ARGB1555: - *bytespp = 2; - *rm = 5; _rs = 10; - *gm = 5; _gs = 5; diff --git a/emulators/freesci/files/patch-src::sound::pcmout_oss.c b/emulators/freesci/files/patch-src::sound::pcmout_oss.c deleted file mode 100644 index 41333d0..0000000 --- a/emulators/freesci/files/patch-src::sound::pcmout_oss.c +++ /dev/null @@ -1,18 +0,0 @@ ---- src/sound/pcmout_oss.c.orig Thu Feb 20 20:52:48 2003 -+++ src/sound/pcmout_oss.c Thu Feb 20 21:02:06 2003 -@@ -75,6 +75,15 @@ - return -1; - } - -+/* Some OSS don't define the native endian */ -+#ifndef AFMT_S16_NE -+ #if defined __i386__ || defined __alpha__ -+ #define AFMT_S16_NE AFMT_S16_LE -+ #elif defined __mips__ -+ #define AFMT_S16_NE AFMT_S16_BE -+ #endif -+ /* FIXME are these correct? */ -+#endif - i = AFMT_S16_NE; /* Use NATIVE endian format... */ - if (ioctl (oss_fd, SNDCTL_DSP_SETFMT, &i)) { - fprintf(stderr, "[PCM-OSS] Failed to set device output format\n"); diff --git a/emulators/freesci/files/patch-src::sound::pcmout_sdl.c b/emulators/freesci/files/patch-src::sound::pcmout_sdl.c deleted file mode 100644 index eb10e31..0000000 --- a/emulators/freesci/files/patch-src::sound::pcmout_sdl.c +++ /dev/null @@ -1,35 +0,0 @@ ---- src/gfx/drivers/sdl_driver.c.orig Tue Feb 4 21:12:10 2003 -+++ src/gfx/drivers/sdl_driver.c Tue Feb 4 21:16:42 2003 -@@ -45,7 +45,7 @@ - - #ifndef _MSC_VER - # include --# include -+# include - #else - # include - #endif ---- src/sound/thread_ss_sdl.c.orig Tue Feb 4 21:15:31 2003 -+++ src/sound/thread_ss_sdl.c Tue Feb 4 21:16:25 2003 -@@ -32,8 +32,8 @@ - #ifdef HAVE_SDL - - #ifndef _MSC_VER --# include --# include -+# include -+# include - # include - #else - # include ---- src/sound/pcmout_sdl.c.orig Tue Feb 4 21:15:37 2003 -+++ src/sound/pcmout_sdl.c Tue Feb 4 21:16:32 2003 -@@ -23,7 +23,7 @@ - - #ifndef _MSC_VER - # include --# include -+# include - #else - # include - #endif diff --git a/emulators/freesci/pkg-descr b/emulators/freesci/pkg-descr deleted file mode 100644 index 6e5c25b6..0000000 --- a/emulators/freesci/pkg-descr +++ /dev/null @@ -1,15 +0,0 @@ -FreeSCI is a portable interpreter for SCI games, such as the Space Quest -series (starting with SQ3) or Leisure Suit Larry (2 and sequels). - -This release has the following limitations (plus some bugs): - -- Only SCI0 games are supported -- The SCI debug functions aren't fully supported (and probably never will be, - since we're using our own debug functions). -- Sound is not supported yet -- Graphics are slow, especially on displays not using 8bpp color index mode. - -- George Reid -greid@ukug.uk.freebsd.org - -WWW: http://freesci.linuxgames.com/ diff --git a/emulators/freesci/pkg-plist b/emulators/freesci/pkg-plist deleted file mode 100644 index 7a9fc36..0000000 --- a/emulators/freesci/pkg-plist +++ /dev/null @@ -1,23 +0,0 @@ -bin/sciconsole -bin/scidisasm -bin/sciunpack -bin/scipack -bin/freesci -bin/freesci-setup -bin/sciv -share/applnk/Games/Adventure/FreeSCI.desktop -@unexec rmdir %D/share/applnk/Games/Adventure 2>/dev/null || true -@unexec rmdir %D/share/applnk/Games 2>/dev/null || true -@unexec rmdir %D/share/applnk 2>/dev/null || true -share/icons/hicolor/48x48/apps/freesci.png -@unexec rmdir %D/share/icons/hicolor/48x48/apps 2>/dev/null || true -@unexec rmdir %D/share/icons/hicolor/48x48 2>/dev/null || true -@unexec rmdir %D/share/icons/hicolor 2>/dev/null || true -@unexec rmdir %D/share/icons 2>/dev/null || true -share/games/freesci/config.template -%%PORTDOCS%%share/games/freesci/sci.sgml -%%PORTDOCS%%share/games/freesci/sci-kernel.sgml -%%PORTDOCS%%share/games/freesci/freesci.sgml -%%PORTDOCS%%share/games/freesci/game-list.sgml -@dirrm share/games/freesci -@unexec rmdir %D/share/games 2>/dev/null || true -- cgit v1.1