diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2006-05-31 14:26:01 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2006-05-31 14:26:01 +0000 |
commit | 154e1c3f0b5c733143cc66fbbf0b4d8e84745eda (patch) | |
tree | c0bd0490169f2d2314018d25d5596cc5dcb80880 | |
parent | 82eec4526f5912a898efe6d05fe33d102f16c8f3 (diff) | |
download | ports-154e1c3f0b5c733143cc66fbbf0b4d8e84745eda.tar.gz ports-154e1c3f0b5c733143cc66fbbf0b4d8e84745eda.zip |
Notes
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/blinkensisters/Makefile | 45 | ||||
-rw-r--r-- | games/blinkensisters/distinfo | 3 | ||||
-rw-r--r-- | games/blinkensisters/files/patch-Makefile | 62 | ||||
-rw-r--r-- | games/blinkensisters/pkg-descr | 7 | ||||
-rw-r--r-- | games/blinkensisters/pkg-plist | 87 |
6 files changed, 205 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 1d1fc0beede9..3531f2006c06 100644 --- a/games/Makefile +++ b/games/Makefile @@ -61,6 +61,7 @@ SUBDIR += biloba SUBDIR += biorythm SUBDIR += blackjack + SUBDIR += blinkensisters SUBDIR += blobandconquer SUBDIR += blobwars SUBDIR += block diff --git a/games/blinkensisters/Makefile b/games/blinkensisters/Makefile new file mode 100644 index 000000000000..85e48359fdec --- /dev/null +++ b/games/blinkensisters/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: blinkensisters +# Date created: 26 Mar 2006 +# Whom: Dmitry Marakasov <amdmi3@mail.ru> +# +# $FreeBSD$ +# + +PORTNAME= blinkensisters +PORTVERSION= 0.3 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= LostPixels_${PORTVERSION}_src + +MAINTAINER= amdmi3@mail.ru +COMMENT= Parallax-style 2D scrolling platform game + +USE_BZIP2= yes +USE_GMAKE= yes +USE_SDL= sdl mixer image ttf + +WRKSRC= ${WRKDIR}/LostPixels_${PORTVERSION} + +MAKE_ARGS= CC="${CC}" + +PORTDOCS= AUTHORS HOWTOPLAY INSTALL README SCRIPTING + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/LostPixels ${PREFIX}/bin/${PORTNAME} + + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/TTF/*.ttf ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/SND/*.ogg ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/GFX/*.bmp ${WRKSRC}/GFX/*.jpg ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/LEVELS/*.dat ${WRKSRC}/LEVELS/*.conf \ + ${WRKSRC}/LEVELS/*.bsl ${DATADIR} + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/games/blinkensisters/distinfo b/games/blinkensisters/distinfo new file mode 100644 index 000000000000..98fe3e388202 --- /dev/null +++ b/games/blinkensisters/distinfo @@ -0,0 +1,3 @@ +MD5 (LostPixels_0.3_src.tar.bz2) = 6b8c669afedeb7246331a05447d1f901 +SHA256 (LostPixels_0.3_src.tar.bz2) = 83e977f31a5fcf2749411850c6d2ec3089c148316ea41f8186a3238e78a8b5fe +SIZE (LostPixels_0.3_src.tar.bz2) = 12149450 diff --git a/games/blinkensisters/files/patch-Makefile b/games/blinkensisters/files/patch-Makefile new file mode 100644 index 000000000000..804c323de572 --- /dev/null +++ b/games/blinkensisters/files/patch-Makefile @@ -0,0 +1,62 @@ +--- Makefile.orig Fri Mar 17 16:03:03 2006 ++++ Makefile Mon Mar 27 01:01:12 2006 +@@ -12,10 +12,9 @@ + + + # Commands to use (I recommend the GNU versions (sometimes called gsed, gcp, gtar, ...) +-CC=g++ ++CC?=cc + GREP=grep + SED=sed +-SDLCONFIG=sdl-config + INSTALL=install + MAKEDEPEND=makedepend + CP=cp +@@ -28,7 +27,7 @@ + BZIP2=bzip2 + RPMBUILD=rpmbuild + +-PREFIX=/usr/local ++PREFIX?=/usr/local + BINDIR=$(PREFIX)/bin + SHAREDIR=$(PREFIX)/share/blinkensisters + DOCDIR=$(PREFIX)/share/doc/blinkensisters +@@ -36,11 +35,8 @@ + # get the version number from globals.h + VERSION=$(shell $(GREP) "^.define.VERSION" globals.h | $(SED) "s/^.define.VERSION.//" ) + +-CFLAGS = -c -Wall -O3 -IBlinkenLUA/headers +-CFLAGS += $(shell $(SDLCONFIG) --cflags) +-CFLAGS += -DRESPATH="\"$(SHAREDIR)/\"" +- +-LDFLAGS = $(shell $(SDLCONFIG) --libs) ++CFLAGS += -c -Wall -IBlinkenLUA/headers `${SDL_CONFIG} --cflags` -DRESPATH="\"$(SHAREDIR)/\"" ++LDFLAGS = `${SDL_CONFIG} --libs` + + + SOURCES = ${wildcard *.cpp BlinkenLUA/source/*.cpp} +@@ -62,7 +58,7 @@ + all: $(EXECUTABLE) + + $(EXECUTABLE): $(OBJECTS) Makefile +- $(CC) $(LDFLAGS) $(OBJECTS) -o $@ -lSDL -lSDL_mixer -lSDL_image -lSDL_ttf ++ $(CC) $(LDFLAGS) $(OBJECTS) -o $@ -lSDL_mixer -lSDL_image -lSDL_ttf + + .cpp.o: Makefile + $(CC) $(CFLAGS) $< -o $@ +@@ -113,8 +109,6 @@ + + + # rule for building dependency lists, and writing them to a file ".depend". +-.depend: $(SOURCES) $(HEADERS) +- $(MAKEDEPEND) -f- -- $(CFLAGS) -- $(SOURCES) $(HEADERS) > .depend + + + tar.gz: clean +@@ -143,4 +137,4 @@ + # include a dependency file if one exists + ifeq (.depend,$(wildcard .depend)) + include .depend +-endif +\ No newline at end of file ++endif diff --git a/games/blinkensisters/pkg-descr b/games/blinkensisters/pkg-descr new file mode 100644 index 000000000000..bb1de0195fa4 --- /dev/null +++ b/games/blinkensisters/pkg-descr @@ -0,0 +1,7 @@ +Blinkensisters is a new Parallax-style 2D scrolling gaming system for Windows, +MacOSX, Linux and POSIX-compatible Unix-Systems (every platform that can run +SDL). + +You can even make your own levels with a simple text-editor. + +WWW: http://blinkensisters.sourceforge.net/ diff --git a/games/blinkensisters/pkg-plist b/games/blinkensisters/pkg-plist new file mode 100644 index 000000000000..44c28cd1b60a --- /dev/null +++ b/games/blinkensisters/pkg-plist @@ -0,0 +1,87 @@ +bin/blinkensisters +%%DATADIR%%/Gaposis Outline (BRK).ttf +%%DATADIR%%/Gas Huffer Phat.ttf +%%DATADIR%%/Ghostmeat.ttf +%%DATADIR%%/bathtiles.bmp +%%DATADIR%%/bs_ingame2.ogg +%%DATADIR%%/fg_door_closed.bmp +%%DATADIR%%/fg_door_open.bmp +%%DATADIR%%/fg_emergency_stop.bmp +%%DATADIR%%/fg_explode_0.bmp +%%DATADIR%%/fg_explode_1.bmp +%%DATADIR%%/fg_explode_2.bmp +%%DATADIR%%/fg_explode_3.bmp +%%DATADIR%%/fg_hint_level0.jpg +%%DATADIR%%/fg_huntingseason.bmp +%%DATADIR%%/fg_huntingseason_neon.bmp +%%DATADIR%%/fg_machine1.bmp +%%DATADIR%%/fg_machine2.bmp +%%DATADIR%%/fg_progress_0.bmp +%%DATADIR%%/fg_progress_1.bmp +%%DATADIR%%/fg_progress_2.bmp +%%DATADIR%%/fg_progress_3.bmp +%%DATADIR%%/fg_progress_4.bmp +%%DATADIR%%/fg_progress_5.bmp +%%DATADIR%%/fg_switch_green.bmp +%%DATADIR%%/fg_switch_red.bmp +%%DATADIR%%/fixme_logo.bmp +%%DATADIR%%/font.bmp +%%DATADIR%%/fx_close_door.ogg +%%DATADIR%%/fx_collect_pixel.ogg +%%DATADIR%%/fx_kill_monster.ogg +%%DATADIR%%/fx_killed.ogg +%%DATADIR%%/fx_level0_hint.ogg +%%DATADIR%%/fx_level_finished.ogg +%%DATADIR%%/fx_open_door.ogg +%%DATADIR%%/gameover.jpg +%%DATADIR%%/gamewon.jpg +%%DATADIR%%/intro.bmp +%%DATADIR%%/introMusic.ogg +%%DATADIR%%/introbg.jpg +%%DATADIR%%/level0.bsl +%%DATADIR%%/level0.conf +%%DATADIR%%/level0.dat +%%DATADIR%%/level1.conf +%%DATADIR%%/level1.dat +%%DATADIR%%/level1.jpg +%%DATADIR%%/level2.conf +%%DATADIR%%/level2.dat +%%DATADIR%%/level2.jpg +%%DATADIR%%/level3.bsl +%%DATADIR%%/level3.conf +%%DATADIR%%/level3.dat +%%DATADIR%%/level3.jpg +%%DATADIR%%/level4.conf +%%DATADIR%%/level4.dat +%%DATADIR%%/level4.jpg +%%DATADIR%%/level5.bsl +%%DATADIR%%/level5.conf +%%DATADIR%%/level5.dat +%%DATADIR%%/level5.jpg +%%DATADIR%%/level6.conf +%%DATADIR%%/level6.dat +%%DATADIR%%/level6.jpg +%%DATADIR%%/level7.conf +%%DATADIR%%/level7.dat +%%DATADIR%%/level7.jpg +%%DATADIR%%/level8.conf +%%DATADIR%%/level8.dat +%%DATADIR%%/livelost.jpg +%%DATADIR%%/loading.jpg +%%DATADIR%%/menuMusic.ogg +%%DATADIR%%/menubg.jpg +%%DATADIR%%/monster1_left.bmp +%%DATADIR%%/monster1_right.bmp +%%DATADIR%%/monster2_left.bmp +%%DATADIR%%/monster2_right.bmp +%%DATADIR%%/monster3_left.bmp +%%DATADIR%%/monster3_right.bmp +%%DATADIR%%/monster4_left.bmp +%%DATADIR%%/monster4_right.bmp +%%DATADIR%%/monster5_left.bmp +%%DATADIR%%/monster5_right.bmp +%%DATADIR%%/sister_moveleft.bmp +%%DATADIR%%/sister_moveright.bmp +%%DATADIR%%/sisters_orient.ogg +%%DATADIR%%/weirdtiles.bmp +@dirrm %%DATADIR%% |