From owner-svn-ports-head@freebsd.org Sun Mar 20 12:11:03 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 B131CAD41AD; Sun, 20 Mar 2016 12:11:03 +0000 (UTC) (envelope-from jbeich@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 8DC7B5E5; Sun, 20 Mar 2016 12:11:03 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2KCB25N001537; Sun, 20 Mar 2016 12:11:02 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2KCB23H001531; Sun, 20 Mar 2016 12:11:02 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201603201211.u2KCB23H001531@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 20 Mar 2016 12:11:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411440 - in head/graphics: . rigsofrods-pagedgeometry rigsofrods-pagedgeometry/files 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.21 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: Sun, 20 Mar 2016 12:11:03 -0000 Author: jbeich Date: Sun Mar 20 12:11:02 2016 New Revision: 411440 URL: https://svnweb.freebsd.org/changeset/ports/411440 Log: graphics/rigsofrods-pagedgeometry: add new port PR: 206495 Submitted by: Thibault Payet The PagedGeometry engine is an add-on to Ogre which provides highly optimized methods for rendering massive amounts of small meshes, covering a possibly infinite area. This is especially well suited for dense forests and outdoor scenes, with millions of trees, bushes, grass, rocks, etc. http://www.ogre3d.org/tikiwiki/PagedGeometry+Engine Added: head/graphics/rigsofrods-pagedgeometry/ head/graphics/rigsofrods-pagedgeometry/Makefile (contents, props changed) head/graphics/rigsofrods-pagedgeometry/distinfo (contents, props changed) head/graphics/rigsofrods-pagedgeometry/files/ head/graphics/rigsofrods-pagedgeometry/files/patch-CMakeDependenciesConfig.txt (contents, props changed) head/graphics/rigsofrods-pagedgeometry/pkg-descr (contents, props changed) head/graphics/rigsofrods-pagedgeometry/pkg-plist (contents, props changed) Modified: head/graphics/Makefile (contents, props changed) Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Sun Mar 20 12:10:41 2016 (r411439) +++ head/graphics/Makefile Sun Mar 20 12:11:02 2016 (r411440) @@ -919,6 +919,7 @@ SUBDIR += repng2jpeg SUBDIR += rgbpaint SUBDIR += rigsofrods-caelum + SUBDIR += rigsofrods-pagedgeometry SUBDIR += ristretto SUBDIR += ruby-gd SUBDIR += ruby-gdal Added: head/graphics/rigsofrods-pagedgeometry/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rigsofrods-pagedgeometry/Makefile Sun Mar 20 12:11:02 2016 (r411440) @@ -0,0 +1,33 @@ +# Created by: Thibault Payet +# $FreeBSD$ + +PORTNAME= rigsofrods-pagedgeometry +PORTVERSION= 1.2.0 +DISTVERSIONPREFIX= v +CATEGORIES= graphics + +MAINTAINER= monwarez@mailoo.org +COMMENT= OGRE plugin for real-time dense forests + +LICENSE= ZLIB +LICENSE_FILE= ${WRKSRC}/zlib.txt + +LIB_DEPENDS= libOgreMain.so:graphics/ogre3d + +USE_GITHUB= yes +GH_ACCOUNT= RigsOfRods +GH_PROJECT= ogre-pagedgeometry + +USES= cmake dos2unix pathfix pkgconfig +DOS2UNIX_GLOB= *.cpp *.h *.txt +CMAKE_ARGS= -DPAGEDGEOMETRY_BUILD_SAMPLES=FALSE +USE_LDCONFIG= yes + +# XXX dialog(1) doesn't like ^M in LICENSE_FILE +post-extract: dos2unix + +post-patch: + @${REINPLACE_CMD} -e '/install.*DOC_FILES/d' \ + ${WRKSRC}/CMakeLists.txt + +.include Added: head/graphics/rigsofrods-pagedgeometry/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rigsofrods-pagedgeometry/distinfo Sun Mar 20 12:11:02 2016 (r411440) @@ -0,0 +1,2 @@ +SHA256 (RigsOfRods-ogre-pagedgeometry-v1.2.0_GH0.tar.gz) = 02f9b73e468e0a6b658cc9cad2b6584f592b1f1e5e5151e1ead6cfc513cf479e +SIZE (RigsOfRods-ogre-pagedgeometry-v1.2.0_GH0.tar.gz) = 11357734 Added: head/graphics/rigsofrods-pagedgeometry/files/patch-CMakeDependenciesConfig.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rigsofrods-pagedgeometry/files/patch-CMakeDependenciesConfig.txt Sun Mar 20 12:11:02 2016 (r411440) @@ -0,0 +1,40 @@ +--- CMakeDependenciesConfig.txt.orig 2016-01-10 10:54:34 UTC ++++ CMakeDependenciesConfig.txt +@@ -2,11 +2,13 @@ IF(WIN32) + set(Ogre_INCLUDE_DIRS "include/Ogre" CACHE PATH "The ogre include path to use") + set(Ogre_LIBRARY_DIRS "lib" CACHE PATH "The ogre lib path to use") + set(Ogre_LIBRARIES "OgreMain" CACHE STRING "The ogre lib to link against") ++ if(PAGEDGEOMETRY_BUILD_SAMPLES) + set(Ois_INCLUDE_DIRS "include/ois" CACHE PATH "The OIS include path to use") + set(Ois_LIBRARY_DIRS "lib" CACHE PATH "The OIS lib path to use") + set(Ois_LIBRARIES "ois" CACHE STRING "The ogre lib to link against") + # add includes to check directories + set(CMAKE_REQUIRED_INCLUDES ${Ogre_INCLUDE_DIRS} ${Ois_INCLUDE_DIRS}) ++ endif(PAGEDGEOMETRY_BUILD_SAMPLES) + + # check for libs and include files we want to use + CHECK_INCLUDE_FILE(windows.h HAVE_WINDOWS_INCLUDES) +@@ -22,7 +24,9 @@ ELSEIF(UNIX) + PKG_CHECK_MODULES (Ogre OGRE REQUIRED) + PKG_CHECK_MODULES (Ogre-Terrain OGRE-Terrain REQUIRED) + PKG_CHECK_MODULES (Ogre-Paging OGRE-Paging REQUIRED) ++ if(PAGEDGEOMETRY_BUILD_SAMPLES) + PKG_CHECK_MODULES (Ois OIS REQUIRED) ++ endif(PAGEDGEOMETRY_BUILD_SAMPLES) + # add includes to check directories + set(CMAKE_REQUIRED_INCLUDES ${Ogre_INCLUDE_DIRS} ${Ois_INCLUDE_DIRS}) + # check for libs and include files we want to use +@@ -46,6 +50,7 @@ IF(NOT WIN32) + message("could not find the Ogre includes. Please install them.") + endif() + ++ if(PAGEDGEOMETRY_BUILD_SAMPLES) + CHECK_INCLUDE_FILE_CXX(OIS/OIS.h HAVE_OIS_DIR_INCLUDES) + if(HAVE_OIS_DIR_INCLUDES) + set(OIS_INCLUDE "OIS/OIS.h") +@@ -65,4 +70,5 @@ IF(NOT WIN32) + else() + set(OIS_USING_DIR FALSE) + endif() ++ endif(PAGEDGEOMETRY_BUILD_SAMPLES) + endif() Added: head/graphics/rigsofrods-pagedgeometry/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rigsofrods-pagedgeometry/pkg-descr Sun Mar 20 12:11:02 2016 (r411440) @@ -0,0 +1,7 @@ +The PagedGeometry engine is an add-on to Ogre which provides highly +optimized methods for rendering massive amounts of small meshes, +covering a possibly infinite area. This is especially well suited for +dense forests and outdoor scenes, with millions of trees, bushes, +grass, rocks, etc. + +WWW: http://www.ogre3d.org/tikiwiki/PagedGeometry+Engine Added: head/graphics/rigsofrods-pagedgeometry/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rigsofrods-pagedgeometry/pkg-plist Sun Mar 20 12:11:02 2016 (r411440) @@ -0,0 +1,16 @@ +include/PagedGeometry/BatchPage.h +include/PagedGeometry/BatchedGeometry.h +include/PagedGeometry/GrassLoader.h +include/PagedGeometry/ImpostorPage.h +include/PagedGeometry/MersenneTwister.h +include/PagedGeometry/PagedGeometry.h +include/PagedGeometry/PagedGeometryConfig.h +include/PagedGeometry/PropertyMaps.h +include/PagedGeometry/RandomTable.h +include/PagedGeometry/StaticBillboardSet.h +include/PagedGeometry/TreeLoader2D.h +include/PagedGeometry/TreeLoader3D.h +include/PagedGeometry/WindBatchPage.h +include/PagedGeometry/WindBatchedGeometry.h +lib/libPagedGeometry.a +libdata/pkgconfig/PagedGeometry.pc