Index: head/games/sdl-ball/files/patch-Makefile =================================================================== --- head/games/sdl-ball/files/patch-Makefile (revision 542232) +++ head/games/sdl-ball/files/patch-Makefile (nonexistent) @@ -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 Property changes on: head/games/sdl-ball/files/patch-Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/sdl-ball/files/patch-main.cpp =================================================================== --- head/games/sdl-ball/files/patch-main.cpp (revision 542232) +++ head/games/sdl-ball/files/patch-main.cpp (nonexistent) @@ -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 = ""; Property changes on: head/games/sdl-ball/files/patch-main.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/sdl-ball/files/patch-menu.cpp =================================================================== --- head/games/sdl-ball/files/patch-menu.cpp (revision 542232) +++ head/games/sdl-ball/files/patch-menu.cpp (nonexistent) @@ -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], "-----------------------"); Property changes on: head/games/sdl-ball/files/patch-menu.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/sdl-ball/Makefile =================================================================== --- head/games/sdl-ball/Makefile (revision 542232) +++ head/games/sdl-ball/Makefile (revision 542233) @@ -1,44 +1,42 @@ # Created by: Dmitry Marakasov # $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 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 \ share/pixmaps/${PORTNAME}.png PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/themes/default/icon32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png ${INSTALL_DATA} ${WRKSRC}/sdl-ball.desktop ${STAGEDIR}${PREFIX}/share/applications/ do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include Index: head/games/sdl-ball/distinfo =================================================================== --- head/games/sdl-ball/distinfo (revision 542232) +++ head/games/sdl-ball/distinfo (revision 542233) @@ -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