Changeset 97740
- Timestamp:
- Sep 14, 2012, 1:51:00 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/libunwind-headers/Portfile
r95899 r97740 2 2 3 3 PortSystem 1.0 4 PortGroup xcode 1.05 PortGroup xcodeversion 1.06 minimum_xcodeversions {10 3.2.3}7 4 8 5 name libunwind-headers 9 version 30 10 revision 4 6 version 35.1 11 7 categories devel 12 8 maintainers mfeiri openmaintainer … … 23 19 24 20 distname libunwind-${version} 25 checksums rmd160 3e288379a63a78b566df7d185b0677f214b37e56 \ 26 sha256 6ac97d18cc2b05e6de1269bf5af03b81948bd2200dae827527f3dc618b82bd41 27 28 xcode.target libunwind-ld 21 checksums sha1 86908428aaa0ae6cec5038dc6eeb8b64dbb6cd63 \ 22 rmd160 6debb7f1a69d53ecb4512d5c9fa374ef34c4db0e \ 23 sha256 d88ecd5c37f0c0c4d18feb9be52e7b2363ef2709cd2eb36e2e205f3226110de1 29 24 30 25 post-patch { … … 35 30 36 31 foreach header [glob ${worksrcpath}/*/{,*/}*.h{,pp}] { 32 if {${os.major} < 12} { 33 reinplace "s|__MAC_10_8|__MAC_NA|g" ${header} 34 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} 35 reinplace "s|AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER|__attribute__((unavailable))|g" ${header} 36 } 37 37 if {${os.major} < 11} { 38 38 reinplace "s|__MAC_10_7|__MAC_NA|g" ${header} … … 66 66 } 67 67 68 use_configure no 69 build {} 70 71 destroot { 72 system "ditto ${worksrcpath}/include ${destroot}${prefix}/include" 73 xinstall -d ${destroot}${prefix}/include/libunwind 74 eval xinstall [glob ${worksrcpath}/src/*.h{,pp}] ${destroot}${prefix}/include/libunwind 75 76 file delete ${destroot}${prefix}/include/libunwind/libunwind_priv.h 77 } 78 68 79 livecheck.type regex 69 80 livecheck.regex "libunwind-(\[\\d.\]+)"
Note: See TracChangeset
for help on using the changeset viewer.