From owner-svn-ports-all@freebsd.org Mon May 14 19:31:52 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE1B4E6E4B5; Mon, 14 May 2018 19:31:52 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 910DB761E8; Mon, 14 May 2018 19:31:52 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 72C5F20856; Mon, 14 May 2018 19:31:52 +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 w4EJVqfS015813; Mon, 14 May 2018 19:31:52 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4EJVq2P015811; Mon, 14 May 2018 19:31:52 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201805141931.w4EJVq2P015811@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 14 May 2018 19:31:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469959 - in head/games/stransball2: . files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/games/stransball2: . files X-SVN-Commit-Revision: 469959 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2018 19:31:53 -0000 Author: amdmi3 Date: Mon May 14 19:31:51 2018 New Revision: 469959 URL: https://svnweb.freebsd.org/changeset/ports/469959 Log: - Add LICENSE - Switch to options helpers - Fix build with clang 6.0 Added: head/games/stransball2/files/patch-sources_auxiliar.cpp (contents, props changed) Modified: head/games/stransball2/Makefile Modified: head/games/stransball2/Makefile ============================================================================== --- head/games/stransball2/Makefile Mon May 14 19:31:49 2018 (r469958) +++ head/games/stransball2/Makefile Mon May 14 19:31:51 2018 (r469959) @@ -12,10 +12,13 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION:C/\.//}-linux MAINTAINER= amdmi3@FreeBSD.org COMMENT= Sequel to Transball and Transball 2 THRUST-type games +LICENSE= GPLv2 +LICENSE_FILE= ${BUILD_WRKSRC}/LICENSE + LIB_DEPENDS= libSGE.so:devel/sdl_sge USES= gmake dos2unix zip -DOS2UNIX_FILES= sources/main.cpp +DOS2UNIX_FILES= sources/main.cpp sources/auxiliar.cpp USE_SDL= sdl image mixer sound BUILD_WRKSRC= ${WRKSRC}/sources @@ -37,8 +40,10 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ - cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics sound maps demos' ${STAGEDIR}${DATADIR}/ - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} 'graphics sound maps demos' ${STAGEDIR}${DATADIR}/ + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/ .include Added: head/games/stransball2/files/patch-sources_auxiliar.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/stransball2/files/patch-sources_auxiliar.cpp Mon May 14 19:31:51 2018 (r469959) @@ -0,0 +1,11 @@ +--- sources/auxiliar.cpp.orig 2018-05-14 19:20:42 UTC ++++ sources/auxiliar.cpp +@@ -48,7 +48,7 @@ SDL_Surface *load_maskedimage(char *imag + mask=IMG_Load(name); + + if (tmp==0 || +- mask==0) return false; ++ mask==0) return NULL; + + res=SDL_DisplayFormatAlpha(tmp); +