From owner-svn-ports-head@freebsd.org Sat Nov 4 09:04:32 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D457AE68F63; Sat, 4 Nov 2017 09:04:32 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 961EB65F6F; Sat, 4 Nov 2017 09:04:32 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vA494Vb9054755; Sat, 4 Nov 2017 09:04:31 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA494Vs1054749; Sat, 4 Nov 2017 09:04:31 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201711040904.vA494Vs1054749@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 4 Nov 2017 09:04:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r453444 - in head/games/simplevaders: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/games/simplevaders: . files X-SVN-Commit-Revision: 453444 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Nov 2017 09:04:33 -0000 Author: amdmi3 Date: Sat Nov 4 09:04:31 2017 New Revision: 453444 URL: https://svnweb.freebsd.org/changeset/ports/453444 Log: - Update to 0.8.1 - Fix LICENSE - Switch to USES=localbase - Switch to upstream build - Update WWW Added: head/games/simplevaders/files/patch-Makefile (contents, props changed) Deleted: head/games/simplevaders/files/patch-main.cpp Modified: head/games/simplevaders/Makefile head/games/simplevaders/distinfo head/games/simplevaders/pkg-descr Modified: head/games/simplevaders/Makefile ============================================================================== --- head/games/simplevaders/Makefile Sat Nov 4 08:53:58 2017 (r453443) +++ head/games/simplevaders/Makefile Sat Nov 4 09:04:31 2017 (r453444) @@ -2,34 +2,27 @@ # $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 Modified: head/games/simplevaders/distinfo ============================================================================== --- head/games/simplevaders/distinfo Sat Nov 4 08:53:58 2017 (r453443) +++ head/games/simplevaders/distinfo Sat Nov 4 09:04:31 2017 (r453444) @@ -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 Added: head/games/simplevaders/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/simplevaders/files/patch-Makefile Sat Nov 4 09:04:31 2017 (r453444) @@ -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 Modified: head/games/simplevaders/pkg-descr ============================================================================== --- head/games/simplevaders/pkg-descr Sat Nov 4 08:53:58 2017 (r453443) +++ head/games/simplevaders/pkg-descr Sat Nov 4 09:04:31 2017 (r453444) @@ -4,4 +4,4 @@ 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/