Ignore:
Timestamp:
Jan 5, 2003, 1:21:40 AM (18 years ago)
Author:
landonf (Landon Fuller)
Message:

Add support for homepage key
Submitted by: jpm@…

Location:
trunk/base/src/port1.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portpackage.tcl

    r1534 r1560  
    115115
    116116proc package_pkg {portname portversion entry} {
    117     global portdbpath destpath workpath contents prefix portresourcepath description package.destpath long_description
     117    global portdbpath destpath workpath contents prefix portresourcepath description package.destpath long_description homepage
    118118
    119119    set resourcepath ${workpath}/pkg_resources
  • trunk/base/src/port1.0/portregistry.tcl

    r1528 r1560  
    4040
    4141# define options
    42 options contents long_description description registry.nochecksum registry.path registry.nobzip registry.contents_recurse
     42options contents long_description description homepage registry.nochecksum registry.path registry.nobzip registry.contents_recurse
    4343
    4444# Export options via PortInfo
    45 options_export description long_description
     45options_export description long_description homepage
    4646
    4747default registry.path {[file join ${portdbpath} receipts]}
     
    208208
    209209proc registry_main {args} {
    210     global portname portversion portpath categories description long_description depends_run contents package-install uninstall workdir worksrcdir prefix UI_PREFIX
     210    global portname portversion portpath categories description long_description homepage depends_run contents package-install uninstall workdir worksrcdir prefix UI_PREFIX
    211211
    212212    # Package installed successfully, so now we must register it
     
    221221        registry_store $rhandle [concat long_description ${long_description}]
    222222    }
     223    if [info exists homepage] {
     224        registry_store $rhandle [concat homepage ${homepage}]
     225    }
    223226    if [info exists depends_run] {
    224227        registry_store $rhandle [list run_depends $depends_run]
Note: See TracChangeset for help on using the changeset viewer.