From nobody@FreeBSD.org  Sun Sep 23 05:16:22 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 54F1D106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Sep 2012 05:16:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3C7278FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Sep 2012 05:16:22 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8N5GMZc062347
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 23 Sep 2012 05:16:22 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q8N5GLNh062334;
	Sun, 23 Sep 2012 05:16:21 GMT
	(envelope-from nobody)
Message-Id: <201209230516.q8N5GLNh062334@red.freebsd.org>
Date: Sun, 23 Sep 2012 05:16:21 GMT
From: Shane Ambler <FreeBSD@Shaneware.biz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [maintainer update] update for graphics/opencolorio
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         171884
>Category:       ports
>Synopsis:       [maintainer update] update for graphics/opencolorio
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mva
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 23 05:20:08 UTC 2012
>Closed-Date:    Thu Dec 20 10:52:36 UTC 2012
>Last-Modified:  Thu Dec 20 10:52:36 UTC 2012
>Originator:     Shane Ambler
>Release:        9.0-RELEASE-p1
>Organization:
>Environment:
FreeBSD leader.local 9.0-RELEASE-p1 FreeBSD 9.0-RELEASE-p1 #1: Tue May 15 12:34:33 CST 2012     shane@leader.local:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Update to graphics/opencolorio which fixes the gcc linking issues and documentation creation.

Three questions - 
1. The base code installs .so.1 and .so.1.0.7 and I added .so.1.0 - is the .so.1.0 needed/not-wanted/not-important?

2. To get the latex steps working I needed to rename .jpeg files to .jpg - this seems a wasted step - is there something I am missing or is this a quirk we work with?

3. With openimageio I needed to separate the python bindings into a separate port, which was initially due to dependency issues. While I don't see the dependency issue here, I do need to build the bindings for the doc creation step. Should I separate the python bindings install into a separate port or add an option to install them or is that my choice?
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -Nru opencolorio.orig/Makefile opencolorio/Makefile
--- opencolorio.orig/Makefile	2012-09-23 14:34:47.050499597 +0930
+++ opencolorio/Makefile	2012-09-23 14:21:30.667502596 +0930
@@ -3,6 +3,7 @@
 
 PORTNAME=	opencolorio
 PORTVERSION=	1.0.7
+PORTREVISION=	1
 CATEGORIES=	graphics multimedia
 MASTER_SITES=	https://github.com/imageworks/OpenColorIO/tarball/
 DISTNAME=	v${PORTVERSION}
@@ -21,34 +22,29 @@
 CMAKE_VERBOSE=	yes
 CMAKE_OUTSOURCE=	yes
 CMAKE_ARGS=	-DOCIO_BUILD_JNIGLUE:BOOL=OFF \
-		-DOCIO_BUILD_PYGLUE:BOOL=OFF
+		-DOCIO_BUILD_PYGLUE:BOOL=ON
 USE_LDCONFIG=	yes
+USE_PYTHON=	2.6+
 WRKSRC=		${WRKDIR}/imageworks-OpenColorIO-b3cb224
 MAKE_JOBS_SAFE=	yes
 
-OPTIONS_DEFINE=		CLIAPPS SSE
-OPTIONS_DEFAULT=	SSE
+OPTIONS_DEFINE=		DOCS CLIAPPS SSE
+OPTIONS_DEFAULT=	DOCS CLIAPPS SSE
 
 CLIAPPS_DESC=	Build cli apps
 SSE_DESC=	Enable sse optimizations
 
 .include <bsd.port.options.mk>
 
-.if ${CC:T} != "clang"
-USE_GCC=	4.6+
-.endif
-
 .if empty(PORT_OPTIONS:MDOCS)
 CMAKE_ARGS+=	-DOCIO_BUILD_DOCS:BOOL=OFF
 .else
-# docs currently broken
-CMAKE_ARGS+=	-DOCIO_BUILD_DOCS:BOOL=OFF
+BUILD_DEPENDS+=	sphinx-build:${PORTSDIR}/textproc/py-sphinx
+CMAKE_ARGS+=	-DOCIO_BUILD_DOCS:BOOL=ON
 .endif
 
 .if ${PORT_OPTIONS:MCLIAPPS}
-.if ${CC:T} != "clang"
-BROKEN=		cli apps don't build with gcc
-.endif
+USE_GL=		glew glut
 CMAKE_ARGS+=	-DOCIO_BUILD_APPS:BOOL=ON
 PLIST_SUB+=	CLIAPPS=""
 .else
@@ -56,6 +52,12 @@
 PLIST_SUB+=	CLIAPPS="@comment "
 .endif
 
+.if ${PORT_OPTIONS:MSSE}
+CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=ON
+.else
+CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=OFF
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "i386" || ${OSVERSION} < 803000
@@ -69,10 +71,16 @@
 CFLAGS+=	-march=pentium2
 .endif
 
-.if ${PORT_OPTIONS:MSSE}
-CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=ON
-.else
-CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=OFF
-.endif
+SPIDIR=${WRKSRC}/docs/configurations/images/spi-vfx
+post-patch:
+	${MV} ${SPIDIR}/gn10_to_linear_light.jpeg ${SPIDIR}/gn10_to_linear_light.jpg
+	${MV} ${SPIDIR}/gnf_to_linear_light.jpeg ${SPIDIR}/gnf_to_linear_light.jpg
+	${MV} ${SPIDIR}/lg10_to_linear_light.jpeg ${SPIDIR}/lg10_to_linear_light.jpg
+	${MV} ${SPIDIR}/lg8_to_vd8.jpeg ${SPIDIR}/lg8_to_vd8.jpg
+	${MV} ${SPIDIR}/lgf_to_linear_light.jpeg ${SPIDIR}/lgf_to_linear_light.jpg
+
+post-install:
+	cd ${PREFIX}/lib && ${LN} -sf libOpenColorIO.so.1.0.7 libOpenColorIO.so.1.0
+	cd ${PREFIX}/lib && ${LN} -sf %%PYTHON_SITELIBDIR%%/PyOpenColorIO.so.1.0.7 %%PYTHON_SITELIBDIR%%/PyOpenColorIO.so.1.0
 
 .include <bsd.port.post.mk>
diff -Nru opencolorio.orig/files/patch-docs_CMakeLists.txt opencolorio/files/patch-docs_CMakeLists.txt
--- opencolorio.orig/files/patch-docs_CMakeLists.txt	1970-01-01 09:30:00.000000000 +0930
+++ opencolorio/files/patch-docs_CMakeLists.txt	2012-09-23 12:00:20.900500226 +0930
@@ -0,0 +1,11 @@
+--- docs/CMakeLists.txt.orig	2012-09-23 11:57:34.602501738 +0930
++++ docs/CMakeLists.txt	2012-09-23 11:58:17.007499021 +0930
+@@ -98,7 +98,7 @@
+ add_dependencies(doc Sphinx) 
+ 
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build-html/
+-        DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/html
++        DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/opencolorio
+         PATTERN .git EXCLUDE)
+ 
+ find_package(LATEX)
diff -Nru opencolorio.orig/files/patch-docs_configurations_spi_vfx.rst opencolorio/files/patch-docs_configurations_spi_vfx.rst
--- opencolorio.orig/files/patch-docs_configurations_spi_vfx.rst	1970-01-01 09:30:00.000000000 +0930
+++ opencolorio/files/patch-docs_configurations_spi_vfx.rst	2012-09-23 09:59:19.063499504 +0930
@@ -0,0 +1,47 @@
+--- docs/configurations/spi_vfx.rst.orig	2012-04-18 09:38:16.000000000 +0930
++++ docs/configurations/spi_vfx.rst	2012-09-23 09:32:29.056500081 +0930
+@@ -71,7 +71,7 @@
+ 
+ lg8, lg10, and lg16 are similar. They are all the same log to linear transformation but are explicitly defined to be lossless at the specified bit depths. The luts use nearest neighbor interpolation to search for an exact match. Significant performance gains were found when using the proper bitdepth lut. While using the lg16 conversion on an 8 bit image will yield the same result, it is measurably slower than using the 8-bit conversion (assuming 8-bits is all that is needed). This performance gap remains even on current graphics hardware.
+ 
+-.. figure::  images/spi-vfx/lg10_to_linear_light.jpeg
++.. figure::  images/spi-vfx/lg10_to_linear_light.jpg
+     :align:   center
+ 
+     lg10 to linear light. The green curve represents the lg to ln conversion. The red curve show the green channel of a Kodak 5218 exposure test. The x-axis is in 10bit input lg the output is in lg base2 linear light units. 0.0 Represents diffuse white.
+@@ -81,7 +81,7 @@
+ lgf is identical on the range from 0-1 to the standard lg luts. It specifies an additional range below 0.0 and above 1.0. In 10 bit the spaces is defined from -512 to 2048. Lg color timing number from either on set color correction devices or from a DI house to be applied in a way that can be fully inverted out without loss. Lgf specifies 18 stops above the lg10 max and 36 stops below the log10 min with a total dynamic range of 85 stops. The space is designed to be bigger than needed.
+ 
+ 
+-.. figure::  images/spi-vfx/lgf_to_linear_light.jpeg
++.. figure::  images/spi-vfx/lgf_to_linear_light.jpg
+     :align:   center
+ 
+     lgf to linear light. The green curve represents the lg to ln conversion. The red curve show the green channel of a Kodak 5218 exposure test. The x axis is in 10bit input lg the output is in log(base2) linear light units. 0 Represents diffuse white
+@@ -94,7 +94,7 @@
+ 
+ GN is the Imageworks Panalog space. It follows the Panalog specification and additionally extrapolates so all of the values from 0 to 1023 are defined. This was necessary due to compression artifacts that could create values below the Panalog specifications. gn8,10,16 are defined with diffuse white at 681, Max white is approximately 2.6 stops above diffuse white and black is approximately 12.6 stops below diffuse white. The dynamic range is less than that of lg.
+ 
+-.. figure::  images/spi-vfx/gn10_to_linear_light.jpeg
++.. figure::  images/spi-vfx/gn10_to_linear_light.jpg
+     :align:   center
+ 
+     gn10 to linear light. the x axis is in 10bit Panalog values. The Y axis is in linear light. The green curve is the gn curve. the red curve is the Panalog data.
+@@ -103,7 +103,7 @@
+ 
+ gnf specifies 14.5 stops above the gn10 max and 18 of stops below the gn10 min. The entire range of gnf is 47 stops.
+ 
+-.. figure::  images/spi-vfx/gnf_to_linear_light.jpeg
++.. figure::  images/spi-vfx/gnf_to_linear_light.jpg
+    :align:   center
+ 
+    gnf to linear light. the x axis is in 10bit Panalog values. The Y axis is in linear light. The green curve is the gn curve. the red curve is the Panalog data. Only a subset of the function is used to define the gnf solorspace
+@@ -116,7 +116,7 @@
+ 
+ The vd spaces are mappings of linear image data into display space. The main part of the transformation is defined as a single curve that is conceptually two parts. The first is a ln to lg conversion. The second is lg to sRGB conversion. This is based off the neutral channel response of the sRGB film emulation lut used in the profile. The dynamic range of the vd colorspace is limited. It is undesirable to map the vd max to the linear max. Such a conversion results in linear values are almost never what an artist intended. The rule of thumb is that, at the high end, single value deltas in an 8 bit image should never create over a half stop of additional linear light. The vd conversion curve is limited to prevent this case.
+ 
+-.. figure :: images/spi-vfx/lg8_to_vd8.jpeg
++.. figure :: images/spi-vfx/lg8_to_vd8.jpg
+    :align: center
+ 
+    The curve used to map from Lg8 to vd 8. The x-axis is in lg8 units, the y-axis is in vd8 units.
diff -Nru opencolorio.orig/files/patch-export_OpenColorIO_OpenColorABI.h.in opencolorio/files/patch-export_OpenColorIO_OpenColorABI.h.in
--- opencolorio.orig/files/patch-export_OpenColorIO_OpenColorABI.h.in	1970-01-01 09:30:00.000000000 +0930
+++ opencolorio/files/patch-export_OpenColorIO_OpenColorABI.h.in	2012-09-20 14:43:35.987135550 +0930
@@ -0,0 +1,18 @@
+--- export/OpenColorIO/OpenColorABI.h.in.orig	2012-09-17 14:13:30.299501867 +0930
++++ export/OpenColorIO/OpenColorABI.h.in	2012-09-17 14:13:36.793503619 +0930
+@@ -82,8 +82,13 @@
+     #endif
+     #define OCIOHIDDEN
+ #else // Others platforms not supported atm
+-    #define OCIOEXPORT
+-    #define OCIOHIDDEN
++    #if __GNUC__ >= 4
++        #define OCIOEXPORT __attribute__ ((visibility("default")))
++        #define OCIOHIDDEN __attribute__ ((visibility("hidden")))
++    #else
++        #define OCIOEXPORT
++        #define OCIOHIDDEN
++    #endif
+ #endif
+ 
+ #endif // INCLUDED_OCIO_OPENCOLORABI_H
diff -Nru opencolorio.orig/files/patch-share_cmake_OCIOMacros.cmake opencolorio/files/patch-share_cmake_OCIOMacros.cmake
--- opencolorio.orig/files/patch-share_cmake_OCIOMacros.cmake	1970-01-01 09:30:00.000000000 +0930
+++ opencolorio/files/patch-share_cmake_OCIOMacros.cmake	2012-09-23 08:23:47.742502423 +0930
@@ -0,0 +1,20 @@
+--- share/cmake/OCIOMacros.cmake.orig	2012-09-23 08:22:50.284500079 +0930
++++ share/cmake/OCIOMacros.cmake	2012-09-23 08:23:01.717501340 +0930
+@@ -294,7 +294,7 @@
+ MACRO(ExtractRstCPP INFILE OUTFILE)
+    add_custom_command(
+       OUTPUT ${OUTFILE}
+-      COMMAND ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceCPP.py ${INFILE} ${OUTFILE}
++      COMMAND python ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceCPP.py ${INFILE} ${OUTFILE}
+       DEPENDS ${INFILE}
+       COMMENT "Extracting reStructuredText from ${INFILE} (using old process)"
+    )
+@@ -303,7 +303,7 @@
+ MACRO(ExtractRstSimple INFILE OUTFILE)
+    add_custom_command(
+       OUTPUT ${OUTFILE}
+-      COMMAND ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceSimple.py ${INFILE} ${OUTFILE}
++      COMMAND python ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceSimple.py ${INFILE} ${OUTFILE}
+       DEPENDS ${INFILE}
+       COMMENT "Extracting reStructuredText from ${INFILE}"
+    )
diff -Nru opencolorio.orig/pkg-plist opencolorio/pkg-plist
--- opencolorio.orig/pkg-plist	2012-09-23 14:34:47.050499597 +0930
+++ opencolorio/pkg-plist	2012-09-23 14:24:56.173499867 +0930
@@ -7,12 +7,178 @@
 include/OpenColorIO/OpenColorTransforms.h
 include/OpenColorIO/OpenColorABI.h
 include/OpenColorIO/OpenColorIO.h
+include/PyOpenColorIO/PyOpenColorIO.h
+%%PYTHON_SITELIBDIR%%/PyOpenColorIO.so
+%%PYTHON_SITELIBDIR%%/PyOpenColorIO.so.1
+%%PYTHON_SITELIBDIR%%/PyOpenColorIO.so.1.0
+%%PYTHON_SITELIBDIR%%/PyOpenColorIO.so.1.0.7
 lib/libOpenColorIO.a
 lib/libOpenColorIO.so
 lib/libOpenColorIO.so.1
+lib/libOpenColorIO.so.1.0
 lib/libOpenColorIO.so.1.0.7
 libdata/pkgconfig/OpenColorIO.pc
 share/ocio/setup_ocio.sh
+%%PORTDOCS%%%%DOCSDIR%%/_images/gn10_to_linear_light.jpg
+%%PORTDOCS%%%%DOCSDIR%%/_images/gnf_to_linear_light.jpg
+%%PORTDOCS%%%%DOCSDIR%%/_images/lg10_to_linear_light.jpg
+%%PORTDOCS%%%%DOCSDIR%%/_images/lg8_to_vd8.jpg
+%%PORTDOCS%%%%DOCSDIR%%/_images/lgf_to_linear_light.jpg
+%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_itworks.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_open_current_profile.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_proof_setup.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_reveal_profile.png
+%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_select_profile.png
+%%PORTDOCS%%%%DOCSDIR%%/_sources/ChangeLog.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/CompatibleSoftware.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/allocation_vars.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/index.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/nuke_default.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/spi_anim.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/spi_pipeline.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/spi_vfx.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/index.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorIO.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorTransforms.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorTypes.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/bindings/PythonAPI.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/bindings/PythonTransforms.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/bindings/PythonTypes.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/coding_guidelines.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/getting_started.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/index.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/internal_architecture.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/issues.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/submitting_changes.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/usage_examples.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/downloads.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/FAQ.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/installation.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/License.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/baking_luts.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/contexts.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/index.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/looks.txt
+%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/tool_overview.txt
+%%PORTDOCS%%%%DOCSDIR%%/_static/ajax-loader.gif
+%%PORTDOCS%%%%DOCSDIR%%/_static/alert_info_32.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/alert_warning_32.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/basic.css
+%%PORTDOCS%%%%DOCSDIR%%/_static/bg-page.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/bullet_orange.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/clo_res19_lm10.0101.jpg
+%%PORTDOCS%%%%DOCSDIR%%/_static/clo_res19_lnf.0101.jpg
+%%PORTDOCS%%%%DOCSDIR%%/_static/clo_res19_vd16.0101.jpg
+%%PORTDOCS%%%%DOCSDIR%%/_static/comment-bright.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/comment-close.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/comment.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/down-pressed.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/down.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/file.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/ocio.css
+%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css
+%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/underscore.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/up-pressed.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/up.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/websupport.js
+%%PORTDOCS%%%%DOCSDIR%%/.buildinfo
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/ChangeLog.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/CompatibleSoftware.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/allocation_vars.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/index.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/nuke_default.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/spi_anim.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/spi_pipeline.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/spi_vfx.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/api/index.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/api/OpenColorIO.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/api/OpenColorTransforms.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/api/OpenColorTypes.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/bindings/PythonAPI.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/bindings/PythonTransforms.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/bindings/PythonTypes.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/coding_guidelines.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/getting_started.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/index.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/internal_architecture.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/issues.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/submitting_changes.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/usage_examples.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/downloads.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/environment.pickle
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/FAQ.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/index.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/installation.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/License.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/baking_luts.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/contexts.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/index.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/looks.doctree
+%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/tool_overview.doctree
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.html
+%%PORTDOCS%%%%DOCSDIR%%/CompatibleSoftware.html
+%%PORTDOCS%%%%DOCSDIR%%/configurations/allocation_vars.html
+%%PORTDOCS%%%%DOCSDIR%%/configurations/index.html
+%%PORTDOCS%%%%DOCSDIR%%/configurations/nuke_default.html
+%%PORTDOCS%%%%DOCSDIR%%/configurations/spi_anim.html
+%%PORTDOCS%%%%DOCSDIR%%/configurations/spi_pipeline.html
+%%PORTDOCS%%%%DOCSDIR%%/configurations/spi_vfx.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/api/index.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorIO.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorTransforms.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorTypes.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/bindings/PythonAPI.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/bindings/PythonTransforms.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/bindings/PythonTypes.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/coding_guidelines.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/getting_started.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/index.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/internal_architecture.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/issues.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/submitting_changes.html
+%%PORTDOCS%%%%DOCSDIR%%/developers/usage_examples.html
+%%PORTDOCS%%%%DOCSDIR%%/downloads.html
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
+%%PORTDOCS%%%%DOCSDIR%%/genindex.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/installation.html
+%%PORTDOCS%%%%DOCSDIR%%/License.html
+%%PORTDOCS%%%%DOCSDIR%%/objects.inv
+%%PORTDOCS%%%%DOCSDIR%%/py-modindex.html
+%%PORTDOCS%%%%DOCSDIR%%/search.html
+%%PORTDOCS%%%%DOCSDIR%%/searchindex.js
+%%PORTDOCS%%%%DOCSDIR%%/userguide/baking_luts.html
+%%PORTDOCS%%%%DOCSDIR%%/userguide/contexts.html
+%%PORTDOCS%%%%DOCSDIR%%/userguide/index.html
+%%PORTDOCS%%%%DOCSDIR%%/userguide/looks.html
+%%PORTDOCS%%%%DOCSDIR%%/userguide/tool_overview.html
 @dirrm include/OpenColorIO
+@dirrm include/PyOpenColorIO
 @dirrmtry libdata/pkgconfig
 @dirrm share/ocio
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/userguide
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/developers/bindings
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/developers/api
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/developers
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/configurations
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/userguide
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/developers/bindings
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/developers/api
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/developers
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/configurations
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/_static
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/userguide
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/developers/bindings
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/developers/api
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/developers
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/configurations
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/_images
+%%PORTDOCS%%@dirrm %%DOCSDIR%%


>Release-Note:
>Audit-Trail:

From: Shane Ambler <FreeBSD@ShaneWare.Biz>
To: bug-followup@FreeBSD.org, FreeBSD@Shaneware.biz
Cc:  
Subject: Re: ports/171884: [maintainer update] update for graphics/opencolorio
Date: Sun, 23 Sep 2012 14:50:04 +0930

 Sorry - the %%PYTHON_SITELIBDIR%% I added at the end of the Makefile 
 should be ${PYTHON_SITELIBDIR}

From: Shane Ambler <FreeBSD@ShaneWare.Biz>
To: bug-followup@FreeBSD.org, FreeBSD@Shaneware.biz
Cc:  
Subject: Re: ports/171884: [maintainer update] update for graphics/opencolorio
Date: Sat, 06 Oct 2012 00:58:44 +0930

 This is a multi-part message in MIME format.
 --------------060308060208080502060007
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 This patch replaces the previous one.
 
 One small change added is to remove adding the rpath to LDFLAGS
 
 Also corrected the PYTHON_SITELIBDIR I pasted wrong before submission.
 
 
 --------------060308060208080502060007
 Content-Type: text/plain; charset=UTF-8;
  name="opencolorio.patch.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="opencolorio.patch.txt"
 
 diff -Nru opencolorio.orig/Makefile opencolorio/Makefile
 --- opencolorio.orig/Makefile	2012-10-06 00:47:19.294351423 +0930
 +++ opencolorio/Makefile	2012-10-05 04:47:56.902351175 +0930
 @@ -3,6 +3,7 @@
  
  PORTNAME=	opencolorio
  PORTVERSION=	1.0.7
 +PORTREVISION=	2
  CATEGORIES=	graphics multimedia
  MASTER_SITES=	https://github.com/imageworks/OpenColorIO/tarball/
  DISTNAME=	v${PORTVERSION}
 @@ -21,34 +22,29 @@
  CMAKE_VERBOSE=	yes
  CMAKE_OUTSOURCE=	yes
  CMAKE_ARGS=	-DOCIO_BUILD_JNIGLUE:BOOL=OFF \
 -		-DOCIO_BUILD_PYGLUE:BOOL=OFF
 +		-DOCIO_BUILD_PYGLUE:BOOL=ON
  USE_LDCONFIG=	yes
 +USE_PYTHON=	2.6+
  WRKSRC=		${WRKDIR}/imageworks-OpenColorIO-b3cb224
  MAKE_JOBS_SAFE=	yes
  
 -OPTIONS_DEFINE=		CLIAPPS SSE
 -OPTIONS_DEFAULT=	SSE
 +OPTIONS_DEFINE=		DOCS CLIAPPS SSE
 +OPTIONS_DEFAULT=	DOCS CLIAPPS SSE
  
  CLIAPPS_DESC=	Build cli apps
  SSE_DESC=	Enable sse optimizations
  
  .include <bsd.port.options.mk>
  
 -.if ${CC:T} != "clang"
 -USE_GCC=	4.6+
 -.endif
 -
  .if empty(PORT_OPTIONS:MDOCS)
  CMAKE_ARGS+=	-DOCIO_BUILD_DOCS:BOOL=OFF
  .else
 -# docs currently broken
 -CMAKE_ARGS+=	-DOCIO_BUILD_DOCS:BOOL=OFF
 +BUILD_DEPENDS+=	sphinx-build:${PORTSDIR}/textproc/py-sphinx
 +CMAKE_ARGS+=	-DOCIO_BUILD_DOCS:BOOL=ON
  .endif
  
  .if ${PORT_OPTIONS:MCLIAPPS}
 -.if ${CC:T} != "clang"
 -BROKEN=		cli apps don't build with gcc
 -.endif
 +USE_GL=		glew glut
  CMAKE_ARGS+=	-DOCIO_BUILD_APPS:BOOL=ON
  PLIST_SUB+=	CLIAPPS=""
  .else
 @@ -56,23 +52,30 @@
  PLIST_SUB+=	CLIAPPS="@comment "
  .endif
  
 -.include <bsd.port.pre.mk>
 -
 -.if ${ARCH} == "i386" || ${OSVERSION} < 803000
 -# this is needed for linking with openimageio
 -LDFLAGS+=	-L${LOCALBASE}/lib/gcc46 -rpath ${LOCALBASE}/lib/gcc46
 +.if ${PORT_OPTIONS:MSSE}
 +CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=ON
 +.else
 +CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=OFF
  .endif
  
 +.include <bsd.port.pre.mk>
 +
  .if ${CC:T} == "clang" && ${ARCH} == "i386"
  # workaround for pr/165968
  # may need to test osversion after fix is applied
  CFLAGS+=	-march=pentium2
  .endif
  
 -.if ${PORT_OPTIONS:MSSE}
 -CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=ON
 -.else
 -CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=OFF
 -.endif
 +SPIDIR=${WRKSRC}/docs/configurations/images/spi-vfx
 +post-patch:
 +	${MV} ${SPIDIR}/gn10_to_linear_light.jpeg ${SPIDIR}/gn10_to_linear_light.jpg
 +	${MV} ${SPIDIR}/gnf_to_linear_light.jpeg ${SPIDIR}/gnf_to_linear_light.jpg
 +	${MV} ${SPIDIR}/lg10_to_linear_light.jpeg ${SPIDIR}/lg10_to_linear_light.jpg
 +	${MV} ${SPIDIR}/lg8_to_vd8.jpeg ${SPIDIR}/lg8_to_vd8.jpg
 +	${MV} ${SPIDIR}/lgf_to_linear_light.jpeg ${SPIDIR}/lgf_to_linear_light.jpg
 +
 +post-install:
 +	cd ${PREFIX}/lib && ${LN} -sf libOpenColorIO.so.1.0.7 libOpenColorIO.so.1.0
 +	cd ${PYTHON_SITELIBDIR} && ${LN} -sf PyOpenColorIO.so.1.0.7 PyOpenColorIO.so.1.0
  
  .include <bsd.port.post.mk>
 diff -Nru opencolorio.orig/files/patch-docs_CMakeLists.txt opencolorio/files/patch-docs_CMakeLists.txt
 --- opencolorio.orig/files/patch-docs_CMakeLists.txt	1970-01-01 09:30:00.000000000 +0930
 +++ opencolorio/files/patch-docs_CMakeLists.txt	2012-09-26 14:26:34.864500108 +0930
 @@ -0,0 +1,11 @@
 +--- docs/CMakeLists.txt.orig	2012-09-23 11:57:34.602501738 +0930
 ++++ docs/CMakeLists.txt	2012-09-23 11:58:17.007499021 +0930
 +@@ -98,7 +98,7 @@
 + add_dependencies(doc Sphinx) 
 + 
 + install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build-html/
 +-        DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/html
 ++        DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/opencolorio
 +         PATTERN .git EXCLUDE)
 + 
 + find_package(LATEX)
 diff -Nru opencolorio.orig/files/patch-docs_configurations_spi_vfx.rst opencolorio/files/patch-docs_configurations_spi_vfx.rst
 --- opencolorio.orig/files/patch-docs_configurations_spi_vfx.rst	1970-01-01 09:30:00.000000000 +0930
 +++ opencolorio/files/patch-docs_configurations_spi_vfx.rst	2012-09-26 14:26:34.864500108 +0930
 @@ -0,0 +1,47 @@
 +--- docs/configurations/spi_vfx.rst.orig	2012-04-18 09:38:16.000000000 +0930
 ++++ docs/configurations/spi_vfx.rst	2012-09-23 09:32:29.056500081 +0930
 +@@ -71,7 +71,7 @@
 + 
 + lg8, lg10, and lg16 are similar. They are all the same log to linear transformation but are explicitly defined to be lossless at the specified bit depths. The luts use nearest neighbor interpolation to search for an exact match. Significant performance gains were found when using the proper bitdepth lut. While using the lg16 conversion on an 8 bit image will yield the same result, it is measurably slower than using the 8-bit conversion (assuming 8-bits is all that is needed). This performance gap remains  even on current graphics hardware.
 + 
 +-.. figure::  images/spi-vfx/lg10_to_linear_light.jpeg
 ++.. figure::  images/spi-vfx/lg10_to_linear_light.jpg
 +     :align:   center
 + 
 +     lg10 to linear light. The green curve represents the lg to ln conversion. The red curve show the green channel of a Kodak 5218 exposure test. The x-axis is in 10bit input lg the output is in lg base2 linear light units. 0.0 Represents diffuse white.
 +@@ -81,7 +81,7 @@
 + lgf is identical on the range from 0-1 to the standard lg luts. It specifies an additional range below 0.0 and above 1.0. In 10 bit the spaces is defined from -512 to 2048. Lg color timing number from either on set color correction devices or from a DI house to be applied in a way that can be fully inverted out without loss. Lgf specifies 18 stops above the lg10 max and 36 stops below the log10 min with a total dynamic range of 85 stops. The space is designed to be bigger than needed.
 + 
 + 
 +-.. figure::  images/spi-vfx/lgf_to_linear_light.jpeg
 ++.. figure::  images/spi-vfx/lgf_to_linear_light.jpg
 +     :align:   center
 + 
 +     lgf to linear light. The green curve represents the lg to ln conversion. The red curve show the green channel of a Kodak 5218 exposure test. The x axis is in 10bit input lg the output is in log(base2) linear light units. 0 Represents diffuse white
 +@@ -94,7 +94,7 @@
 + 
 + GN is the Imageworks Panalog space. It follows the Panalog specification and additionally extrapolates so all of the values from 0 to 1023 are defined. This was necessary due to compression artifacts that could create values below the Panalog specifications. gn8,10,16 are defined with diffuse white at 681, Max white is approximately 2.6 stops above diffuse white and black is approximately 12.6 stops below diffuse white. The dynamic range is less than that of lg.
 + 
 +-.. figure::  images/spi-vfx/gn10_to_linear_light.jpeg
 ++.. figure::  images/spi-vfx/gn10_to_linear_light.jpg
 +     :align:   center
 + 
 +     gn10 to linear light. the x axis is in 10bit Panalog values. The Y axis is in linear light. The green curve is the gn curve. the red curve is the Panalog data.
 +@@ -103,7 +103,7 @@
 + 
 + gnf specifies 14.5 stops above the gn10 max and 18 of stops below the gn10 min. The entire range of gnf is 47 stops.
 + 
 +-.. figure::  images/spi-vfx/gnf_to_linear_light.jpeg
 ++.. figure::  images/spi-vfx/gnf_to_linear_light.jpg
 +    :align:   center
 + 
 +    gnf to linear light. the x axis is in 10bit Panalog values. The Y axis is in linear light. The green curve is the gn curve. the red curve is the Panalog data. Only a subset of the function is used to define the gnf solorspace
 +@@ -116,7 +116,7 @@
 + 
 + The vd spaces are mappings of linear image data into display space. The main part of the transformation is defined as a single curve that is conceptually two parts. The first is a ln to lg conversion. The second is lg to sRGB conversion. This is based off the neutral channel response of the sRGB film emulation lut used in the profile. The dynamic range of the vd colorspace is limited. It is undesirable to map the vd max to the linear max. Such a conversion results in linear values are almost never what a n artist intended. The rule of thumb is that, at the high end, single value deltas in an 8 bit image should never create over a half stop of additional linear light. The vd conversion curve is limited to prevent this case.
 + 
 +-.. figure :: images/spi-vfx/lg8_to_vd8.jpeg
 ++.. figure :: images/spi-vfx/lg8_to_vd8.jpg
 +    :align: center
 + 
 +    The curve used to map from Lg8 to vd 8. The x-axis is in lg8 units, the y-axis is in vd8 units.
 diff -Nru opencolorio.orig/files/patch-export_OpenColorIO_OpenColorABI.h.in opencolorio/files/patch-export_OpenColorIO_OpenColorABI.h.in
 --- opencolorio.orig/files/patch-export_OpenColorIO_OpenColorABI.h.in	1970-01-01 09:30:00.000000000 +0930
 +++ opencolorio/files/patch-export_OpenColorIO_OpenColorABI.h.in	2012-09-20 14:43:35.987135550 +0930
 @@ -0,0 +1,18 @@
 +--- export/OpenColorIO/OpenColorABI.h.in.orig	2012-09-17 14:13:30.299501867 +0930
 ++++ export/OpenColorIO/OpenColorABI.h.in	2012-09-17 14:13:36.793503619 +0930
 +@@ -82,8 +82,13 @@
 +     #endif
 +     #define OCIOHIDDEN
 + #else // Others platforms not supported atm
 +-    #define OCIOEXPORT
 +-    #define OCIOHIDDEN
 ++    #if __GNUC__ >= 4
 ++        #define OCIOEXPORT __attribute__ ((visibility("default")))
 ++        #define OCIOHIDDEN __attribute__ ((visibility("hidden")))
 ++    #else
 ++        #define OCIOEXPORT
 ++        #define OCIOHIDDEN
 ++    #endif
 + #endif
 + 
 + #endif // INCLUDED_OCIO_OPENCOLORABI_H
 diff -Nru opencolorio.orig/files/patch-share_cmake_OCIOMacros.cmake opencolorio/files/patch-share_cmake_OCIOMacros.cmake
 --- opencolorio.orig/files/patch-share_cmake_OCIOMacros.cmake	1970-01-01 09:30:00.000000000 +0930
 +++ opencolorio/files/patch-share_cmake_OCIOMacros.cmake	2012-09-26 14:26:34.864500108 +0930
 @@ -0,0 +1,20 @@
 +--- share/cmake/OCIOMacros.cmake.orig	2012-09-23 08:22:50.284500079 +0930
 ++++ share/cmake/OCIOMacros.cmake	2012-09-23 08:23:01.717501340 +0930
 +@@ -294,7 +294,7 @@
 + MACRO(ExtractRstCPP INFILE OUTFILE)
 +    add_custom_command(
 +       OUTPUT ${OUTFILE}
 +-      COMMAND ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceCPP.py ${INFILE} ${OUTFILE}
 ++      COMMAND python ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceCPP.py ${INFILE} ${OUTFILE}
 +       DEPENDS ${INFILE}
 +       COMMENT "Extracting reStructuredText from ${INFILE} (using old process)"
 +    )
 +@@ -303,7 +303,7 @@
 + MACRO(ExtractRstSimple INFILE OUTFILE)
 +    add_custom_command(
 +       OUTPUT ${OUTFILE}
 +-      COMMAND ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceSimple.py ${INFILE} ${OUTFILE}
 ++      COMMAND python ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceSimple.py ${INFILE} ${OUTFILE}
 +       DEPENDS ${INFILE}
 +       COMMENT "Extracting reStructuredText from ${INFILE}"
 +    )
 diff -Nru opencolorio.orig/pkg-plist opencolorio/pkg-plist
 --- opencolorio.orig/pkg-plist	2012-10-06 00:47:19.294351423 +0930
 +++ opencolorio/pkg-plist	2012-09-26 14:26:34.864500108 +0930
 @@ -7,12 +7,178 @@
  include/OpenColorIO/OpenColorTransforms.h
  include/OpenColorIO/OpenColorABI.h
  include/OpenColorIO/OpenColorIO.h
 +include/PyOpenColorIO/PyOpenColorIO.h
 +%%PYTHON_SITELIBDIR%%/PyOpenColorIO.so
 +%%PYTHON_SITELIBDIR%%/PyOpenColorIO.so.1
 +%%PYTHON_SITELIBDIR%%/PyOpenColorIO.so.1.0
 +%%PYTHON_SITELIBDIR%%/PyOpenColorIO.so.1.0.7
  lib/libOpenColorIO.a
  lib/libOpenColorIO.so
  lib/libOpenColorIO.so.1
 +lib/libOpenColorIO.so.1.0
  lib/libOpenColorIO.so.1.0.7
  libdata/pkgconfig/OpenColorIO.pc
  share/ocio/setup_ocio.sh
 +%%PORTDOCS%%%%DOCSDIR%%/_images/gn10_to_linear_light.jpg
 +%%PORTDOCS%%%%DOCSDIR%%/_images/gnf_to_linear_light.jpg
 +%%PORTDOCS%%%%DOCSDIR%%/_images/lg10_to_linear_light.jpg
 +%%PORTDOCS%%%%DOCSDIR%%/_images/lg8_to_vd8.jpg
 +%%PORTDOCS%%%%DOCSDIR%%/_images/lgf_to_linear_light.jpg
 +%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_itworks.png
 +%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_open_current_profile.png
 +%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_proof_setup.png
 +%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_reveal_profile.png
 +%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_select_profile.png
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/ChangeLog.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/CompatibleSoftware.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/allocation_vars.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/index.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/nuke_default.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/spi_anim.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/spi_pipeline.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/spi_vfx.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/index.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorIO.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorTransforms.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorTypes.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/bindings/PythonAPI.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/bindings/PythonTransforms.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/bindings/PythonTypes.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/coding_guidelines.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/getting_started.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/index.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/internal_architecture.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/issues.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/submitting_changes.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/usage_examples.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/downloads.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/FAQ.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/installation.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/License.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/baking_luts.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/contexts.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/index.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/looks.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/tool_overview.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_static/ajax-loader.gif
 +%%PORTDOCS%%%%DOCSDIR%%/_static/alert_info_32.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/alert_warning_32.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/basic.css
 +%%PORTDOCS%%%%DOCSDIR%%/_static/bg-page.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/bullet_orange.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/clo_res19_lm10.0101.jpg
 +%%PORTDOCS%%%%DOCSDIR%%/_static/clo_res19_lnf.0101.jpg
 +%%PORTDOCS%%%%DOCSDIR%%/_static/clo_res19_vd16.0101.jpg
 +%%PORTDOCS%%%%DOCSDIR%%/_static/comment-bright.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/comment-close.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/comment.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js
 +%%PORTDOCS%%%%DOCSDIR%%/_static/down-pressed.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/down.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/file.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js
 +%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/ocio.css
 +%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css
 +%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js
 +%%PORTDOCS%%%%DOCSDIR%%/_static/underscore.js
 +%%PORTDOCS%%%%DOCSDIR%%/_static/up-pressed.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/up.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/websupport.js
 +%%PORTDOCS%%%%DOCSDIR%%/.buildinfo
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/ChangeLog.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/CompatibleSoftware.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/allocation_vars.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/index.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/nuke_default.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/spi_anim.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/spi_pipeline.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/spi_vfx.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/api/index.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/api/OpenColorIO.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/api/OpenColorTransforms.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/api/OpenColorTypes.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/bindings/PythonAPI.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/bindings/PythonTransforms.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/bindings/PythonTypes.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/coding_guidelines.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/getting_started.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/index.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/internal_architecture.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/issues.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/submitting_changes.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/usage_examples.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/downloads.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/environment.pickle
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/FAQ.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/index.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/installation.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/License.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/baking_luts.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/contexts.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/index.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/looks.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/tool_overview.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.html
 +%%PORTDOCS%%%%DOCSDIR%%/CompatibleSoftware.html
 +%%PORTDOCS%%%%DOCSDIR%%/configurations/allocation_vars.html
 +%%PORTDOCS%%%%DOCSDIR%%/configurations/index.html
 +%%PORTDOCS%%%%DOCSDIR%%/configurations/nuke_default.html
 +%%PORTDOCS%%%%DOCSDIR%%/configurations/spi_anim.html
 +%%PORTDOCS%%%%DOCSDIR%%/configurations/spi_pipeline.html
 +%%PORTDOCS%%%%DOCSDIR%%/configurations/spi_vfx.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/api/index.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorIO.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorTransforms.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorTypes.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/bindings/PythonAPI.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/bindings/PythonTransforms.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/bindings/PythonTypes.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/coding_guidelines.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/getting_started.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/index.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/internal_architecture.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/issues.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/submitting_changes.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/usage_examples.html
 +%%PORTDOCS%%%%DOCSDIR%%/downloads.html
 +%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
 +%%PORTDOCS%%%%DOCSDIR%%/genindex.html
 +%%PORTDOCS%%%%DOCSDIR%%/index.html
 +%%PORTDOCS%%%%DOCSDIR%%/installation.html
 +%%PORTDOCS%%%%DOCSDIR%%/License.html
 +%%PORTDOCS%%%%DOCSDIR%%/objects.inv
 +%%PORTDOCS%%%%DOCSDIR%%/py-modindex.html
 +%%PORTDOCS%%%%DOCSDIR%%/search.html
 +%%PORTDOCS%%%%DOCSDIR%%/searchindex.js
 +%%PORTDOCS%%%%DOCSDIR%%/userguide/baking_luts.html
 +%%PORTDOCS%%%%DOCSDIR%%/userguide/contexts.html
 +%%PORTDOCS%%%%DOCSDIR%%/userguide/index.html
 +%%PORTDOCS%%%%DOCSDIR%%/userguide/looks.html
 +%%PORTDOCS%%%%DOCSDIR%%/userguide/tool_overview.html
  @dirrm include/OpenColorIO
 +@dirrm include/PyOpenColorIO
  @dirrmtry libdata/pkgconfig
  @dirrm share/ocio
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/userguide
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/developers/bindings
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/developers/api
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/developers
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/configurations
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/userguide
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/developers/bindings
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/developers/api
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/developers
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/configurations
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_static
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/userguide
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/developers/bindings
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/developers/api
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/developers
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/configurations
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_images
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%
 
 --------------060308060208080502060007--
Responsible-Changed-From-To: freebsd-ports-bugs->mva 
Responsible-Changed-By: mva 
Responsible-Changed-When: Sat Oct 6 15:50:55 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171884 

From: Marcus von Appen <mva@FreeBSD.org>
To: bug-followup@FreeBSD.org, FreeBSD@Shaneware.biz
Cc:  
Subject: Re: ports/171884: [maintainer update] update for graphics/opencolorio
Date: Sun, 7 Oct 2012 15:39:09 +0200

 --8P1HSweYDcXXzwPJ
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 > Three questions -
 > 1. The base code installs .so.1 and .so.1.0.7 and I added .so.1.0 - is
 >    the .so.1.0 needed/not-wanted/not-important?
 
 This is usually up to you, if there is no port or application explicitly
 requiring .so.1.0 - most should not, but stick with .so or .so.X.
 I would recommend not to create it to avoid unnecessary maintenance.
 
 > 2. To get the latex steps working I needed to rename .jpeg files to .jpg
 >    - this seems a wasted step - is there something I am missing or is this
 >    a quirk we work with?
 
 After looking at docs/CMakeLists.txt, it seems that the HTML version of
 the docs always gets build. Is a latex-based output necessary then? To
 lower the patching effort, I'd recommend to match CMakeLists.txt not to
 build the latex part by e.g. commenting out find_package(LATEX) and
 setting if(PDFLATEX_COMPILER) to e.g. if(FALSE) or if(0).
 
 > 3. With openimageio I needed to separate the python bindings into a
 >    separate port, which was initially due to dependency issues. While I
 >    don't see the dependency issue here, I do need to build the bindings for
 >    the doc creation step. Should I separate the python bindings install
 >    into a separate port or add an option to install them or is that my
 >    choice?
 
 That's your choice.
 
 Cheers
 Marcus
 
 --8P1HSweYDcXXzwPJ
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.19 (FreeBSD)
 
 iEYEARECAAYFAlBxhf0ACgkQi68/ErJnpkeLuQCgmInp5+6NUruhtMEQtZRcv/3j
 8GMAoLOfiayoX9yxihi5+6NHUpQO13Od
 =QWo5
 -----END PGP SIGNATURE-----
 
 --8P1HSweYDcXXzwPJ--

From: Shane Ambler <FreeBSD@ShaneWare.Biz>
To: bug-followup@FreeBSD.org, FreeBSD@Shaneware.biz
Cc:  
Subject: Re: ports/171884: [maintainer update] update for graphics/opencolorio
Date: Mon, 08 Oct 2012 01:20:32 +1030

 This is a multi-part message in MIME format.
 --------------040801010004030104070407
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 This patch replaces the previous patch.
 
 Fixed gcc linking.
 Fixed documentation building.
 Removed utility apps - moving into own port (opencolorio-tools)
 
 --------------040801010004030104070407
 Content-Type: text/plain; charset=UTF-8;
  name="opencolorio.patch.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="opencolorio.patch.txt"
 
 diff -Nru opencolorio.orig/Makefile opencolorio/Makefile
 --- opencolorio.orig/Makefile	2012-10-08 01:13:52.699351194 +1030
 +++ opencolorio/Makefile	2012-10-08 00:39:57.663350906 +1030
 @@ -3,6 +3,7 @@
  
  PORTNAME=	opencolorio
  PORTVERSION=	1.0.7
 +PORTREVISION=	3
  CATEGORIES=	graphics multimedia
  MASTER_SITES=	https://github.com/imageworks/OpenColorIO/tarball/
  DISTNAME=	v${PORTVERSION}
 @@ -14,65 +15,45 @@
  
  LICENSE=	BSD
  
 -LIB_DEPENDS=	OpenImageIO:${PORTSDIR}/graphics/openimageio
 -
  FETCH_ARGS=	-pRr
  USE_CMAKE=	yes
  CMAKE_VERBOSE=	yes
  CMAKE_OUTSOURCE=	yes
 -CMAKE_ARGS=	-DOCIO_BUILD_JNIGLUE:BOOL=OFF \
 -		-DOCIO_BUILD_PYGLUE:BOOL=OFF
 +CMAKE_ARGS=	-DOCIO_BUILD_APPS:BOOL=OFF \
 +		-DOCIO_BUILD_JNIGLUE:BOOL=OFF \
 +		-DOCIO_BUILD_NUKE:BOOL=OFF \
 +		-DOCIO_BUILD_STATIC:BOOL=OFF
  USE_LDCONFIG=	yes
 +
  WRKSRC=		${WRKDIR}/imageworks-OpenColorIO-b3cb224
  MAKE_JOBS_SAFE=	yes
  
 -OPTIONS_DEFINE=		CLIAPPS SSE
 -OPTIONS_DEFAULT=	SSE
 -
 -CLIAPPS_DESC=	Build cli apps
 -SSE_DESC=	Enable sse optimizations
 +OPTIONS_DEFINE=		DOCS SSE
 +OPTIONS_DEFAULT=	DOCS SSE
  
  .include <bsd.port.options.mk>
  
 -.if ${CC:T} != "clang"
 -USE_GCC=	4.6+
 -.endif
 -
  .if empty(PORT_OPTIONS:MDOCS)
  CMAKE_ARGS+=	-DOCIO_BUILD_DOCS:BOOL=OFF
 +CMAKE_ARGS+=	-DOCIO_BUILD_PYGLUE:BOOL=OFF
  .else
 -# docs currently broken
 -CMAKE_ARGS+=	-DOCIO_BUILD_DOCS:BOOL=OFF
 +CMAKE_ARGS+=	-DOCIO_BUILD_DOCS:BOOL=ON
 +CMAKE_ARGS+=	-DOCIO_BUILD_PYGLUE:BOOL=ON
 +USE_PYTHON=	2.6+
  .endif
  
 -.if ${PORT_OPTIONS:MCLIAPPS}
 -.if ${CC:T} != "clang"
 -BROKEN=		cli apps don't build with gcc
 -.endif
 -CMAKE_ARGS+=	-DOCIO_BUILD_APPS:BOOL=ON
 -PLIST_SUB+=	CLIAPPS=""
 +.if ${PORT_OPTIONS:MSSE}
 +CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=ON
  .else
 -CMAKE_ARGS+=	-DOCIO_BUILD_APPS:BOOL=OFF
 -PLIST_SUB+=	CLIAPPS="@comment "
 +CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=OFF
  .endif
  
  .include <bsd.port.pre.mk>
  
 -.if ${ARCH} == "i386" || ${OSVERSION} < 803000
 -# this is needed for linking with openimageio
 -LDFLAGS+=	-L${LOCALBASE}/lib/gcc46 -rpath ${LOCALBASE}/lib/gcc46
 -.endif
 -
  .if ${CC:T} == "clang" && ${ARCH} == "i386"
  # workaround for pr/165968
  # may need to test osversion after fix is applied
  CFLAGS+=	-march=pentium2
  .endif
  
 -.if ${PORT_OPTIONS:MSSE}
 -CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=ON
 -.else
 -CMAKE_ARGS+=	-DOCIO_USE_SSE:BOOL=OFF
 -.endif
 -
  .include <bsd.port.post.mk>
 diff -Nru opencolorio.orig/files/patch-docs__CMakeLists.txt opencolorio/files/patch-docs__CMakeLists.txt
 --- opencolorio.orig/files/patch-docs__CMakeLists.txt	1970-01-01 09:30:00.000000000 +0930
 +++ opencolorio/files/patch-docs__CMakeLists.txt	2012-10-08 00:27:06.391352078 +1030
 @@ -0,0 +1,16 @@
 +--- ./docs/CMakeLists.txt.orig	2012-04-18 09:38:16.000000000 +0930
 ++++ ./docs/CMakeLists.txt	2012-10-08 00:26:42.081351698 +1030
 +@@ -98,11 +98,10 @@
 + add_dependencies(doc Sphinx) 
 + 
 + install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/build-html/
 +-        DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/OpenColorIO/html
 ++        DESTINATION ${CMAKE_INSTALL_PREFIX}/share/doc/opencolorio
 +         PATTERN .git EXCLUDE)
 + 
 +-find_package(LATEX)
 +-if(PDFLATEX_COMPILER)
 ++if(0)
 +     
 +     add_custom_target(latex
 +         COMMAND PYTHONPATH=${PYTHONPATH} ${EXTDIST_BINPATH}/sphinx-build -b latex . ${CMAKE_CURRENT_BINARY_DIR}/build-latex
 diff -Nru opencolorio.orig/files/patch-export__OpenColorIO__OpenColorABI.h.in opencolorio/files/patch-export__OpenColorIO__OpenColorABI.h.in
 --- opencolorio.orig/files/patch-export__OpenColorIO__OpenColorABI.h.in	1970-01-01 09:30:00.000000000 +0930
 +++ opencolorio/files/patch-export__OpenColorIO__OpenColorABI.h.in	2012-10-08 00:27:06.396352298 +1030
 @@ -0,0 +1,18 @@
 +--- ./export/OpenColorIO/OpenColorABI.h.in.orig	2012-04-18 09:38:16.000000000 +0930
 ++++ ./export/OpenColorIO/OpenColorABI.h.in	2012-10-08 00:20:27.665351115 +1030
 +@@ -82,8 +82,13 @@
 +     #endif
 +     #define OCIOHIDDEN
 + #else // Others platforms not supported atm
 +-    #define OCIOEXPORT
 +-    #define OCIOHIDDEN
 ++    #if __GNUC__ >= 4
 ++        #define OCIOEXPORT __attribute__ ((visibility("default")))
 ++        #define OCIOHIDDEN __attribute__ ((visibility("hidden")))
 ++    #else
 ++        #define OCIOEXPORT
 ++        #define OCIOHIDDEN
 ++    #endif
 + #endif
 + 
 + #endif // INCLUDED_OCIO_OPENCOLORABI_H
 diff -Nru opencolorio.orig/files/patch-share__cmake__OCIOMacros.cmake opencolorio/files/patch-share__cmake__OCIOMacros.cmake
 --- opencolorio.orig/files/patch-share__cmake__OCIOMacros.cmake	1970-01-01 09:30:00.000000000 +0930
 +++ opencolorio/files/patch-share__cmake__OCIOMacros.cmake	2012-10-08 00:27:06.389351643 +1030
 @@ -0,0 +1,20 @@
 +--- ./share/cmake/OCIOMacros.cmake.orig	2012-04-18 09:38:16.000000000 +0930
 ++++ ./share/cmake/OCIOMacros.cmake	2012-10-08 00:20:27.666350767 +1030
 +@@ -294,7 +294,7 @@
 + MACRO(ExtractRstCPP INFILE OUTFILE)
 +    add_custom_command(
 +       OUTPUT ${OUTFILE}
 +-      COMMAND ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceCPP.py ${INFILE} ${OUTFILE}
 ++      COMMAND python ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceCPP.py ${INFILE} ${OUTFILE}
 +       DEPENDS ${INFILE}
 +       COMMENT "Extracting reStructuredText from ${INFILE} (using old process)"
 +    )
 +@@ -303,7 +303,7 @@
 + MACRO(ExtractRstSimple INFILE OUTFILE)
 +    add_custom_command(
 +       OUTPUT ${OUTFILE}
 +-      COMMAND ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceSimple.py ${INFILE} ${OUTFILE}
 ++      COMMAND python ${CMAKE_SOURCE_DIR}/share/sphinx/ExtractRstFromSourceSimple.py ${INFILE} ${OUTFILE}
 +       DEPENDS ${INFILE}
 +       COMMENT "Extracting reStructuredText from ${INFILE}"
 +    )
 diff -Nru opencolorio.orig/files/patch-src__core__CMakeLists.txt opencolorio/files/patch-src__core__CMakeLists.txt
 --- opencolorio.orig/files/patch-src__core__CMakeLists.txt	1970-01-01 09:30:00.000000000 +0930
 +++ opencolorio/files/patch-src__core__CMakeLists.txt	2012-10-08 00:27:06.384351574 +1030
 @@ -0,0 +1,8 @@
 +--- ./src/core/CMakeLists.txt.orig	2012-04-18 09:38:16.000000000 +0930
 ++++ ./src/core/CMakeLists.txt	2012-10-08 00:20:27.667351098 +1030
 +@@ -90,4 +90,4 @@
 + configure_file(${CMAKE_SOURCE_DIR}/export/pkgconfig/OpenColorIO.pc.in
 +     ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc @ONLY)
 + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc
 +-    DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/lib${LIB_SUFFIX}/pkgconfig/)
 ++    DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/libdata/pkgconfig/)
 diff -Nru opencolorio.orig/files/patch-src__core__Platform.h opencolorio/files/patch-src__core__Platform.h
 --- opencolorio.orig/files/patch-src__core__Platform.h	1970-01-01 09:30:00.000000000 +0930
 +++ opencolorio/files/patch-src__core__Platform.h	2012-10-08 00:27:06.386351255 +1030
 @@ -0,0 +1,12 @@
 +--- ./src/core/Platform.h.orig	2012-04-18 09:38:16.000000000 +0930
 ++++ ./src/core/Platform.h	2012-10-08 00:20:27.668352332 +1030
 +@@ -85,7 +85,9 @@
 + 
 + // linux/unix/posix
 + #include <stdlib.h>
 ++#if !defined(__FreeBSD__)
 + #include <alloca.h>
 ++#endif
 + #include <string.h>
 + #include <pthread.h>
 + // OS for spinlock
 diff -Nru opencolorio.orig/files/patch-src_apps_ocioconvert_CMakeLists.txt opencolorio/files/patch-src_apps_ocioconvert_CMakeLists.txt
 --- opencolorio.orig/files/patch-src_apps_ocioconvert_CMakeLists.txt	2012-10-08 01:13:52.699351194 +1030
 +++ opencolorio/files/patch-src_apps_ocioconvert_CMakeLists.txt	1970-01-01 09:30:00.000000000 +0930
 @@ -1,11 +0,0 @@
 ---- src/apps/ocioconvert/CMakeLists.txt.orig	2012-06-21 20:37:46.118893014 +0930
 -+++ src/apps/ocioconvert/CMakeLists.txt	2012-06-21 20:38:07.547827470 +0930
 -@@ -10,7 +10,7 @@
 -     
 -     add_executable(ocioconvert ${share_src_files} main.cpp)
 -     
 --    target_link_libraries(ocioconvert ${OIIO_LIBRARIES} OpenColorIO dl)
 -+    target_link_libraries(ocioconvert ${OIIO_LIBRARIES} OpenColorIO)
 -     
 -     install(TARGETS ocioconvert DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/bin)
 - endif()
 diff -Nru opencolorio.orig/files/patch-src_apps_ociolutimage_CMakeLists.txt opencolorio/files/patch-src_apps_ociolutimage_CMakeLists.txt
 --- opencolorio.orig/files/patch-src_apps_ociolutimage_CMakeLists.txt	2012-10-08 01:13:52.699351194 +1030
 +++ opencolorio/files/patch-src_apps_ociolutimage_CMakeLists.txt	1970-01-01 09:30:00.000000000 +0930
 @@ -1,11 +0,0 @@
 ---- src/apps/ociolutimage/CMakeLists.txt.orig	2012-04-18 09:38:16.000000000 +0930
 -+++ src/apps/ociolutimage/CMakeLists.txt	2012-06-21 20:40:39.147826612 +0930
 -@@ -10,7 +10,7 @@
 -     
 -     add_executable(ociolutimage ${share_src_files} main.cpp)
 -     
 --    target_link_libraries(ociolutimage ${OIIO_LIBRARIES} OpenColorIO dl)
 -+    target_link_libraries(ociolutimage ${OIIO_LIBRARIES} OpenColorIO)
 -     
 -     install(TARGETS ociolutimage DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/bin)
 - endif()
 diff -Nru opencolorio.orig/files/patch-src_core_CMakeLists.txt opencolorio/files/patch-src_core_CMakeLists.txt
 --- opencolorio.orig/files/patch-src_core_CMakeLists.txt	2012-10-08 01:13:52.699351194 +1030
 +++ opencolorio/files/patch-src_core_CMakeLists.txt	1970-01-01 09:30:00.000000000 +0930
 @@ -1,8 +0,0 @@
 ---- src/core/CMakeLists.txt.orig	2012-09-19 16:50:29.000000000 +0200
 -+++ src/core/CMakeLists.txt	2012-09-19 16:51:18.000000000 +0200
 -@@ -90,4 +90,4 @@
 - configure_file(${CMAKE_SOURCE_DIR}/export/pkgconfig/OpenColorIO.pc.in
 -     ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc @ONLY)
 - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/OpenColorIO.pc
 --    DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/lib${LIB_SUFFIX}/pkgconfig/)
 -+    DESTINATION ${CMAKE_INSTALL_EXEC_PREFIX}/libdata/pkgconfig/)
 diff -Nru opencolorio.orig/files/patch-src_core_Platform.h opencolorio/files/patch-src_core_Platform.h
 --- opencolorio.orig/files/patch-src_core_Platform.h	2012-10-08 01:13:52.699351194 +1030
 +++ opencolorio/files/patch-src_core_Platform.h	1970-01-01 09:30:00.000000000 +0930
 @@ -1,12 +0,0 @@
 ---- src/core/Platform.h.orig	2012-06-21 20:18:57.343827187 +0930
 -+++ src/core/Platform.h	2012-06-21 20:20:38.915828064 +0930
 -@@ -85,7 +85,9 @@
 - 
 - // linux/unix/posix
 - #include <stdlib.h>
 -+#if !defined(__FreeBSD__)
 - #include <alloca.h>
 -+#endif
 - #include <string.h>
 - #include <pthread.h>
 - // OS for spinlock
 diff -Nru opencolorio.orig/pkg-plist opencolorio/pkg-plist
 --- opencolorio.orig/pkg-plist	2012-10-08 01:13:52.699351194 +1030
 +++ opencolorio/pkg-plist	2012-10-08 00:43:40.160351422 +1030
 @@ -1,18 +1,176 @@
 -%%CLIAPPS%%bin/ociobakelut
 -%%CLIAPPS%%bin/ociocheck
 -%%CLIAPPS%%bin/ocioconvert
 -%%CLIAPPS%%bin/ociodisplay
 -%%CLIAPPS%%bin/ociolutimage
  include/OpenColorIO/OpenColorTypes.h
  include/OpenColorIO/OpenColorTransforms.h
  include/OpenColorIO/OpenColorABI.h
  include/OpenColorIO/OpenColorIO.h
 -lib/libOpenColorIO.a
 +include/PyOpenColorIO/PyOpenColorIO.h
 +%%PYTHON_SITELIBDIR%%/PyOpenColorIO.so
 +%%PYTHON_SITELIBDIR%%/PyOpenColorIO.so.1
 +%%PYTHON_SITELIBDIR%%/PyOpenColorIO.so.1.0.7
  lib/libOpenColorIO.so
  lib/libOpenColorIO.so.1
  lib/libOpenColorIO.so.1.0.7
  libdata/pkgconfig/OpenColorIO.pc
  share/ocio/setup_ocio.sh
 +%%PORTDOCS%%%%DOCSDIR%%/_images/gn10_to_linear_light.jpeg
 +%%PORTDOCS%%%%DOCSDIR%%/_images/gnf_to_linear_light.jpeg
 +%%PORTDOCS%%%%DOCSDIR%%/_images/lg10_to_linear_light.jpeg
 +%%PORTDOCS%%%%DOCSDIR%%/_images/lg8_to_vd8.jpeg
 +%%PORTDOCS%%%%DOCSDIR%%/_images/lgf_to_linear_light.jpeg
 +%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_itworks.png
 +%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_open_current_profile.png
 +%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_proof_setup.png
 +%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_reveal_profile.png
 +%%PORTDOCS%%%%DOCSDIR%%/_images/psicc_select_profile.png
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/ChangeLog.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/CompatibleSoftware.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/allocation_vars.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/index.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/nuke_default.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/spi_anim.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/spi_pipeline.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/configurations/spi_vfx.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/index.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorIO.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorTransforms.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/api/OpenColorTypes.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/bindings/PythonAPI.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/bindings/PythonTransforms.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/bindings/PythonTypes.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/coding_guidelines.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/getting_started.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/index.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/internal_architecture.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/issues.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/submitting_changes.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/developers/usage_examples.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/downloads.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/FAQ.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/installation.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/License.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/baking_luts.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/contexts.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/index.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/looks.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_sources/userguide/tool_overview.txt
 +%%PORTDOCS%%%%DOCSDIR%%/_static/ajax-loader.gif
 +%%PORTDOCS%%%%DOCSDIR%%/_static/alert_info_32.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/alert_warning_32.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/basic.css
 +%%PORTDOCS%%%%DOCSDIR%%/_static/bg-page.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/bullet_orange.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/clo_res19_lm10.0101.jpg
 +%%PORTDOCS%%%%DOCSDIR%%/_static/clo_res19_lnf.0101.jpg
 +%%PORTDOCS%%%%DOCSDIR%%/_static/clo_res19_vd16.0101.jpg
 +%%PORTDOCS%%%%DOCSDIR%%/_static/comment-bright.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/comment-close.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/comment.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js
 +%%PORTDOCS%%%%DOCSDIR%%/_static/down-pressed.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/down.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/file.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js
 +%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/ocio.css
 +%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css
 +%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js
 +%%PORTDOCS%%%%DOCSDIR%%/_static/underscore.js
 +%%PORTDOCS%%%%DOCSDIR%%/_static/up-pressed.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/up.png
 +%%PORTDOCS%%%%DOCSDIR%%/_static/websupport.js
 +%%PORTDOCS%%%%DOCSDIR%%/.buildinfo
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/ChangeLog.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/CompatibleSoftware.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/allocation_vars.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/index.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/nuke_default.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/spi_anim.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/spi_pipeline.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/configurations/spi_vfx.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/api/index.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/api/OpenColorIO.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/api/OpenColorTransforms.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/api/OpenColorTypes.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/bindings/PythonAPI.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/bindings/PythonTransforms.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/bindings/PythonTypes.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/coding_guidelines.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/getting_started.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/index.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/internal_architecture.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/issues.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/submitting_changes.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/developers/usage_examples.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/downloads.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/environment.pickle
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/FAQ.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/index.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/installation.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/License.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/baking_luts.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/contexts.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/index.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/looks.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/.doctrees/userguide/tool_overview.doctree
 +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.html
 +%%PORTDOCS%%%%DOCSDIR%%/CompatibleSoftware.html
 +%%PORTDOCS%%%%DOCSDIR%%/configurations/allocation_vars.html
 +%%PORTDOCS%%%%DOCSDIR%%/configurations/index.html
 +%%PORTDOCS%%%%DOCSDIR%%/configurations/nuke_default.html
 +%%PORTDOCS%%%%DOCSDIR%%/configurations/spi_anim.html
 +%%PORTDOCS%%%%DOCSDIR%%/configurations/spi_pipeline.html
 +%%PORTDOCS%%%%DOCSDIR%%/configurations/spi_vfx.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/api/index.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorIO.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorTransforms.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/api/OpenColorTypes.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/bindings/PythonAPI.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/bindings/PythonTransforms.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/bindings/PythonTypes.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/coding_guidelines.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/getting_started.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/index.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/internal_architecture.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/issues.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/submitting_changes.html
 +%%PORTDOCS%%%%DOCSDIR%%/developers/usage_examples.html
 +%%PORTDOCS%%%%DOCSDIR%%/downloads.html
 +%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
 +%%PORTDOCS%%%%DOCSDIR%%/genindex.html
 +%%PORTDOCS%%%%DOCSDIR%%/index.html
 +%%PORTDOCS%%%%DOCSDIR%%/installation.html
 +%%PORTDOCS%%%%DOCSDIR%%/License.html
 +%%PORTDOCS%%%%DOCSDIR%%/objects.inv
 +%%PORTDOCS%%%%DOCSDIR%%/py-modindex.html
 +%%PORTDOCS%%%%DOCSDIR%%/search.html
 +%%PORTDOCS%%%%DOCSDIR%%/searchindex.js
 +%%PORTDOCS%%%%DOCSDIR%%/userguide/baking_luts.html
 +%%PORTDOCS%%%%DOCSDIR%%/userguide/contexts.html
 +%%PORTDOCS%%%%DOCSDIR%%/userguide/index.html
 +%%PORTDOCS%%%%DOCSDIR%%/userguide/looks.html
 +%%PORTDOCS%%%%DOCSDIR%%/userguide/tool_overview.html
  @dirrm include/OpenColorIO
 +@dirrm include/PyOpenColorIO
  @dirrmtry libdata/pkgconfig
  @dirrm share/ocio
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/userguide
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/developers/bindings
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/developers/api
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/developers
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/configurations
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/userguide
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/developers/bindings
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/developers/api
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/developers
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees/configurations
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/.doctrees
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_static
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/userguide
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/developers/bindings
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/developers/api
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/developers
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources/configurations
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_sources
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%/_images
 +%%PORTDOCS%%@dirrm %%DOCSDIR%%
 
 --------------040801010004030104070407--
State-Changed-From-To: open->closed 
State-Changed-By: mva 
State-Changed-When: Thu Dec 20 10:52:35 UTC 2012 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171884 
>Unformatted:
