Date: Mon, 1 Dec 2014 00:10:06 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r373698 - in head/games/sdl-ball: . files Message-ID: <201412010010.sB10A69T070587@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Dec 1 00:10:05 2014 New Revision: 373698 URL: https://svnweb.freebsd.org/changeset/ports/373698 QAT: https://qat.redports.org/buildarchive/r373698/ Log: - Update to 1.02 - Clarify LICENSE - Add .desktop file and icon Added: head/games/sdl-ball/files/patch-Makefile (contents, props changed) Deleted: head/games/sdl-ball/files/patch-main.cpp Modified: head/games/sdl-ball/Makefile head/games/sdl-ball/distinfo Modified: head/games/sdl-ball/Makefile ============================================================================== --- head/games/sdl-ball/Makefile Mon Dec 1 00:08:18 2014 (r373697) +++ head/games/sdl-ball/Makefile Mon Dec 1 00:10:05 2014 (r373698) @@ -2,15 +2,14 @@ # $FreeBSD$ PORTNAME= sdl-ball -PORTVERSION= 1.01 -PORTREVISION= 8 +PORTVERSION= 1.02 CATEGORIES= games MASTER_SITES= SF MAINTAINER= amdmi3@FreeBSD.org COMMENT= Arkanoid/Breakout clone with pretty graphics -LICENSE= GPLv3 +LICENSE= GPLv3 # or later LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= tar:bzip2 dos2unix gmake @@ -19,24 +18,21 @@ USE_GL= gl glu MAKE_ENV= DATADIR=${DATADIR}/ DOS2UNIX_FILES= main.cpp -WRKSRC= ${WRKDIR}/${PORTNAME} - -PLIST_FILES= bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} \ + share/applications/${PORTNAME}.desktop \ + share/pixmaps/${PORTNAME}.png PORTDOCS= * PORTDATA= * OPTIONS_DEFINE= DOCS -do-build: - cd ${WRKSRC} && ${CXX} ${CXXFLAGS} `${SDL_CONFIG} --cflags --libs` \ - -lGL -lGLU -lSDL_image -lSDL_ttf -lSDL_mixer \ - -DDATADIR="\"${DATADIR}/\"" main.cpp -o ${PORTNAME} - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/themes && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/themes/default/icon32.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png + ${INSTALL_DATA} ${WRKSRC}/sdl-ball.desktop ${STAGEDIR}${PREFIX}/share/applications/ .include <bsd.port.mk> Modified: head/games/sdl-ball/distinfo ============================================================================== --- head/games/sdl-ball/distinfo Mon Dec 1 00:08:18 2014 (r373697) +++ head/games/sdl-ball/distinfo Mon Dec 1 00:10:05 2014 (r373698) @@ -1,2 +1,2 @@ -SHA256 (sdl-ball-1.01.tar.bz2) = 85e2a857c8c318e81732e3c1e843fc70d7199fa83e2f4efc42239ebbe8d7b9e6 -SIZE (sdl-ball-1.01.tar.bz2) = 3467329 +SHA256 (sdl-ball-1.02.tar.bz2) = 03ae91c0ddbcf055a224b765da55dc5c8417e9b09971eb56280c8e602ba01423 +SIZE (sdl-ball-1.02.tar.bz2) = 3286131 Added: head/games/sdl-ball/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/sdl-ball/files/patch-Makefile Mon Dec 1 00:10:05 2014 (r373698) @@ -0,0 +1,27 @@ +--- Makefile.orig 2008-12-31 03:42:35.000000000 +0300 ++++ Makefile 2014-12-01 00:26:16.000000000 +0300 +@@ -2,9 +2,9 @@ + + #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 @@ + 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412010010.sB10A69T070587>