- Update to 1.04
This commit is contained in:
parent
da553b7c53
commit
fc56d228aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542233
5 changed files with 8 additions and 59 deletions
|
@ -2,11 +2,10 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sdl-ball
|
||||
PORTVERSION= 1.03
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.04
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= SF
|
||||
DISTNAME= SDL-Ball_${PORTVERSION}_build-6_src
|
||||
DISTNAME= SDL-Ball_${PORTVERSION}_src
|
||||
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= Arkanoid/Breakout clone with pretty graphics
|
||||
|
@ -14,13 +13,12 @@ COMMENT= Arkanoid/Breakout clone with pretty graphics
|
|||
LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
WRKSRC= ${WRKDIR}/SDL-Ball_source_build_0006_src
|
||||
|
||||
USES= dos2unix gl gmake sdl tar:xz
|
||||
USES= gl gmake sdl tar:xz
|
||||
USE_SDL= sdl mixer image ttf
|
||||
USE_GL= gl glu
|
||||
MAKE_ENV= DATADIR=${DATADIR}/
|
||||
DOS2UNIX_FILES= main.cpp menu.cpp
|
||||
|
||||
WRKSRC= ${WRKDIR}/SDL-Ball_src
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
share/applications/${PORTNAME}.desktop \
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1491830927
|
||||
SHA256 (SDL-Ball_1.03_build-6_src.tar.xz) = 6910a7166d16e3bfe4a67b538d02e25eec0d06276aef399b9143fd246cd76442
|
||||
SIZE (SDL-Ball_1.03_build-6_src.tar.xz) = 4760328
|
||||
TIMESTAMP = 1594756788
|
||||
SHA256 (SDL-Ball_1.04_src.tar.xz) = 2aff75f892f768b1008fa36608ba4579beb1c3b212fe94b9b10fb14f9bb21a47
|
||||
SIZE (SDL-Ball_1.04_src.tar.xz) = 4342304
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
--- Makefile.orig 2016-08-25 16:21:38 UTC
|
||||
+++ Makefile
|
||||
@@ -2,9 +2,9 @@ DATADIR?=themes/
|
||||
|
||||
#append -DWITH_WIIUSE to compile with WIIUSE support!
|
||||
#append -DNOSOUND to compile WITHOUT sound support
|
||||
-CC=g++ -DDATADIR="\"$(DATADIR)\""
|
||||
+CXX?=g++
|
||||
|
||||
-CFLAGS+=-c -Wall `sdl-config --cflags`
|
||||
+CXXFLAGS+=-Wall `sdl-config --cflags` -DDATADIR="\"$(DATADIR)\""
|
||||
|
||||
#append -lwiiuse to compile with WIIUSE support
|
||||
#remove -lSDL_mixer if compiling with -DNOSOUND
|
||||
@@ -18,10 +18,10 @@ EXECUTABLE=sdl-ball
|
||||
all: $(SOURCES) $(EXECUTABLE)
|
||||
|
||||
$(EXECUTABLE): $(OBJECTS)
|
||||
- $(CC) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@
|
||||
+ $(CXX) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@
|
||||
|
||||
.cpp.o:
|
||||
- $(CC) $(CFLAGS) $< -o $@
|
||||
+ $(CXX) -c $(CXXFLAGS) $< -o $@
|
||||
|
||||
clean:
|
||||
rm -f *.o sdl-ball
|
|
@ -1,11 +0,0 @@
|
|||
--- main.cpp.orig 2018-05-14 18:46:05 UTC
|
||||
+++ main.cpp
|
||||
@@ -3762,7 +3762,7 @@ int main (int argc, char *argv[]) {
|
||||
|
||||
difficulty = static_difficulty;
|
||||
|
||||
- cout << "SDL-Ball v "VERSION << endl;
|
||||
+ cout << "SDL-Ball v " VERSION << endl;
|
||||
|
||||
// default to "" (If this have a 0 len after trying to getenv, it defaults to ./)
|
||||
privFile.programRoot = "";
|
|
@ -1,11 +0,0 @@
|
|||
--- menu.cpp.orig 2016-08-25 16:21:38 UTC
|
||||
+++ menu.cpp
|
||||
@@ -204,7 +204,7 @@ public:
|
||||
switch(t)
|
||||
{
|
||||
case 0:
|
||||
- sprintf(highScores[t], "SDL-BALL v "VERSION );
|
||||
+ sprintf(highScores[t], "SDL-BALL v " VERSION );
|
||||
break;
|
||||
case 1:
|
||||
sprintf(highScores[t], "-----------------------");
|
Loading…
Reference in a new issue