Changeset 42626


Ignore:
Timestamp:
Nov 27, 2008, 1:21:15 AM (12 years ago)
Author:
raimue@…
Message:

package1.0/portpkg.tcl, package1.0/portmpkg.tcl:
Remove portresourcepath and use [getportresourcepath] instead

Location:
branches/variant-descs-14482/base/src/package1.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/variant-descs-14482/base/src/package1.0/portmpkg.tcl

    r30781 r42626  
    110110
    111111proc package_mpkg {portname portversion portrevision} {
    112     global portdbpath destpath workpath prefix portresourcepath description package.destpath package.flat long_description homepage depends_run depends_lib
     112    global portdbpath destpath workpath prefix porturl description package.destpath package.flat long_description homepage depends_run depends_lib
    113113
    114114        set pkgpath ${package.destpath}/${portname}-${portversion}.pkg
     
    147147    }
    148148    write_welcome_html ${mpkgpath}/Contents/Resources/Welcome.html $portname $portversion $pkg_long_description $pkg_description $pkg_homepage
    149     file copy -force -- ${portresourcepath}/package/background.tiff ${mpkgpath}/Contents/Resources/background.tiff
     149    file copy -force -- [getportresourcepath $porturl "port1.0/package/background.tiff"] ${mpkgpath}/Contents/Resources/background.tiff
    150150
    151151        return 0
  • branches/variant-descs-14482/base/src/package1.0/portpkg.tcl

    r32116 r42626  
    6161
    6262proc package_pkg {portname portversion portrevision} {
    63     global UI_PREFIX portdbpath destpath workpath prefix portresourcepath description package.destpath package.flat long_description homepage portpath
     63    global UI_PREFIX portdbpath destpath workpath prefix description package.destpath package.flat long_description homepage portpath porturl
    6464    global os.version os.major
    6565
     
    9090    }
    9191    write_welcome_html ${resourcepath}/${language}.lproj/Welcome.html $portname $portversion $pkg_long_description $pkg_description $pkg_homepage
    92     file copy -force -- ${portresourcepath}/package/background.tiff ${resourcepath}/${language}.lproj/background.tiff
     92    file copy -force -- [getportresourcepath $porturl "port1.0/package/background.tiff"] ${resourcepath}/${language}.lproj/background.tiff
    9393
    9494    foreach dir {etc var tmp} {
Note: See TracChangeset for help on using the changeset viewer.