Changeset 87793


Ignore:
Timestamp:
Dec 6, 2011, 10:52:38 AM (8 years ago)
Author:
ryandesign@…
Message:

GNUMail-Aqua: update to 1.2.0pre3; use xcode portgroup; fix install destination; fix build errors; see #32408

Location:
trunk/dports/mail/GNUMail-Aqua
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/GNUMail-Aqua/Portfile

    r87776 r87793  
    33
    44PortSystem          1.0
     5PortGroup           xcode 1.0
    56
    67name                GNUMail-Aqua
    7 version             1.2.0pre1
     8version             1.2.0pre3
    89categories          mail aqua
    9 platforms           darwin
    1010maintainers         nomaintainer
    1111
     
    2626
    2727checksums           GNUMail-${version}${extract.suffix} \
    28                     md5 3e3c368cd7209c7201e98cbdb811abba \
     28                    rmd160  5d8ff5d6d520f586eca5eb194ed2bafa3e718d0c \
     29                    sha256  29127a65f35208a461436853b41de81f46db7d735958b40e06776805114d7b37 \
    2930                    Pantomime-${version}${extract.suffix} \
    30                     md5 2f3ddc10177013960e732cd35fd9373e
     31                    rmd160  25c397080f0826d7b266e018246658707e9bbd00 \
     32                    sha256  84227a08ca9131f14fdc6aa1365b15d75d82ca84fc3ceaec2d936f38d38f2ff2
    3133
    3234worksrcdir          GNUMail
    3335
    34 patch.dir           ${workpath}
    35 patchfiles          patch-Pantomime-CWDNSManager.m
     36post-configure {
     37    file mkdir ${worksrcpath}/build
     38}
    3639
    37 use_configure       no
     40xcode.project       GNUMail.xcodeproj
    3841
    39 build.type          pbx
    40 build {
    41     file mkdir ${worksrcpath}/build
    42     system "cd ${workpath}/Pantomime && ${build.cmd} -project Pantomime.xcode"
    43     file copy ${workpath}/Pantomime/build/Pantomime.framework ${worksrcpath}/build
    44     system "cd ${worksrcpath} && ${build.cmd} -project GNUMail.xcode"
     42pre-build {
     43    build.dir ${workpath}/Pantomime
     44    set configuration release
     45    set project Pantomime.xcodeproj
     46    set xcode_configuration_arg [xcode::get_configuration_arg ${configuration}]
     47    set xcode_project_arg [xcode::get_project_arg ${project}]
     48    set xcode_build_args [xcode::get_build_args]
     49    xcode::build_one_target \
     50        "$xcode_project_arg -alltargets $xcode_configuration_arg" \
     51        "$xcode_build_args ${xcode.build.settings}"
     52    copy ${build.dir}/build/${configuration}/Pantomime.framework ${worksrcpath}/build
     53    build.dir ${worksrcpath}
    4554}
    4655
    4756destroot {
    48     xinstall -m 755 -d ${destroot}${prefix}/Applications
    49     file copy ${worksrcpath}/build/GNUMail.app ${destroot}${prefix}/Applications
     57    copy ${destroot.dir}/build/${xcode.configuration}/GNUMail.app ${destroot}${applications_dir}
    5058}
Note: See TracChangeset for help on using the changeset viewer.