From owner-svn-ports-head@freebsd.org Sat Jul 30 15:45:22 2016 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 1F07EBA9374; Sat, 30 Jul 2016 15:45:22 +0000 (UTC) (envelope-from pawel@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 C95B1179B; Sat, 30 Jul 2016 15:45:21 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u6UFjL0I088863; Sat, 30 Jul 2016 15:45:21 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u6UFjLsN088862; Sat, 30 Jul 2016 15:45:21 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201607301545.u6UFjLsN088862@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Sat, 30 Jul 2016 15:45:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419322 - head/games/megaglest X-SVN-Group: ports-head 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.22 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, 30 Jul 2016 15:45:22 -0000 Author: pawel Date: Sat Jul 30 15:45:20 2016 New Revision: 419322 URL: https://svnweb.freebsd.org/changeset/ports/419322 Log: - wxWidgets is only needed for editor and viewer options - Update dependencies PR: 210267 Submitted by: Thibault Payet (maintainer) Modified: head/games/megaglest/Makefile Modified: head/games/megaglest/Makefile ============================================================================== --- head/games/megaglest/Makefile Sat Jul 30 15:41:35 2016 (r419321) +++ head/games/megaglest/Makefile Sat Jul 30 15:45:20 2016 (r419322) @@ -13,9 +13,11 @@ LICENSE_FILE= ${WRKSRC}/docs/gnu_gpl_3.0 LIB_DEPENDS= libcurl.so:ftp/curl \ libpng.so:graphics/png \ - libxerces-c.so:textproc/xerces-c3 \ libftgl.so:graphics/ftgl \ - libvorbis.so:audio/libvorbis + libvorbis.so:audio/libvorbis \ + libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libminiupnpc.so:net/miniupnpc BUILD_DEPENDS= ${LOCALBASE}/include/libircclient.h:irc/libircclient \ ${LOCALBASE}/include/miniupnpc/miniupnpc.h:net/miniupnpc RUN_DEPENDS= ${DATADIR}/tutorials/2_basic_tutorial/2_basic_tutorial.xml:games/megaglest-data @@ -30,7 +32,7 @@ USES= cmake compiler:c++11-lib display: openal:al,alut pkgconfig USE_GL= glew gl glu USE_SDL= sdl2 -USE_WX= 3.0 +USE_XORG= sm ice x11 xext USE_CXXSTD= c++11 CFLAGS+= -I${LOCALBASE}/include @@ -41,6 +43,16 @@ OPTIONS_SUB= yes EDITOR_DESC= Install MegaGlest Editor VIEWER_DESC= Install Megaglest G3D viewer +EDITOR_CMAKE_ON= -DBUILD_MEGAGLEST_MAP_EDITOR=On +EDITOR_CMAKE_OFF= -DBUILD_MEGAGLEST_MAP_EDITOR=Off +EDITOR_USE= WX=3.0 + +VIEWER_CMAKE_ON= -DBUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS=On \ + -BUILD_MEGAGLEST_MODEL_VIEWER=On +VIEWER_CMAKE_OFF= -DBUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS=Off \ + -DBUILD_MEGAGLEST_MODEL_VIEWER=Off +VIEWER_USE= WX=3.0 + post-patch: @${REINPLACE_CMD} -e 's,/usr/local/include/lua51,${LUA_INCDIR},g ; \ s,/usr/local/lib/lua51,${LUA_LIBDIR},g ; \