diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2010-12-27 20:15:19 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2010-12-27 20:15:19 +0800 |
commit | 3e02e5a21012f99242df98d3674ebabee7911df7 (patch) | |
tree | 1a87bf5190eff1a730f19d1e123a56722dc2cd1f /games | |
parent | a718eaa7688ace440e4e435934c1723beff1fd0c (diff) | |
download | freebsd-ports-gnome-3e02e5a21012f99242df98d3674ebabee7911df7.tar.gz freebsd-ports-gnome-3e02e5a21012f99242df98d3674ebabee7911df7.tar.zst freebsd-ports-gnome-3e02e5a21012f99242df98d3674ebabee7911df7.zip |
INSTEAD was designed to interpret the games that are the mix of visual novels,
text quests and classical 90'ss quests.
WWW: http://instead.google.com/
PR: 153343, 153411
Submitted by: Fluke <neuroworker@gmail.com>
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/instead/Makefile | 36 | ||||
-rw-r--r-- | games/instead/distinfo | 2 | ||||
-rw-r--r-- | games/instead/files/patch-configure | 108 | ||||
-rw-r--r-- | games/instead/files/patch-makefile_games | 11 | ||||
-rw-r--r-- | games/instead/files/patch-makefile_themes | 11 | ||||
-rw-r--r-- | games/instead/pkg-descr | 4 | ||||
-rw-r--r-- | games/instead/pkg-plist | 90 |
8 files changed, 263 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 8fad1a90faba..ebcbb3e9d1e4 100644 --- a/games/Makefile +++ b/games/Makefile @@ -389,6 +389,7 @@ SUBDIR += imaze SUBDIR += inform SUBDIR += inform7 + SUBDIR += instead SUBDIR += intensityengine SUBDIR += interlogic SUBDIR += ioquake3 diff --git a/games/instead/Makefile b/games/instead/Makefile new file mode 100644 index 000000000000..343170cf686e --- /dev/null +++ b/games/instead/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: instead +# Date created: 19 Dec 2010 +# Whom: neuroworker@gmail.com +# +# $FreeBSD$ + +PORTNAME= instead +PORTVERSION= 1.3.1 +CATEGORIES= games +MASTER_SITES= GOOGLE_CODE \ + http://209.44.102.205/FreeBSD/distfiles/ +DISTNAME= instead_${PORTVERSION} + +MAINTAINER= neuroworker@gmail.com +COMMENT= Simple Text Adventure, The Interpreter + +HAS_CONFIGURE= yes +USE_GMAKE= yes +USE_GNOME= pkgconfig gtk20 +USE_LUA= 5.1 +USE_SDL= sdl image ttf mixer + +CONFIGURE_SCRIPT= configure.sh + +WRKSRC= ${WRKDIR}/instead-${PORTVERSION} +MAN6= instead.6 + +PORTDOCS= * + +post-patch: + @${REINPLACE_CMD} -e 's|port_install_prefix|${PREFIX}|' ${WRKSRC}/configure.sh +.if defined(NOPORTDOCS) + @${REINPLACE_CMD} -e '/INSTALL.*DOCPATH/ d' ${WRKSRC}/doc/Makefile +.endif + +.include <bsd.port.mk> diff --git a/games/instead/distinfo b/games/instead/distinfo new file mode 100644 index 000000000000..cf84b52aaa45 --- /dev/null +++ b/games/instead/distinfo @@ -0,0 +1,2 @@ +SHA256 (instead_1.3.1.tar.gz) = 5973be89a22aef26e029f8fc2e4dc82d4ef3e4b57bcb31d8c95a4e61aecfc9ea +SIZE (instead_1.3.1.tar.gz) = 3513339 diff --git a/games/instead/files/patch-configure b/games/instead/files/patch-configure new file mode 100644 index 000000000000..a3a4336e3c50 --- /dev/null +++ b/games/instead/files/patch-configure @@ -0,0 +1,108 @@ +--- configure.sh 2010-10-12 19:06:42.000000000 +0800 ++++ configure.sh 2010-12-24 02:55:29.000000000 +0700 +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!/bin/sh + echo -n "Checking pkg-config..." + if ! pkg-config --version >/dev/null 2>&1; then + echo "error: no pkg-config in \$PATH." +@@ -8,7 +8,7 @@ + + echo -n "Checking pkg-config --cflags zlib..." + if ! pkg-config --cflags zlib >/dev/null 2>&1; then +- if [[ -f /usr/include/zlib.h ]]; then ++ if [ -f /usr/include/zlib.h ]; then + echo "not found, but /usr/include/zlib.h exists..." + zlib_cflags="x" + zlib_libs= +@@ -36,7 +36,7 @@ + + + echo -n "Checking pkg-config --cflags lua[5.1]..." +-if ! pkg-config --cflags lua5.1 >/dev/null 2>&1; then ++if ! pkg-config --cflags lua-5.1 >/dev/null 2>&1; then + if ! pkg-config --cflags lua >/dev/null 2>&1; then + echo "failed: no package lua/lua5.1" + echo "Please install lua development package." +@@ -47,8 +47,8 @@ + lua_libs="pkg-config --libs lua" + else + echo "lua5.1" +- lua_cflags="pkg-config --cflags lua5.1" +- lua_libs="pkg-config --libs lua5.1" ++ lua_cflags="pkg-config --cflags lua-5.1" ++ lua_libs="pkg-config --libs lua-5.1" + fi + + +@@ -140,20 +140,20 @@ + echo -n "Generating config.make..." + echo "# autamatically generated by configure.sh" >config.make + +-if [[ ! -z "$CFLAGS" ]]; then ++if [ ! -z "$CFLAGS" ]; then + echo "EXTRA_CFLAGS+=$CFLAGS" >> config.make + fi + +-if [[ ! -z "$LDFLAGS" ]]; then ++if [ ! -z "$LDFLAGS" ]; then + echo "EXTRA_LDFLAGS+=$LDFLAGS" >> config.make + fi + +-if [[ ! -z "$gtk_cflags" ]]; then ++if [ ! -z "$gtk_cflags" ]; then + echo "EXTRA_CFLAGS+=-D_USE_GTK -D_USE_BROWSE" >> config.make + echo "EXTRA_CFLAGS+=\$(shell $gtk_cflags)" >> config.make + echo "EXTRA_LDFLAGS+=\$(shell $gtk_libs)" >> config.make + fi +-if [[ -z "$zlib_cflags" ]]; then ++if [ -z "$zlib_cflags" ]; then + echo "SUBDIRS=src/zlib" >> config.make + echo "ZLIB_CFLAGS=-I../zlib" >> config.make + echo "ZLIB_LFLAGS=../zlib/libz.a" >> config.make +@@ -169,26 +169,7 @@ + echo "SDL_CFLAGS=\$(shell sdl-config --cflags)" >> config.make + echo "SDL_LFLAGS=\$(shell sdl-config --libs) -lSDL_ttf -lSDL_mixer -lSDL_image" >> config.make + echo "ok" +-echo -n "Choose installation mode. Standalone(1) or system(2) [1]: " +-read ans +-if [ "x$ans" = "x1" -o "x$ans" = "x" ]; then +- echo " * Standalone version" +- rm -f Rules.make +- ln -sf Rules.make.standalone Rules.make +- rm -f sdl-instead +- ln -sf src/sdl-instead/sdl-instead sdl-instead +- echo "Ok. We are ready to build. Use these commands:" +- echo " \$ make" +- echo " \$ ./sdl-instead" +-elif [ "x$ans" = "x2" ]; then +- echo -n "Enter prefix path [/usr/local]: " +- read ans +- +- if [ "x$ans" = "x" ]; then +- prefix="/usr/local" +- else +- prefix="$ans" +- fi ++ prefix="port_install_prefix" + + rm -f Rules.make + ln -s Rules.make.system Rules.make +@@ -204,16 +185,12 @@ + echo "ICONPATH=\$(DESTDIR)\$(PREFIX)/share/pixmaps" >> config.make + echo "DOCPATH=\$(DESTDIR)\$(PREFIX)/share/doc/instead" >> config.make + echo "LANGPATH=\$(DATAPATH)/languages" >> config.make +- echo "MANPATH=\$(DESTDIR)\$(PREFIX)/share/man/man6" >> config.make ++ echo "MANPATH=\$(DESTDIR)\$(PREFIX)/man/man6" >> config.make + + echo "Ok. We are ready to build and install. Use these commands:" + echo " \$ make" + echo " \$ sudo make install" + echo " \$ sdl-instead" +-else +- echo "Huh!!! Wrong answer." +- exit 1 +-fi + + echo " Enjoy..." + diff --git a/games/instead/files/patch-makefile_games b/games/instead/files/patch-makefile_games new file mode 100644 index 000000000000..abdd03e69302 --- /dev/null +++ b/games/instead/files/patch-makefile_games @@ -0,0 +1,11 @@ +--- games/Makefile.orig 2010-10-12 19:06:34.000000000 +0800 ++++ games/Makefile 2010-12-23 11:55:51.000000000 +0700 +@@ -7,7 +7,7 @@ + for f in *; do \ + if [ ! -d $$f ]; then continue; fi;\ + $(INSTALLD) $(GAMESPATH)/$$f; \ +- tar --exclude=".svn" -c -C $$f . | tar -x -C $(GAMESPATH)/$$f;\ ++ tar -cf - -C $$f . | tar -xpf - -C $(GAMESPATH)/$$f; \ + done + + uninstall: diff --git a/games/instead/files/patch-makefile_themes b/games/instead/files/patch-makefile_themes new file mode 100644 index 000000000000..dccc70276e43 --- /dev/null +++ b/games/instead/files/patch-makefile_themes @@ -0,0 +1,11 @@ +--- themes/Makefile.orig 2010-10-12 19:06:32.000000000 +0800 ++++ themes/Makefile 2010-12-23 11:55:51.000000000 +0700 +@@ -8,7 +8,7 @@ + for f in *; do \ + if [ ! -d $$f ]; then continue; fi;\ + $(INSTALLD) $(THEMESPATH)/$$f;\ +- tar --exclude=".svn" -c -C $$f . | tar -x -C $(THEMESPATH)/$$f;\ ++ tar -cf - -C $$f . | tar -xpf - -C $(THEMESPATH)/$$f; \ + done + + uninstall: diff --git a/games/instead/pkg-descr b/games/instead/pkg-descr new file mode 100644 index 000000000000..add0cf2f35c8 --- /dev/null +++ b/games/instead/pkg-descr @@ -0,0 +1,4 @@ +INSTEAD was designed to interpret the games that are the mix of visual novels, +text quests and classical 90'ss quests. + +WWW: http://instead.google.com/ diff --git a/games/instead/pkg-plist b/games/instead/pkg-plist new file mode 100644 index 000000000000..5fe83e7017b0 --- /dev/null +++ b/games/instead/pkg-plist @@ -0,0 +1,90 @@ +bin/instead +bin/sdl-instead +share/applications/instead.desktop +%%DATADIR%%/games/tutorial2-en/main.lua +%%DATADIR%%/games/tutorial2-es/main.lua +%%DATADIR%%/games/tutorial2/instead.png +%%DATADIR%%/games/tutorial2/main.lua +%%DATADIR%%/games/tutorial2/ramparts.mod +%%DATADIR%%/languages/en.ini +%%DATADIR%%/languages/es.ini +%%DATADIR%%/languages/ru.ini +%%DATADIR%%/stead/click.lua +%%DATADIR%%/stead/dash.lua +%%DATADIR%%/stead/dbg.lua +%%DATADIR%%/stead/format.lua +%%DATADIR%%/stead/goto.lua +%%DATADIR%%/stead/gui.lua +%%DATADIR%%/stead/hideinv.lua +%%DATADIR%%/stead/hotkeys.lua +%%DATADIR%%/stead/input.lua +%%DATADIR%%/stead/kbd.lua +%%DATADIR%%/stead/object.lua +%%DATADIR%%/stead/para.lua +%%DATADIR%%/stead/prefs.lua +%%DATADIR%%/stead/quotes.lua +%%DATADIR%%/stead/snapshots.lua +%%DATADIR%%/stead/stead.lua +%%DATADIR%%/stead/theme.lua +%%DATADIR%%/stead/timer.lua +%%DATADIR%%/stead/vars.lua +%%DATADIR%%/stead/xact.lua +%%DATADIR%%/themes/arctic/adown.png +%%DATADIR%%/themes/arctic/aup.png +%%DATADIR%%/themes/arctic/bg.png +%%DATADIR%%/themes/arctic/cursor-use.png +%%DATADIR%%/themes/arctic/cursor.png +%%DATADIR%%/themes/arctic/menu.png +%%DATADIR%%/themes/arctic/theme.ini +%%DATADIR%%/themes/bluesteel/bg.png +%%DATADIR%%/themes/bluesteel/cursor-use.png +%%DATADIR%%/themes/bluesteel/cursor.png +%%DATADIR%%/themes/bluesteel/downarrow.png +%%DATADIR%%/themes/bluesteel/menu.png +%%DATADIR%%/themes/bluesteel/theme.ini +%%DATADIR%%/themes/bluesteel/uparrow.png +%%DATADIR%%/themes/book/book.png +%%DATADIR%%/themes/book/theme.ini +%%DATADIR%%/themes/clearlooks/adown.png +%%DATADIR%%/themes/clearlooks/aup.png +%%DATADIR%%/themes/clearlooks/bg.jpg +%%DATADIR%%/themes/clearlooks/cursor-use.png +%%DATADIR%%/themes/clearlooks/cursor.png +%%DATADIR%%/themes/clearlooks/menu.png +%%DATADIR%%/themes/clearlooks/theme.ini +%%DATADIR%%/themes/default/adown.png +%%DATADIR%%/themes/default/aup.png +%%DATADIR%%/themes/default/bg.png +%%DATADIR%%/themes/default/click.ogg +%%DATADIR%%/themes/default/click.wav +%%DATADIR%%/themes/default/cursor-use.png +%%DATADIR%%/themes/default/cursor.png +%%DATADIR%%/themes/default/menu.png +%%DATADIR%%/themes/default/sans.ttf +%%DATADIR%%/themes/default/theme.ini +%%DATADIR%%/themes/default/use.png +%%DATADIR%%/themes/fantasy/bg.png +%%DATADIR%%/themes/fantasy/down.png +%%DATADIR%%/themes/fantasy/menu.png +%%DATADIR%%/themes/fantasy/theme.ini +%%DATADIR%%/themes/fantasy/up.png +%%DATADIR%%/themes/original/theme.ini +%%DATADIR%%/themes/wide/theme.ini +share/pixmaps/sdl_instead.png +@dirrmtry share/applications +@dirrm %%DATADIR%%/themes/wide +@dirrm %%DATADIR%%/themes/original +@dirrm %%DATADIR%%/themes/fantasy +@dirrm %%DATADIR%%/themes/default +@dirrm %%DATADIR%%/themes/clearlooks +@dirrm %%DATADIR%%/themes/book +@dirrm %%DATADIR%%/themes/bluesteel +@dirrm %%DATADIR%%/themes/arctic +@dirrm %%DATADIR%%/themes +@dirrm %%DATADIR%%/stead +@dirrm %%DATADIR%%/languages +@dirrm %%DATADIR%%/games/tutorial2-es +@dirrm %%DATADIR%%/games/tutorial2-en +@dirrm %%DATADIR%%/games/tutorial2 +@dirrm %%DATADIR%%/games +@dirrm %%DATADIR%% |