Changeset 54338


Ignore:
Timestamp:
Jul 25, 2009, 6:31:42 AM (10 years ago)
Author:
jeremyhu@…
Message:

xulrunner-devel: Use the actual xulrunner tarball now that it's released instead of firefox

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/xulrunner-devel/Portfile

    r53352 r54338  
    55
    66name            xulrunner-devel
    7 set pkg_name    xulrunner
     7set component   xulrunner
    88categories      devel
    99version         1.9.1
    10 set ff_version         3.5
    11 revision        0
     10#set ff_version         3.5
     11revision        1
    1212platforms       darwin
    1313maintainers     jeremyhu openmaintainer
     
    1919
    2020homepage        http://developer.mozilla.org/en/docs/XULRunner
    21 #master_sites    http://mozilla.isc.org/pub/mozilla.org/xulrunner/releases/${version}/source
    22 
    23 master_sites    http://mozilla.isc.org/pub/mozilla.org/firefox/releases/${ff_version}/source/ \
    24                 http://www.mirrorservice.org/sites/releases.mozilla.org/pub/mozilla.org/firefox/releases/${ff_version}/source/ \
    25                 http://mirror.internode.on.net/pub/mozilla/firefox/releases/${ff_version}/source/ \
    26                 http://kyoto-mz-dl.sinet.ad.jp/pub/mozilla.org/firefox/releases/${ff_version}/source/ \
    27                 http://mirror.yandex.ru/mozilla/firefox/releases/${ff_version}/source/ \
    28                 http://mozilla.c3sl.ufpr.br/releases/firefox/releases/${ff_version}/source/ \
    29                 http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${ff_version}/source/
    30 #distname        ${name}-${version}-source
    31 distname        firefox-${ff_version}-source
     21master_sites    http://mozilla.isc.org/pub/mozilla.org/${component}/releases/${version}/source
     22distname        ${component}-${version}-source
     23
     24#master_sites    http://mozilla.isc.org/pub/mozilla.org/firefox/releases/${ff_version}/source
     25#distname        firefox-${ff_version}-source
     26
    3227use_bzip2       yes
    3328
     
    7671        --enable-system-cairo \
    7772        --enable-system-sqlite \
    78         --with-default-mozilla-five-home=${prefix}/lib/${pkg_name} \
     73        --with-default-mozilla-five-home=${prefix}/lib/${component} \
    7974        --enable-oji \
    8075        --enable-plugins \
     
    177172
    178173    # Set the right install_name on the libs
    179     reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/config/rules.mk
    180     reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/config/config.mk
    181     reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/nsprpub/configure.in
    182     reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/nsprpub/configure
    183     reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/security/coreconf/Darwin.mk
    184     reinplace "s:@executable_path:${prefix}/lib/${pkg_name}:g" ${worksrcpath}/security/nss/lib/freebl/config.mk
     174    reinplace "s:@executable_path:${prefix}/lib/${component}:g" ${worksrcpath}/config/rules.mk
     175    reinplace "s:@executable_path:${prefix}/lib/${component}:g" ${worksrcpath}/config/config.mk
     176    reinplace "s:@executable_path:${prefix}/lib/${component}:g" ${worksrcpath}/nsprpub/configure.in
     177    reinplace "s:@executable_path:${prefix}/lib/${component}:g" ${worksrcpath}/nsprpub/configure
     178    reinplace "s:@executable_path:${prefix}/lib/${component}:g" ${worksrcpath}/security/coreconf/Darwin.mk
     179    reinplace "s:@executable_path:${prefix}/lib/${component}:g" ${worksrcpath}/security/nss/lib/freebl/config.mk
    185180
    186181    # Fix the correct library filenames for loading at runtime
     
    218213configure.env \
    219214        MOZCONFIG="${worksrcpath}/xulrunner/config/mozconfig" \
    220         MOZILLA_FIVE_HOME="${prefix}/lib/${pkg_name}"
     215        MOZILLA_FIVE_HOME="${prefix}/lib/${component}"
    221216
    222217build.args-append \
    223         includedir="${prefix}/include/${pkg_name}" \
    224         idldir="${prefix}/share/idl/${pkg_name}" \
    225         installdir="${prefix}/lib/${pkg_name}" \
    226         sdkdir="${prefix}/lib/${pkg_name}"
     218        includedir="${prefix}/include/${component}" \
     219        idldir="${prefix}/share/idl/${component}" \
     220        installdir="${prefix}/lib/${component}" \
     221        sdkdir="${prefix}/lib/${component}"
    227222
    228223destroot.args-append \
    229         includedir="${prefix}/include/${pkg_name}" \
    230         idldir="${prefix}/share/idl/${pkg_name}" \
    231         installdir="${prefix}/lib/${pkg_name}" \
    232         sdkdir="${prefix}/lib/${pkg_name}"
     224        includedir="${prefix}/include/${component}" \
     225        idldir="${prefix}/share/idl/${component}" \
     226        installdir="${prefix}/lib/${component}" \
     227        sdkdir="${prefix}/lib/${component}"
    233228
    234229post-destroot   {
    235230    ## Workaround to get root certs loaded, so https:// works
    236     #ln -s ${prefix}/lib/nss/libnssckbi.dylib ${destroot}${prefix}/lib/${pkg_name}/libnssckbi.dylib
     231    #ln -s ${prefix}/lib/nss/libnssckbi.dylib ${destroot}${prefix}/lib/${component}/libnssckbi.dylib
    237232
    238233    # https://bugzilla.mozilla.org/show_bug.cgi?id=486064
    239     system "cat ${worksrcpath}/dist/include/gfx/gfxtypes.h ${worksrcpath}/dist/include/thebes/gfxTypes.h > ${destroot}${prefix}/include/${pkg_name}/unstable/gfxtypes.h"
    240 }
     234    system "cat ${worksrcpath}/dist/include/gfx/gfxtypes.h ${worksrcpath}/dist/include/thebes/gfxTypes.h > ${destroot}${prefix}/include/${component}/unstable/gfxtypes.h"
     235}
Note: See TracChangeset for help on using the changeset viewer.