Index: head/games/simplevaders/Makefile =================================================================== --- head/games/simplevaders/Makefile (revision 453443) +++ head/games/simplevaders/Makefile (revision 453444) @@ -1,38 +1,31 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= simplevaders -PORTVERSION= 0.8 -PORTREVISION= 10 +PORTVERSION= 0.8.1 CATEGORIES= games -MASTER_SITES= http://dusted.dk/download/ \ - http://mirror.amdmi3.ru/distfiles/ +MASTER_SITES= http://dusted.dk/pages/simplevaders/ \ + https://mirror.amdmi3.ru/distfiles/ +DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Space-Invaders like 2D space shooter -LICENSE= GPLv3 +LICENSE= GPLv3+ -USES= tar:bzip2 +USES= localbase:ldflags tar:bzip2 USE_SDL= sdl mixer image ttf USE_GL= gl glu -WRKSRC= ${WRKDIR}/${PORTNAME} - PLIST_FILES= bin/${PORTNAME} PORTDATA= * post-patch: @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/main.cpp @${RM} ${WRKSRC}/data/*\~ - -do-build: - (cd ${WRKSRC} && ${CXX} ${CPPFLAGS} ${CXXFLAGS} ${LDFLAGS} main.cpp \ - -o ${PORTNAME} `${SDL_CONFIG} --cflags --libs` -lSDL_ttf \ - -lSDL_mixer -lSDL_image -lGL -lGLU) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} .include Index: head/games/simplevaders/distinfo =================================================================== --- head/games/simplevaders/distinfo (revision 453443) +++ head/games/simplevaders/distinfo (revision 453444) @@ -1,2 +1,3 @@ -SHA256 (simplevaders-0.8.tar.bz2) = dc39e8f1ae0ee51edf6836321705b8f8fb086cfce5a8d55b71a3960aad794da4 -SIZE (simplevaders-0.8.tar.bz2) = 415625 +TIMESTAMP = 1508156950 +SHA256 (simplevaders_0.8.1.tar.bz2) = c08b2c0bd8b60d4f5f3ec6c3a3af734553e17c9e1ad7610c9206774026cf4bf7 +SIZE (simplevaders_0.8.1.tar.bz2) = 398108 Index: head/games/simplevaders/files/patch-main.cpp =================================================================== --- head/games/simplevaders/files/patch-main.cpp (revision 453443) +++ head/games/simplevaders/files/patch-main.cpp (nonexistent) @@ -1,10 +0,0 @@ ---- main.cpp.orig 2013-09-13 20:45:37.434226771 +0400 -+++ main.cpp 2013-09-13 20:46:02.845227068 +0400 -@@ -34,6 +34,7 @@ - #include - #include - #include -+#include // for usleep() - - #define ALIEN_SHOOT_DELAY rand() % 5000/(level/5.0f); - #define NUM_PSYS 20 Property changes on: head/games/simplevaders/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/simplevaders/files/patch-Makefile =================================================================== --- head/games/simplevaders/files/patch-Makefile (nonexistent) +++ head/games/simplevaders/files/patch-Makefile (revision 453444) @@ -0,0 +1,25 @@ +--- Makefile.orig 2016-06-19 09:15:04 UTC ++++ Makefile +@@ -1,6 +1,6 @@ +-CC=g++ +-CFLAGS=-c -Wall +-LDFLAGS=-lGL -lGLU -lSDL -lSDL_ttf -lSDL_mixer -lSDL_image ++CXX?=g++ ++CXXFLAGS+=-c -Wall ++LDFLAGS+=-lGL -lGLU -lSDL -lSDL_ttf -lSDL_mixer -lSDL_image + SOURCES=main.cpp + OBJECTS=$(SOURCES:.cpp=.o) + EXECUTABLE=simplevaders +@@ -8,10 +8,10 @@ EXECUTABLE=simplevaders + all: $(SOURCES) $(EXECUTABLE) + + $(EXECUTABLE): $(OBJECTS) +- $(CC) $(LDFLAGS) $(OBJECTS) -o $@ ++ $(CXX) $(LDFLAGS) $(OBJECTS) -o $@ + + .cpp.o: +- $(CC) $(CFLAGS) $< -o $@ ++ $(CXX) $(CXXFLAGS) $< -o $@ + + clean: + rm *.o Property changes on: head/games/simplevaders/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/simplevaders/pkg-descr =================================================================== --- head/games/simplevaders/pkg-descr (revision 453443) +++ head/games/simplevaders/pkg-descr (revision 453444) @@ -1,7 +1,7 @@ Intense 2D space shooter like Space-Invaders, but not quite. It uses OpenGL and includes particle effects. The objective is to shoot the aliens before they reach the bottom of the screen. -WWW: http://dusted.dk/?view=linux-game-simplevaders +WWW: http://dusted.dk/pages/simplevaders/