From owner-svn-ports-all@freebsd.org Sun Mar 20 12:10:43 2016 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 D28E4AD4058; Sun, 20 Mar 2016 12:10:43 +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 948562BF; Sun, 20 Mar 2016 12:10:43 +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 u2KCAgqq000541; Sun, 20 Mar 2016 12:10:42 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2KCAgId000533; Sun, 20 Mar 2016 12:10:42 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201603201210.u2KCAgId000533@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:10:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411439 - in head/graphics: . rigsofrods-caelum rigsofrods-caelum/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-all@freebsd.org X-Mailman-Version: 2.1.21 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 Mar 2016 12:10:43 -0000 Author: jbeich Date: Sun Mar 20 12:10:41 2016 New Revision: 411439 URL: https://svnweb.freebsd.org/changeset/ports/411439 Log: graphics/rigsofrods-caelum: add new port PR: 206485 Submitted by: Thibault Payet Caelum is a plug-in/library for Ogre targeted to help create nice-looking (photorealistic if possible) atmospheric effects such as sky colour, clouds and weather phenomena such as rain or snow. http://www.ogre3d.org/tikiwiki/Caelum Added: head/graphics/rigsofrods-caelum/ head/graphics/rigsofrods-caelum/Makefile (contents, props changed) head/graphics/rigsofrods-caelum/distinfo (contents, props changed) head/graphics/rigsofrods-caelum/files/ head/graphics/rigsofrods-caelum/files/patch-CMakeDependenciesConfig.txt (contents, props changed) head/graphics/rigsofrods-caelum/files/patch-main_CMakeLists.txt (contents, props changed) head/graphics/rigsofrods-caelum/pkg-descr (contents, props changed) head/graphics/rigsofrods-caelum/pkg-plist (contents, props changed) Modified: head/graphics/Makefile (contents, props changed) Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Sun Mar 20 12:10:05 2016 (r411438) +++ head/graphics/Makefile Sun Mar 20 12:10:41 2016 (r411439) @@ -918,6 +918,7 @@ SUBDIR += renrot SUBDIR += repng2jpeg SUBDIR += rgbpaint + SUBDIR += rigsofrods-caelum SUBDIR += ristretto SUBDIR += ruby-gd SUBDIR += ruby-gdal Added: head/graphics/rigsofrods-caelum/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rigsofrods-caelum/Makefile Sun Mar 20 12:10:41 2016 (r411439) @@ -0,0 +1,30 @@ +# Created by: Thibault Payet +# $FreeBSD$ + +PORTNAME= rigsofrods-caelum +PORTVERSION= 0.6.3 +DISTVERSIONPREFIX= v +CATEGORIES= graphics + +MAINTAINER= monwarez@mailoo.org +COMMENT= OGRE plugin for atmospheric effects + +LICENSE= LGPL3+ +LICENSE_FILE= ${WRKSRC}/lgpl.txt + +LIB_DEPENDS= libOgreMain.so:graphics/ogre3d + +USE_GITHUB= yes +GH_ACCOUNT= RigsOfRods +GH_PROJECT= ogre-caelum + +USES= cmake dos2unix pathfix pkgconfig +CMAKE_ARGS= -DCaelum_BUILD_SAMPLES=FALSE +DOS2UNIX_GLOB= CMake* *.pc.in +USE_LDCONFIG= yes + +post-patch: + @${REINPLACE_CMD} -e '/install.*DOC_FILES/d' \ + ${WRKSRC}/CMakeLists.txt + +.include Added: head/graphics/rigsofrods-caelum/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rigsofrods-caelum/distinfo Sun Mar 20 12:10:41 2016 (r411439) @@ -0,0 +1,2 @@ +SHA256 (RigsOfRods-ogre-caelum-v0.6.3_GH0.tar.gz) = 95b0d52d15deaf8baa0ee3a66acc1ae8c2dfa71be149dbcd2e58bbab76af33b5 +SIZE (RigsOfRods-ogre-caelum-v0.6.3_GH0.tar.gz) = 6499915 Added: head/graphics/rigsofrods-caelum/files/patch-CMakeDependenciesConfig.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rigsofrods-caelum/files/patch-CMakeDependenciesConfig.txt Sun Mar 20 12:10:41 2016 (r411439) @@ -0,0 +1,40 @@ +--- CMakeDependenciesConfig.txt.orig 2016-01-11 16:27:14 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(Caelum_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(Caelum_BUILD_SAMPLES) + + # check for libs and include files we want to use + CHECK_INCLUDE_FILE(windows.h HAVE_WINDOWS_INCLUDES) +@@ -20,7 +22,9 @@ IF(WIN32) + ELSEIF(UNIX) + find_package(PkgConfig) + PKG_CHECK_MODULES (Ogre OGRE REQUIRED) ++ if(Caelum_BUILD_SAMPLES) + PKG_CHECK_MODULES (Ois OIS REQUIRED) ++ endif(Caelum_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 +@@ -44,6 +48,7 @@ IF(NOT WIN32) + message("could not find the Ogre includes. Please install them.") + endif() + ++ if(Caelum_BUILD_SAMPLES) + CHECK_INCLUDE_FILE_CXX(OIS/OIS.h HAVE_OIS_DIR_INCLUDES) + if(HAVE_OIS_DIR_INCLUDES) + set(OIS_INCLUDE "OIS/OIS.h") +@@ -63,4 +68,5 @@ IF(NOT WIN32) + else() + set(OIS_USING_DIR FALSE) + endif() ++ endif(Caelum_BUILD_SAMPLES) + endif() Added: head/graphics/rigsofrods-caelum/files/patch-main_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rigsofrods-caelum/files/patch-main_CMakeLists.txt Sun Mar 20 12:10:41 2016 (r411439) @@ -0,0 +1,16 @@ +Boost is OGRE dependency, Caelum itself doesn't link against it + +--- main/CMakeLists.txt.orig 2016-01-11 16:27:14 UTC ++++ main/CMakeLists.txt +@@ -7,11 +7,6 @@ FILE(GLOB sources ${Caelum_SOURCE_DIR}/m + + set(LIBNAME "Caelum") + +- +-find_package(Boost 1.44 COMPONENTS date_time filesystem) +-include_directories(${Boost_INCLUDE_DIRS}) +-link_directories (${Boost_LIBRARY_DIRS}) +- + add_definitions("-DCAELUM_LIB -DCAELUM_SCRIPT_SUPPORT -D_CAELUM_TYPE_DESCRIPTORS") + + ADD_LIBRARY(${LIBNAME} SHARED ${sources}) Added: head/graphics/rigsofrods-caelum/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rigsofrods-caelum/pkg-descr Sun Mar 20 12:10:41 2016 (r411439) @@ -0,0 +1,5 @@ +Caelum is a plug-in/library for Ogre targeted to help create +nice-looking (photorealistic if possible) atmospheric effects such as +sky colour, clouds and weather phenomena such as rain or snow. + +WWW: http://www.ogre3d.org/tikiwiki/Caelum Added: head/graphics/rigsofrods-caelum/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/rigsofrods-caelum/pkg-plist Sun Mar 20 12:10:41 2016 (r411439) @@ -0,0 +1,28 @@ +include/Caelum/Astronomy.h +include/Caelum/Caelum.h +include/Caelum/CaelumConfig.h +include/Caelum/CaelumExceptions.h +include/Caelum/CaelumPlugin.h +include/Caelum/CaelumPrecompiled.h +include/Caelum/CaelumPrerequisites.h +include/Caelum/CaelumScriptTranslator.h +include/Caelum/CaelumSystem.h +include/Caelum/CameraBoundElement.h +include/Caelum/CloudSystem.h +include/Caelum/DepthComposer.h +include/Caelum/FastGpuParamRef.h +include/Caelum/FlatCloudLayer.h +include/Caelum/GroundFog.h +include/Caelum/ImageStarfield.h +include/Caelum/InternalUtilities.h +include/Caelum/Moon.h +include/Caelum/PointStarfield.h +include/Caelum/PrecipitationController.h +include/Caelum/PrivatePtr.h +include/Caelum/SkyDome.h +include/Caelum/SkyLight.h +include/Caelum/Sun.h +include/Caelum/TypeDescriptor.h +include/Caelum/UniversalClock.h +lib/libCaelum.so +libdata/pkgconfig/Caelum.pc