[125926] trunk/dports/security/libevt/Portfile

cal at macports.org cal at macports.org
Mon Sep 29 11:58:31 PDT 2014


Revision: 125926
          https://trac.macports.org/changeset/125926
Author:   cal at macports.org
Date:     2014-09-29 11:58:31 -0700 (Mon, 29 Sep 2014)
Log Message:
-----------
libevt: update to 20140731, fix "no files matched glob pattern '*'", closes #42789

Modified Paths:
--------------
    trunk/dports/security/libevt/Portfile

Modified: trunk/dports/security/libevt/Portfile
===================================================================
--- trunk/dports/security/libevt/Portfile	2014-09-29 17:07:45 UTC (rev 125925)
+++ trunk/dports/security/libevt/Portfile	2014-09-29 18:58:31 UTC (rev 125926)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                libevt
-version             20140112
+version             20140731
 categories-append   security
 platforms           darwin
 maintainers         nomaintainer
@@ -20,38 +20,39 @@
 distname            ${name}-alpha-${version}
 worksrcdir          ${name}-${version}
 
-checksums           md5     4a0040f9b941689362b8f48e56ad48e7 \
-                    rmd160  4e40a30f70a053b456619e7d9b9da8a6dddb3079 \
-                    sha256  51499e3e847230333c28ae58290e1a3dbb4ec34aeba2d31a35f3aaed3d64e778
+checksums           rmd160  f825de315408a9d289409fb3da4fe641b56252fa \
+                    sha256  66fecfc8044a3e6b0a68faee294e14d1072de81a79449ff499c7b48a6567eb26
 
 depends_lib         port:gettext
 
+variant universal {}
+configure.cflags-append "${configure.cflags} [get_canonical_archflags cc]"
 
+post-destroot {
+    xinstall -d ${destroot}${prefix}/share/docs/${name}
+    foreach f { AUTHORS COPYING NEWS README } {
+        xinstall ${worksrcpath}/${f} ${destroot}${prefix}/share/docs/${name}/
+    }
+}
 
-## => do the manual way, in post-destroot ...
-#post-configure {
-#   ## FIXME! NOK, tons of other file
-#   reinplace "s|PYTHON_PACKAGE_DIR = /Library/Python/2.7/site-packages|PYTHON_PACKAGE_DIR = ${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages|" ${worksrcpath}/Makefile
-#
-#}
+## https://code.google.com/p/libevt/wiki/Testing
 
+default_variants +debug +python27
 
-## FIXME: a way to split in two packages: lib and python bindings?
-
-default_variants +debug +python
-
 variant debug description {Enable verbose and debug output} {
     configure.args-append --enable-verbose-output --enable-debug-output
 }
 
-## FIXME: howto point specific python?
-variant python description {Use python 2.7} {
+variant python27 description {Python Bindings using Python 2.7} {
+    ## Enforce the right python config
+    configure.env       PYTHON_CONFIG=${prefix}/bin/python2.7-config PYTHON_VERSION=2.7
+
     depends_lib-append port:python27
     configure.args-append --enable-python \
         --with-pyprefix=`${prefix}/bin/python2.7-config --prefix`
     post-destroot {
         xinstall -d ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/
-        foreach file [glob -directory ${destroot}/Library/Python/2.7/site-packages *] {
+        foreach file [glob -nocomplain -directory ${destroot}/Library/Python/2.7/site-packages *] {
             move ${file} ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140929/35d0f4e8/attachment.html>


More information about the macports-changes mailing list