From owner-svn-ports-all@freebsd.org Sun Sep 20 01:12:36 2015 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 E0942A0232E; Sun, 20 Sep 2015 01:12:36 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 B8010107A; Sun, 20 Sep 2015 01:12:36 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t8K1CaOY000788; Sun, 20 Sep 2015 01:12:36 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t8K1CaYW000787; Sun, 20 Sep 2015 01:12:36 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201509200112.t8K1CaYW000787@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 20 Sep 2015 01:12:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r397346 - head/games/arx-libertatis 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.20 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: Sun, 20 Sep 2015 01:12:37 -0000 Author: jbeich Date: Sun Sep 20 01:12:35 2015 New Revision: 397346 URL: https://svnweb.freebsd.org/changeset/ports/397346 Log: games/arx-libertatis: minor cleanup - Convert to USE_GL - Convert to option helpers Approved by: portmgr blanket Modified: head/games/arx-libertatis/Makefile (contents, props changed) Modified: head/games/arx-libertatis/Makefile ============================================================================== --- head/games/arx-libertatis/Makefile Sun Sep 20 01:12:22 2015 (r397345) +++ head/games/arx-libertatis/Makefile Sun Sep 20 01:12:35 2015 (r397346) @@ -14,13 +14,12 @@ COMMENT= Cross-platform port of Arx Fata LICENSE= GPLv3 # or later LICENSE_FILE= ${WRKSRC}/ARX_PUBLIC_LICENSE.txt -LIB_DEPENDS= libGLEW.so:${PORTSDIR}/graphics/glew \ - libfreetype.so:${PORTSDIR}/print/freetype2 +LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 BUILD_DEPENDS= ${LOCALBASE}/include/boost/foreach.hpp:${PORTSDIR}/devel/boost-libs USES= cmake openal tar:xz USE_SDL= sdl -USE_GL= gl +USE_GL= gl glew CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR="man" -DDATA_DIR=arx -DSTRICT_USE=ON SUB_FILES= pkg-message @@ -28,19 +27,16 @@ SUB_FILES= pkg-message PORTDOCS= AUTHORS CHANGELOG README.md OPTIONS_DEFINE= CRASHREPORTER DOCS +OPTIONS_SUB= yes + CRASHREPORTER_DESC= Build crash reporter (requires Qt4) +CRASHREPORTER_USE= QT4=corelib,gui,network \ + QT4=rcc_build,moc_build,uic_build,qmake_build +CRASHREPORTER_CMAKE_ON= -DBUILD_CRASHREPORTER=ON -DUSE_QT5=OFF +CRASHREPORTER_CMAKE_OFF=-DBUILD_CRASHREPORTER=OFF .include -.if ${PORT_OPTIONS:MCRASHREPORTER} -USE_QT4= corelib gui network rcc_build moc_build uic_build qmake_build -CMAKE_ARGS+= -DBUILD_CRASHREPORTER=ON -DUSE_QT5=OFF -PLIST_SUB+= CRASHREPORTER="" -.else -CMAKE_ARGS+= -DBUILD_CRASHREPORTER=OFF -PLIST_SUB+= CRASHREPORTER="@comment " -.endif - post-patch: .if ${OPSYS} == FreeBSD && ((${OSVERSION} >= 1000705 && ${OSVERSION} < 1001503) || (${OSVERSION} >= 1100000 && ${OSVERSION} < 1100046)) # Workaround for clang 3.4 bug: it crashes when debug info is enabled