[140595] trunk/dports/graphics
mcalhoun at macports.org
mcalhoun at macports.org
Sat Sep 26 05:30:49 PDT 2015
Revision: 140595
https://trac.macports.org/changeset/140595
Author: mcalhoun at macports.org
Date: 2015-09-26 05:30:49 -0700 (Sat, 26 Sep 2015)
Log Message:
-----------
ctlang: new port (the color transformation language)
Added Paths:
-----------
trunk/dports/graphics/ctlang/
trunk/dports/graphics/ctlang/Portfile
trunk/dports/graphics/ctlang/files/
trunk/dports/graphics/ctlang/files/patch-OpenEXR_CTL.pc.in.diff
Added: trunk/dports/graphics/ctlang/Portfile
===================================================================
--- trunk/dports/graphics/ctlang/Portfile (rev 0)
+++ trunk/dports/graphics/ctlang/Portfile 2015-09-26 12:30:49 UTC (rev 140595)
@@ -0,0 +1,38 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup github 1.0
+PortGroup cmake 1.0
+
+github.setup ampas CTL 1.5.2 ctl-
+name ctlang
+categories graphics lang
+# the license is a GPL incompatible BSD Variant
+# see https://fedoraproject.org/wiki/Licensing:BSD?rd=Licensing/BSD
+license AMPAS
+maintainers mcalhoun openmaintainer
+description Programming language for digital color management
+long_description The Color Transformation Language, or CTL, is a programming language for digital color management.
+platforms darwin
+
+checksums rmd160 b70e9b44e70efc898b48d85d1a2f6938a0dae404 \
+ sha256 6d71e15a2b10531d4539536238ea832b7ed4081ebb7c47e4799c973eb87dcfed
+
+# see http://git.pld-linux.org/gitweb.cgi/packages/ctl.git/commitdiff/b49ac05c5d17f146cc913ba2e64b72b68e77cbd0
+patchfiles patch-OpenEXR_CTL.pc.in.diff
+
+depends_build-append \
+ port:pkgconfig
+depends_lib-append \
+ port:openexr \
+ port:aces_container \
+ port:tiff
+
+post-destroot {
+ # prevent mtree violations
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc
+ file rename ${destroot}${prefix}/doc/CTL ${destroot}${prefix}/share/doc/${name}
+
+ xinstall -m 644 -W ${worksrcpath} AUTHORS CHANGELOG LICENSE ${destroot}${prefix}/share/doc/${name}
+}
Property changes on: trunk/dports/graphics/ctlang/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/graphics/ctlang/files/patch-OpenEXR_CTL.pc.in.diff
===================================================================
--- trunk/dports/graphics/ctlang/files/patch-OpenEXR_CTL.pc.in.diff (rev 0)
+++ trunk/dports/graphics/ctlang/files/patch-OpenEXR_CTL.pc.in.diff 2015-09-26 12:30:49 UTC (rev 140595)
@@ -0,0 +1,23 @@
+--- config/OpenEXR_CTL.pc.in.orig 2014-06-02 18:11:24.000000000 -0700
++++ config/OpenEXR_CTL.pc.in 2015-09-26 04:32:28.000000000 -0700
+@@ -1,11 +1,12 @@
+-prefix=@prefix@
+-exec_prefix=@exec_prefix@
+-libdir=@libdir@
+-includedir=@includedir@
+-OpenEXR_includedir=@includedir@/OpenEXR
++prefix=@CMAKE_INSTALL_PREFIX@
++exec_prefix=@INSTALL_BIN_DIR@
++libdir=@INSTALL_LIB_DIR@
++includedir=@INSTALL_INCLUDE_DIR@
++OpenEXR_includedir=@INSTALL_INCLUDE_DIR@/OpenEXR
+
+ Name: OpenEXR_CTL
+ Description: Simplified OpenEXR interface to CTL
+-Version: @OPENEXR_CTL_VERSION@
+-Libs: -L${libdir} -lIlmImfCtl @OPENEXR_LDFLAGS@ @CTL_LDFLAGS@
+-Cflags: @CTL_CXXFLAGS_PC@ @OPENEXR_CXXFLAGS@ -I${OpenEXR_includedir}
++Version: @CTL_VERSION@
++Requires: CTL OpenEXR
++Libs: -L${libdir} -lIlmImfCtl
++Cflags: -I${OpenEXR_includedir}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150926/f593b99e/attachment.html>
More information about the macports-changes
mailing list