[144545] trunk/dports/devel/dyld-headers/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Jan 11 23:34:47 PST 2016


Revision: 144545
          https://trac.macports.org/changeset/144545
Author:   jeremyhu at macports.org
Date:     2016-01-11 23:34:47 -0800 (Mon, 11 Jan 2016)
Log Message:
-----------
dyld-headers: Obsolete port.  It is no longer relevant.

Modified Paths:
--------------
    trunk/dports/devel/dyld-headers/Portfile

Modified: trunk/dports/devel/dyld-headers/Portfile
===================================================================
--- trunk/dports/devel/dyld-headers/Portfile	2016-01-12 07:32:38 UTC (rev 144544)
+++ trunk/dports/devel/dyld-headers/Portfile	2016-01-12 07:34:47 UTC (rev 144545)
@@ -1,74 +1,12 @@
 # $Id$
 
 PortSystem              1.0
-
 name                    dyld-headers
 version                 239.3
+revision                1
 categories              devel
 maintainers             jeremyhu openmaintainer
-homepage                http://opensource.apple.com/source/dyld/
-master_sites            http://opensource.apple.com/tarballs/dyld/
 platforms               darwin
 license                 APSL-2
-description             Header files for the dynamic linker
-long_description        Provides header files for the dynamic \
-                        linking and loading facilities in Mac OS X and Darwin
 
-distname                dyld-${version}
-checksums               sha1    f87003f34b4acf822e3c945ec8730035c603b647 \
-                        rmd160  67d647a0500869f248ae6a3c02712e52ca581120 \
-                        sha256  ceaff156a0d61ceb2f155a5d93651045481b28d4ff8a92208922cf88a53aa413
-
-post-patch {
-    reinplace "s|/usr/local|${prefix}|g" \
-            ${worksrcpath}/dyld.xcodeproj/project.pbxproj
-    reinplace "s|/usr|${prefix}|g" \
-            ${worksrcpath}/dyld.xcodeproj/project.pbxproj
-
-    foreach header [glob ${worksrcpath}/include/{,*/}*.h] {
-        if {${os.major} < 13} {
-            reinplace "s|__MAC_10_9|__MAC_NA|g" ${header}
-            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_\\(.\\)_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_9|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER|" ${header}
-            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER|__attribute__((unavailable))|g" ${header}
-        }
-        if {${os.major} < 12} {
-            reinplace "s|__MAC_10_8|__MAC_NA|g" ${header}
-            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_\\(.\\)_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_8|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER|" ${header}
-            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER|__attribute__((unavailable))|g" ${header}
-        }
-        if {${os.major} < 11} {
-            reinplace "s|__MAC_10_7|__MAC_NA|g" ${header}
-            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_\\(.\\)_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_7|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER|" ${header}
-            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER|__attribute__((unavailable))|g" ${header}
-        }
-        if {${os.major} < 10} {
-            reinplace "s|__MAC_10_6|__MAC_NA|g" ${header}
-            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_\\(.\\)_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_6|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER|" ${header}
-            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER|__attribute__((unavailable))|g" ${header}
-        }
-        if {${os.major} < 9} {
-            reinplace "s|__MAC_10_5|__MAC_NA|g" ${header}
-            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_\\(.\\)_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_5|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER|" ${header}
-            reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER|__attribute__((unavailable))|g" ${header}
-
-            reinplace "s|Availability.h|AvailabilityMacros.h|g" ${header}
-            reinplace "s|__OSX_AVAILABLE_STARTING(__MAC_NA,.*)|__attribute__((unavailable))|g" ${header}
-            reinplace "s|__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_NA,.*)|__attribute__((unavailable))|g" ${header}
-            reinplace "s|__OSX_AVAILABLE_STARTING(__MAC_10_\\(\[^,\]*\\),.*)|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER|g" ${header}
-            reinplace "s|__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_\\(\[^,\]*\\),__MAC_NA,.*)|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER|g" ${header}
-            reinplace "s|__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_\\(\[^,\]*\\),__MAC_10_\\(\[^,\]*\\),.*)|AVAILABLE_MAC_OS_X_VERSION_10_\\1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_10_\\2|g" ${header}
-        }
-    }
-}
-
-supported_archs         noarch
-use_configure no
-build {}
-
-destroot {
-    system "ditto ${worksrcpath}/include ${destroot}${prefix}/include"
-    #system "ditto ${worksrcpath}/doc/man ${destroot}${prefix}/share/man"
-}
-
-livecheck.type          regex
-livecheck.regex         "dyld-(\[\\d.\]+)"
+PortGroup               obsolete 1.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160111/63e0ef38/attachment.html>


More information about the macports-changes mailing list