[149582] trunk/dports/graphics/oce/Portfile

mps at macports.org mps at macports.org
Mon Jun 27 06:30:13 PDT 2016


Revision: 149582
          https://trac.macports.org/changeset/149582
Author:   mps at macports.org
Date:     2016-06-27 06:30:13 -0700 (Mon, 27 Jun 2016)
Log Message:
-----------
oce: update to version 0.17.2. Maintaner timeout (#51551).

Modified Paths:
--------------
    trunk/dports/graphics/oce/Portfile

Modified: trunk/dports/graphics/oce/Portfile
===================================================================
--- trunk/dports/graphics/oce/Portfile	2016-06-27 13:27:55 UTC (rev 149581)
+++ trunk/dports/graphics/oce/Portfile	2016-06-27 13:30:13 UTC (rev 149582)
@@ -5,7 +5,8 @@
 PortGroup                   cmake 1.0
 PortGroup                   github 1.0
 
-github.setup                tpaviot oce 0.17 OCE-
+github.setup                tpaviot oce 0.17.2 OCE-
+set branch                  [join [lrange [split ${version} .] 0 1] .]
 categories                  graphics
 platforms                   darwin
 maintainers                 gmail.com:mark.brethen openmaintainer
@@ -15,8 +16,8 @@
 
 long_description            ${description}
 
-checksums                   rmd160  6f9b957423bd7de7f16e2fa19fce2934be829289 \
-                            sha256  0bcc76d067cd5cbbdfe4ad477093fbdf9d08a01cfe5b4afe0e296632afaeffde
+checksums                   rmd160  0894502fe6dec7dc6be566dddc00bc0914e0b9a9 \
+                            sha256  e73f1cb3bfd087abb903296944ea159d51266748a6b05162d0ee927ec3bb40cf
 
 depends_lib-append          port:freetype
 
@@ -60,13 +61,13 @@
 post-destroot {
     # modify installation paths relative to ${prefix}/Library/Frameworks
     reinplace "s|\\\${SELF_DIR}/../../../../include/oce|${prefix}/include/oce|g" \
-        ${destroot}${prefix}/OCE.framework/Versions/${version}/Resources/OCEConfig.cmake
+        ${destroot}${prefix}/OCE.framework/Versions/${branch}/Resources/OCEConfig.cmake
 
     reinplace "s|^get.*_IMPORT_PREFIX.*CMAKE.*|set(_IMPORT_PREFIX \\\"${prefix}\\\")|" \
-        ${destroot}${prefix}/OCE.framework/Versions/${version}/Resources/OCE-libraries.cmake
+        ${destroot}${prefix}/OCE.framework/Versions/${branch}/Resources/OCE-libraries.cmake
 
     reinplace {/^get.*_IMPORT_PREFIX.*/d} \
-        ${destroot}${prefix}/OCE.framework/Versions/${version}/Resources/OCE-libraries.cmake
+        ${destroot}${prefix}/OCE.framework/Versions/${branch}/Resources/OCE-libraries.cmake
 
     # installing OCE.framework in ${prefix} violates the layout of the ports-filesystems!
     # move it to ${prefix}/Library/Frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160627/072cb052/attachment.html>


More information about the macports-changes mailing list