1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Update to 0.3-1

PR:		121839
Submitted by:	Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
This commit is contained in:
Martin Wilke 2008-03-21 11:43:24 +00:00
parent 9a4699d84b
commit dd784984e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209528
4 changed files with 20 additions and 22 deletions

View File

@ -6,11 +6,11 @@
# #
PORTNAME= randomshooter PORTNAME= randomshooter
DISTVERSION= 0.1-1 DISTVERSION= 0.3-1
CATEGORIES= games CATEGORIES= games
# original url: http://parallelrealities.co.uk/download.php?proj=randomShooter&file=${DISTNAME}&type=zip # original url: http://parallelrealities.co.uk/download.php?proj=randomShooter&file=${DISTNAME}&type=zip
MASTER_SITES= http://www.amdmi3.ru/distfiles/ MASTER_SITES= http://www.amdmi3.ru/distfiles/
DISTNAME= RandomShooter-${DISTVERSION} DISTNAME= randomshooter-${DISTVERSION}
MAINTAINER= amdmi3@amdmi3.ru MAINTAINER= amdmi3@amdmi3.ru
COMMENT= A simple shoot'em up with online scoring and replays COMMENT= A simple shoot'em up with online scoring and replays
@ -18,16 +18,15 @@ COMMENT= A simple shoot'em up with online scoring and replays
USE_GMAKE= yes USE_GMAKE= yes
USE_SDL= sdl mixer image ttf net USE_SDL= sdl mixer image ttf net
WRKSRC= ${WRKDIR}/RandomShooter WRKSRC= ${WRKDIR}/${DISTNAME:S/-1$$//}
PORTDOCS= * PORTDOCS= *
MAKEFILE= makefile MAKEFILE= makefile
MAKE_ENV= CXX="${CXX}" MAKE_ENV= CXX="${CXX}" DATADIR=${DATADIR}/
CXXFLAGS+= -DINSTALL_DIR=\\\"${DATADIR}/\\\"
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.for dir in font gfx music .for dir in font gfx help music
${MKDIR} ${DATADIR}/${dir} ${MKDIR} ${DATADIR}/${dir}
${INSTALL_DATA} ${WRKSRC}/${dir}/* ${DATADIR}/${dir} ${INSTALL_DATA} ${WRKSRC}/${dir}/* ${DATADIR}/${dir}
.endfor .endfor

View File

@ -1,3 +1,3 @@
MD5 (RandomShooter-0.1-1.tar.gz) = 710d334ebaaea7336bb08cfdf61f5839 MD5 (randomshooter-0.3-1.tar.gz) = 8204901f92a9f78f17da80949e592741
SHA256 (RandomShooter-0.1-1.tar.gz) = 7dea906bf6573784953075a81f795451f9dcc158a834c555651698094103a759 SHA256 (randomshooter-0.3-1.tar.gz) = c97eb6792b4c59036cfc440dac05c2b16ab55bdc4002a3d06409fe32e905411c
SIZE (RandomShooter-0.1-1.tar.gz) = 362257 SIZE (randomshooter-0.3-1.tar.gz) = 364623

View File

@ -1,11 +1,15 @@
--- makefile.orig 2008-02-26 00:44:53.000000000 +0300 --- makefile.orig 2008-03-02 14:32:18.000000000 +0300
+++ makefile 2008-02-27 23:28:42.000000000 +0300 +++ makefile 2008-03-18 23:20:03.000000000 +0300
@@ -1,19 +1,19 @@ @@ -1,22 +1,20 @@
VERSION = 0.1 -RELEASE = 0
+RELEASE = 1
VERSION = 0.2
-BINDIR = /usr/games
-DATADIR = /usr/share/games/randomshooter/
-CFLAGS = -Wall -pedantic -Werror -DUNIX -DVERSION=$(VERSION) -CFLAGS = -Wall -pedantic -Werror -DUNIX -DVERSION=$(VERSION) -DINSTALL_DIR=\"$(DATADIR)\" -DRELEASE=$(RELEASE)
-LFLAGS = `sdl-config --libs` -lSDL -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_net -LFLAGS = `sdl-config --libs` -lSDL -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_net
+CXXFLAGS += -Wall -DUNIX -DVERSION=$(VERSION) `${SDL_CONFIG} --cflags` +CXXFLAGS += -Wall -DUNIX -DVERSION=$(VERSION) -DINSTALL_DIR=\"$(DATADIR)\" -DRELEASE=$(RELEASE) `${SDL_CONFIG} --cflags`
+LFLAGS = `${SDL_CONFIG} --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_net +LFLAGS = `${SDL_CONFIG} --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_net
OBJS = animation.o audio.o bullets.o collisions.o colors.o draw.o enemies.o entities.o font.o game.o highscores.o OBJS = animation.o audio.o bullets.o collisions.o colors.o draw.o enemies.o entities.o font.o game.o highscores.o
OBJS += init.o input.o main.o menu.o movement.o particles.o player.o random.o replay.o score.o screenshot.o OBJS += init.o input.o main.o menu.o movement.o particles.o player.o random.o replay.o score.o screenshot.o
@ -24,10 +28,3 @@
# linking the program. # linking the program.
$(PROG): $(OBJS) $(PROG): $(OBJS)
@@ -24,4 +24,4 @@
rm $(PROG) *.o
install:
- echo "make install isn't supported yet..."
\ No newline at end of file
+ echo "make install isn't supported yet..."

View File

@ -48,8 +48,10 @@ bin/randomshooter
%%DATADIR%%/gfx/points_frame0013.png %%DATADIR%%/gfx/points_frame0013.png
%%DATADIR%%/gfx/points_frame0014.png %%DATADIR%%/gfx/points_frame0014.png
%%DATADIR%%/gfx/points_frame0015.png %%DATADIR%%/gfx/points_frame0015.png
%%DATADIR%%/help/help.txt
%%DATADIR%%/music/17.mod %%DATADIR%%/music/17.mod
@dirrm %%DATADIR%%/music @dirrm %%DATADIR%%/music
@dirrm %%DATADIR%%/help
@dirrm %%DATADIR%%/gfx @dirrm %%DATADIR%%/gfx
@dirrm %%DATADIR%%/font @dirrm %%DATADIR%%/font
@dirrm %%DATADIR%% @dirrm %%DATADIR%%