From owner-svn-ports-head@freebsd.org Mon Jul 2 16:45:07 2018 Return-Path: Delivered-To: svn-ports-head@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 E08C7102EFAF; Mon, 2 Jul 2018 16:45:06 +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 8D929705DD; Mon, 2 Jul 2018 16:45:06 +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 512BC10178; Mon, 2 Jul 2018 16:45:06 +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 w62Gj6gd026257; Mon, 2 Jul 2018 16:45:06 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w62Gj6GT026256; Mon, 2 Jul 2018 16:45:06 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201807021645.w62Gj6GT026256@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 2 Jul 2018 16:45:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473754 - head/games/blinkensisters X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/games/blinkensisters X-SVN-Commit-Revision: 473754 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.27 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: Mon, 02 Jul 2018 16:45:07 -0000 Author: amdmi3 Date: Mon Jul 2 16:45:05 2018 New Revision: 473754 URL: https://svnweb.freebsd.org/changeset/ports/473754 Log: - Add LICENSE - Switch to USES=localbase - Fix build with clang 6 - Switch to options helpers - Cosmetic fixes Modified: head/games/blinkensisters/Makefile Modified: head/games/blinkensisters/Makefile ============================================================================== --- head/games/blinkensisters/Makefile Mon Jul 2 16:29:32 2018 (r473753) +++ head/games/blinkensisters/Makefile Mon Jul 2 16:45:05 2018 (r473754) @@ -10,14 +10,16 @@ MASTER_SITES= SF/${PORTNAME}/Blinkensisters%20-%20Lost MAINTAINER= amdmi3@FreeBSD.org COMMENT= Parallax-style 2D scrolling platform game +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/DOC/LICENSE + BROKEN_sparc64= does not compile on sparc64 +USES= cmake compiler:c++11-lang localbase perl5 # actually, old gcc fails in theora.h USE_SDL= sdl image ttf USE_PERL5= build -USES= cmake perl5 compiler:c++11-lang # actually, old gcc fails in theora.h -CFLAGS+= -I${LOCALBASE}/include -CXXFLAGS+= -I${LOCALBASE}/include +CXXFLAGS+= -Wno-c++11-narrowing WRKSRC= ${WRKDIR}/blinkensisters/lostpixels/game/software ADDONS_WRKSRC= ${WRKDIR}/blinkensisters/lostpixels/game/addons @@ -49,18 +51,13 @@ SDL_NET_PLIST_FILES= bin/blpmatrix \ THEORA_CMAKE_ON= -DUSE_THEORA:BOOL=ON THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora -.include +ADDONS_VARS= DISTNAME=LostPixels-${PORTVERSION}-source-with-addons \ + PKGNAMESUFFIX=-with-addons +ADDONS_VARS_OFF= DISTNAME=LostPixels-${PORTVERSION}-source -.if ${PORT_OPTIONS:MADDONS} -DISTNAME= LostPixels-${PORTVERSION}-source-with-addons -PKGNAMESUFFIX= -with-addons -.else -DISTNAME= LostPixels-${PORTVERSION}-source -.endif - post-patch: - @${REINPLACE_CMD} -e 's|share/blinkensisters|${DATADIR:S,${PREFIX}/,,}|; \ - s|share/doc/blinkensisters|${DOCSDIR:S,${PREFIX}/,,}|' \ + @${REINPLACE_CMD} -e 's|share/blinkensisters|${DATADIR_REL}|; \ + s|share/doc/blinkensisters|${DOCSDIR_REL}|' \ ${WRKSRC}/CMakeLists.txt post-patch-ADDONS-on: @@ -71,7 +68,7 @@ post-build-ADDONS-on: cd ${ADDONS_WRKSRC} && ${MAKE} post-install-ADDONS-on: - ${MKDIR} ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${ADDONS_WRKSRC}/for_upload/*.bmf ${STAGEDIR}${DATADIR}/ .include