aboutsummaryrefslogtreecommitdiffstats
path: root/games/bomberinstinct
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-07-06 01:47:28 +0800
committersobomax <sobomax@FreeBSD.org>2001-07-06 01:47:28 +0800
commit1c3713314808b133d80d0496bc80e81931017488 (patch)
tree319e0d0fb3ebe3fbac072e49864182fc38a9127e /games/bomberinstinct
parenta3e5192d0a2dfc71e700222e0a11fe6a083a802c (diff)
downloadfreebsd-ports-graphics-1c3713314808b133d80d0496bc80e81931017488.tar.gz
freebsd-ports-graphics-1c3713314808b133d80d0496bc80e81931017488.tar.zst
freebsd-ports-graphics-1c3713314808b133d80d0496bc80e81931017488.zip
Update to 0.8.7.
Diffstat (limited to 'games/bomberinstinct')
-rw-r--r--games/bomberinstinct/Makefile19
-rw-r--r--games/bomberinstinct/distinfo2
-rw-r--r--games/bomberinstinct/files/Makeflags37
-rw-r--r--games/bomberinstinct/files/patch-aa26
-rw-r--r--games/bomberinstinct/files/patch-bi.cfg14
-rw-r--r--games/bomberinstinct/pkg-descr2
-rw-r--r--games/bomberinstinct/pkg-plist14
7 files changed, 15 insertions, 99 deletions
diff --git a/games/bomberinstinct/Makefile b/games/bomberinstinct/Makefile
index 97eb92fee87..b18c2c100bf 100644
--- a/games/bomberinstinct/Makefile
+++ b/games/bomberinstinct/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= bomberinstinct
-PORTVERSION= 0.8.21
-PORTREVISION= 1
+PORTVERSION= 0.8.7
CATEGORIES= games
MASTER_SITES= http://harpe.dptmaths.ens-cachan.fr/U/gesbert/dl/
DISTNAME= BomberInstinct-${PORTVERSION}
@@ -16,23 +15,17 @@ MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
-WRKSRC= ${WRKDIR}/BomberInstinct
+WRKSRC= ${WRKDIR}/${DISTNAME}
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_GMAKE= yes
-MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
+USE_LIBTOOL= yes
+CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
+ CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
pre-patch:
@find ${WRKSRC} -name "*.[ch]" | xargs ${PERL} -pi -e 's|<SDL/|<|g'
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/bi ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/Nived/nived ${PREFIX}/bin
- @${INSTALL_PROGRAM} ${WRKSRC}/Spred/spred ${PREFIX}/bin
- @${MKDIR} ${PREFIX}/share/BomberInstinct
- @${INSTALL_DATA} ${WRKSRC}/bi.cfg ${PREFIX}/share/BomberInstinct
- @cd ${WRKSRC}; tar cf - Decors Sprites Niveaux Bruitages | \
- (cd ${PREFIX}/share/BomberInstinct; ${TAR} --unlink -xf - )
-
.include <bsd.port.mk>
diff --git a/games/bomberinstinct/distinfo b/games/bomberinstinct/distinfo
index e8dd9cf8fe7..ab640dd084b 100644
--- a/games/bomberinstinct/distinfo
+++ b/games/bomberinstinct/distinfo
@@ -1 +1 @@
-MD5 (BomberInstinct-0.8.21.tar.gz) = 2d738fc73574b497a1e154b4eeeb2d4a
+MD5 (BomberInstinct-0.8.7.tar.gz) = 1ea1ad0463669aafb733d3e921c85421
diff --git a/games/bomberinstinct/files/Makeflags b/games/bomberinstinct/files/Makeflags
deleted file mode 100644
index de83567d2f6..00000000000
--- a/games/bomberinstinct/files/Makeflags
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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/games/bomberinstinct/files/patch-aa b/games/bomberinstinct/files/patch-aa
deleted file mode 100644
index d6f0154a485..00000000000
--- a/games/bomberinstinct/files/patch-aa
+++ /dev/null
@@ -1,26 +0,0 @@
-
-$FreeBSD$
-
---- Makefile.orig Wed Dec 27 19:04:26 2000
-+++ Makefile Sat Mar 10 12:51:44 2001
-@@ -24,14 +24,15 @@
- ifeq ($(LOCAL),1)
- DATADIR = $(HOME)/BomberInstinct
- else
-- DATADIR = /usr/local/share/BomberInstinct
-+ DATADIR = $(PREFIX)/share/BomberInstinct
- endif
-
-- BINDIR = /usr/local/bin
-- CC = gcc
-- CFLAGS := $(shell sdl-config --cflags) -Wall -O3\
-+ BINDIR = $(PREFIX)/bin
-+ CC? = gcc
-+ CFLAGS_ := $(shell $(SDL_CONFIG) --cflags) -Wall \
- -D$(CIBLE) -DDIR=\"$(DATADIR)\" -DVERSION=\"$(VERSION)\"
-- LIBS := $(shell sdl-config --libs) -lSDL_mixer -lm #-lSDL_image --static
-+ CFLAGS += $(CFLAGS_)
-+ LIBS := $(shell $(SDL_CONFIG) --libs) -lSDL_mixer -lsmpeg -lm #-lSDL_image --static
- endif
- OBJS = sprites.o niveaux.o pouvoirs.o evenements.o options.o son.o intro.o gamelogic.o SFont/SFont.o
- ifeq ($(DEBUG),1)
diff --git a/games/bomberinstinct/files/patch-bi.cfg b/games/bomberinstinct/files/patch-bi.cfg
deleted file mode 100644
index d551d9a2c4e..00000000000
--- a/games/bomberinstinct/files/patch-bi.cfg
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- bi.cfg 2001/03/10 16:10:10 1.1
-+++ bi.cfg 2001/03/10 16:10:29
-@@ -8,7 +8,7 @@
- POINTDAVANCE=1
- CHANGEPERSOS=0
- MODEJEU=0
--LANGUE=0
-+LANGUE=1
-
- NIVEAU=laby.niv
- NIVEAU=manon.niv
diff --git a/games/bomberinstinct/pkg-descr b/games/bomberinstinct/pkg-descr
index f9238334e7b..2c6a087c06d 100644
--- a/games/bomberinstinct/pkg-descr
+++ b/games/bomberinstinct/pkg-descr
@@ -5,4 +5,4 @@ vertically and horizontally, but it's much more strategical because you have to
do with the elements of a maze (arrows, tunnels, teleportations, and many
more...), and with the special powers of each character.
-WWW: http://harpe.dptmaths.ens-cachan.fr/U/gesbert/download.html
+WWW: http://www.bomberinstinct.org/index_en.html
diff --git a/games/bomberinstinct/pkg-plist b/games/bomberinstinct/pkg-plist
index e9a6b3faabe..25de17f194e 100644
--- a/games/bomberinstinct/pkg-plist
+++ b/games/bomberinstinct/pkg-plist
@@ -1,14 +1,17 @@
bin/bi
bin/nived
bin/spred
+share/BomberInstinct/Bruitages/boing.wav
+share/BomberInstinct/Bruitages/bonus.wav
share/BomberInstinct/Bruitages/bouton.wav
-share/BomberInstinct/Bruitages/choix.s3m
share/BomberInstinct/Bruitages/debut.wav
+share/BomberInstinct/Bruitages/ecrantit.wav
share/BomberInstinct/Bruitages/expl.wav
-share/BomberInstinct/Bruitages/fin.wav
share/BomberInstinct/Bruitages/fontaine.wav
+share/BomberInstinct/Bruitages/grosrire.wav
share/BomberInstinct/Bruitages/intro.s3m
-share/BomberInstinct/Bruitages/mort.wav
+share/BomberInstinct/Bruitages/pouv.wav
+share/BomberInstinct/Bruitages/rire.wav
share/BomberInstinct/Bruitages/teleport.wav
share/BomberInstinct/Decors/Bande.bmp
share/BomberInstinct/Decors/Barbare.bmp
@@ -27,6 +30,7 @@ share/BomberInstinct/Decors/mode_0.bmp
share/BomberInstinct/Decors/mode_1.bmp
share/BomberInstinct/Decors/mode_2.bmp
share/BomberInstinct/Niveaux/choix.niv
+share/BomberInstinct/Niveaux/cs.niv
share/BomberInstinct/Niveaux/dedale.niv
share/BomberInstinct/Niveaux/electr.g
share/BomberInstinct/Niveaux/enfer.niv
@@ -73,13 +77,9 @@ share/BomberInstinct/Sprites/grotte.spr
share/BomberInstinct/Sprites/infos.spr
share/BomberInstinct/Sprites/intro.spr
share/BomberInstinct/Sprites/louis.spr
-share/BomberInstinct/Sprites/maagus.spr
share/BomberInstinct/Sprites/magus.spr
share/BomberInstinct/Sprites/menu.spr
-share/BomberInstinct/Sprites/miroirs.spr
share/BomberInstinct/Sprites/murlave.spr
-share/BomberInstinct/Sprites/murnul.spr
-share/BomberInstinct/Sprites/neruis.spr
share/BomberInstinct/Sprites/nived.spr
share/BomberInstinct/Sprites/pschit.spr
share/BomberInstinct/Sprites/puce.spr