Date: Sat, 19 Jan 2013 21:13:17 +0000 (UTC) From: Marcus von Appen <mva@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r310660 - in head/graphics: . openshadinglanguage Message-ID: <201301192113.r0JLDHqf091189@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mva Date: Sat Jan 19 21:13:17 2013 New Revision: 310660 URL: http://svnweb.freebsd.org/changeset/ports/310660 Log: Open Shading Language (OSL) is a small but rich language for programmable shading in advanced renderers and other applications, ideal for describing materials, lights, displacement, and pattern generation. OSL was developed by Sony Pictures Imageworks for use in its in-house renderer used for feature film animation and visual effects. The language specification was developed with input by other visual effects and animation studios who also wish to use it. WWW: http://code.google.com/p/openshadinglanguage/ PR: ports/173676 Submitted by: Shane Ambler <FreeBSD@Shaneware.biz> Added: head/graphics/openshadinglanguage/ head/graphics/openshadinglanguage/Makefile (contents, props changed) head/graphics/openshadinglanguage/distinfo (contents, props changed) head/graphics/openshadinglanguage/pkg-descr (contents, props changed) head/graphics/openshadinglanguage/pkg-plist (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Sat Jan 19 21:06:45 2013 (r310659) +++ head/graphics/Makefile Sat Jan 19 21:13:17 2013 (r310660) @@ -610,6 +610,7 @@ SUBDIR += openjump SUBDIR += opennurbs SUBDIR += openrm + SUBDIR += openshadinglanguage SUBDIR += optar SUBDIR += optipng SUBDIR += orca Added: head/graphics/openshadinglanguage/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/openshadinglanguage/Makefile Sat Jan 19 21:13:17 2013 (r310660) @@ -0,0 +1,54 @@ +# Created by: Shane Ambler <FreeBSD@Shaneware.biz> +# $FreeBSD$ + +PORTNAME= openshadinglanguage +PORTVERSION= 1.3.0 +CATEGORIES= graphics devel + +MAINTAINER= FreeBSD@Shaneware.biz +COMMENT= Advanced shading language for production GI renderers + +LICENSE= BSD + +BUILD_DEPENDS= llvm>=3.1:${PORTSDIR}/devel/llvm \ + flex>=2.5.37:${PORTSDIR}/textproc/flex +LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs \ + IlmImf:${PORTSDIR}/graphics/OpenEXR \ + OpenImageIO:${PORTSDIR}/graphics/openimageio +RUN_DEPENDS= llvm>=3.1:${PORTSDIR}/devel/llvm + +USE_GITHUB= yes +GH_ACCOUNT= sambler +GH_PROJECT= OpenShadingLanguage +GH_TAGNAME= osl-20130106 +GH_COMMIT= 3c69652 + +WRKSRC+= ${WRKDIR}/sambler-OpenShadingLanguage-${GH_COMMIT}/src + +USE_CMAKE= yes +CMAKE_VERBOSE= yes +CMAKE_OUTSOURCE= yes +CMAKE_ARGS= -DFLEX_EXECUTABLE:STRING=${LOCALBASE}/bin/flex \ + -DUSE_TBB:BOOL=OFF +CXXFLAGS+= -I${LOCALBASE}/include/flex +USE_LDCONFIG= yes +USE_BISON= build +MAKE_JOBS_SAFE= yes + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 900000 +BUILD_DEPENDS+= clang:${PORTSDIR}/lang/clang +.endif + +.if ${ARCH} == i386 +CFLAGS+= -march=i586 +.endif + +post-install: +.for LNAME in oslcomp oslexec oslquery testshade + cd ${PREFIX}/lib && ${MV} -f lib${LNAME}.so lib${LNAME}.so.1 + cd ${PREFIX}/lib && ${LN} -sf lib${LNAME}.so.1 lib${LNAME}.so +.endfor + +.include <bsd.port.post.mk> Added: head/graphics/openshadinglanguage/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/openshadinglanguage/distinfo Sat Jan 19 21:13:17 2013 (r310660) @@ -0,0 +1,2 @@ +SHA256 (openshadinglanguage-1.3.0.tar.gz) = 3c19c3b0ac6d8e7d260d1fe0c738b8d6a9014dd5ee186aba74db3f1197e16a81 +SIZE (openshadinglanguage-1.3.0.tar.gz) = 10310632 Added: head/graphics/openshadinglanguage/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/openshadinglanguage/pkg-descr Sat Jan 19 21:13:17 2013 (r310660) @@ -0,0 +1,10 @@ +Open Shading Language (OSL) is a small but rich language for +programmable shading in advanced renderers and other applications, ideal +for describing materials, lights, displacement, and pattern generation. + +OSL was developed by Sony Pictures Imageworks for use in its in-house +renderer used for feature film animation and visual effects. The +language specification was developed with input by other visual effects +and animation studios who also wish to use it. + +WWW: http://code.google.com/p/openshadinglanguage/ Added: head/graphics/openshadinglanguage/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/openshadinglanguage/pkg-plist Sat Jan 19 21:13:17 2013 (r310660) @@ -0,0 +1,49 @@ +bin/oslc +bin/oslinfo +bin/testrender +bin/testshade +bin/testshade_dso +include/OSL/accum.h +include/OSL/dual_vec.h +include/OSL/dual.h +include/OSL/export.h +include/OSL/genclosure.h +include/OSL/Imathx.h +include/OSL/matrix22.h +include/OSL/optautomata.h +include/OSL/oslclosure.h +include/OSL/oslcomp.h +include/OSL/oslconfig.h +include/OSL/oslexec.h +include/OSL/oslquery.h +include/OSL/oslversion.h +lib/liboslcomp.so +lib/liboslcomp.so.1 +lib/liboslexec.so +lib/liboslexec.so.1 +lib/liboslquery.so +lib/liboslquery.so.1 +lib/libtestshade.so +lib/libtestshade.so.1 +%%DATADIR%%/CHANGES +%%DATADIR%%/INSTALL +%%DATADIR%%/LICENSE +%%DATADIR%%/README.md +%%DATADIR%%/osl-languagespec.pdf +%%DATADIR%%/shaders/emitter.osl +%%DATADIR%%/shaders/emitter.oso +%%DATADIR%%/shaders/glass.osl +%%DATADIR%%/shaders/glass.oso +%%DATADIR%%/shaders/image.osl +%%DATADIR%%/shaders/image.oso +%%DATADIR%%/shaders/matte.osl +%%DATADIR%%/shaders/matte.oso +%%DATADIR%%/shaders/metal.osl +%%DATADIR%%/shaders/metal.oso +%%DATADIR%%/shaders/oslutil.h +%%DATADIR%%/shaders/stdosl.h +%%DATADIR%%/shaders/ubersurface.osl +%%DATADIR%%/shaders/ubersurface.oso +@dirrm include/OSL +@dirrm %%DATADIR%%/shaders +@dirrm %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301192113.r0JLDHqf091189>