Date: Sat, 30 Jul 2016 15:45:21 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419322 - head/games/megaglest Message-ID: <201607301545.u6UFjLsN088862@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 ; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607301545.u6UFjLsN088862>