Ignore:
Timestamp:
Mar 7, 2013, 5:13:30 AM (7 years ago)
Author:
ryandesign@…
Message:

cotvnc: fix version in Finder Get Info window on Snow Leopard and Lion and fix build failure on Mountain Lion (#38312)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/cotvnc/Portfile

    r90099 r103778  
    77name            cotvnc
    88version         2.0b4
     9revision        1
    910categories-append vnc
    1011maintainers     nomaintainer
     
    2526                sha1 1a749854f314d62d1e54b9ae1ce5ac13bb20f1e8 \
    2627                rmd160 dce9aafff048545e2612c6795c0ee118f3bc0da8
     28
     29depends_build   bin:iconv:libiconv
     30
    2731depends_lib     lib:libz.1:zlib
    2832
     33patchfiles      patch-project.pbxproj.diff
     34
    2935worksrcdir      ${name}
     36
     37post-patch {
     38    reinplace "s|@PREFIX@|${prefix}|g" "${worksrcpath}/Chicken of the VNC.xcodeproj/project.pbxproj"
     39   
     40    # .strings files should be UTF-16 but this project's are UTF-8.
     41    # New Xcode versions convert them for us but we need a predictable
     42    # encoding for the sed script that the Xcode project runs.
     43    foreach f [glob ${worksrcpath}/Resources/*.lproj/InfoPlist.strings] {
     44        move ${f} ${f}.tmp
     45        system "iconv -f UTF-8 -t UTF-16 ${f}.tmp > ${f}"
     46    }
     47}
     48
    3049xcode.destroot.settings SKIP_INSTALL=NO
    3150
Note: See TracChangeset for help on using the changeset viewer.