From owner-svn-ports-all@freebsd.org Mon Jan 9 10:05:37 2017 Return-Path: Delivered-To: svn-ports-all@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 2A3FBCA6150; Mon, 9 Jan 2017 10:05:37 +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 EFB2E1385; Mon, 9 Jan 2017 10:05:36 +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 v09A5agZ007795; Mon, 9 Jan 2017 10:05:36 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v09A5awj007794; Mon, 9 Jan 2017 10:05:36 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201701091005.v09A5awj007794@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 9 Jan 2017 10:05:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430938 - head/games/bastet X-SVN-Group: ports-head 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.23 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, 09 Jan 2017 10:05:37 -0000 Author: amdmi3 Date: Mon Jan 9 10:05:35 2017 New Revision: 430938 URL: https://svnweb.freebsd.org/changeset/ports/430938 Log: - Add LICENSE_FILE - Switch to USES=localbase - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL - Simplify installation Modified: head/games/bastet/Makefile Modified: head/games/bastet/Makefile ============================================================================== --- head/games/bastet/Makefile Mon Jan 9 10:05:19 2017 (r430937) +++ head/games/bastet/Makefile Mon Jan 9 10:05:35 2017 (r430938) @@ -11,34 +11,16 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Ncurses Tetris clone which is harder than every other Tetris LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_powerpc64= Does not build +BROKEN_powerpc64= does not build LIB_DEPENDS= libboost_program_options.so:devel/boost-libs -USES= gmake ncurses tar:tgz - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +USES= gmake localbase:ldflags ncurses tar:tgz PLIST_FILES= bin/bastet man/man6/bastet.6.gz -.include - -.if ${OSVERSION} < 1000024 -.if exists(/usr/bin/clang) -CC= clang -CXX= clang++ -CPP= clang-cpp -.else -.if ${ARCH} == "i386" -CXXFLAGS+= -fexceptions -.else -USE_GCC= yes -.endif -.endif -.endif - post-patch: @${REINPLACE_CMD} -e \ 's|^CXXFLAGS+=-D|CXXFLAGS+=$$(CPPFLAGS) -D| ; \ @@ -46,9 +28,7 @@ post-patch: s| -ggdb | |' ${WRKSRC}/Makefile do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} bastet \ - ${STAGEDIR}${PREFIX}/bin) - (cd ${WRKSRC} && ${INSTALL_MAN} bastet.6 \ - ${STAGEDIR}${MAN6PREFIX}/man/man6) + ${INSTALL_PROGRAM} ${WRKSRC}/bastet ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/bastet.6 ${STAGEDIR}${MAN6PREFIX}/man/man6 -.include +.include