Changeset 1006


Ignore:
Timestamp:
Oct 9, 2002, 7:06:24 AM (18 years ago)
Author:
jkh
Message:

Changes to support long_description (long-description unfortunately turned
out to be a bad name choice) and an attempt to sprinkle it through enough
ports to at least give people the idea in hopes they'll start adding it to
their ports. Also add to the registry entry and clean up some package
installation hook stuff while I'm in there.

Location:
trunk
Files:
13 edited

Legend:

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

    r951 r1006  
    4646
    4747proc install_main {args} {
    48     global portname portversion portpath categories description depends_run contents pkg_install pkg_deinstall workdir worksrcdir prefix build.type build.cmd build.target.install UI_PREFIX build.target.current
     48    global portname portversion portpath categories description depends_run contents workdir worksrcdir prefix build.type build.cmd build.target.install UI_PREFIX build.target.current
    4949
    5050    if ![file exists $prefix] {
  • trunk/base/src/port1.0/portregistry.tcl

    r905 r1006  
    3939
    4040# define options
    41 options contents long-description description registry.nochecksum registry.path registry.nobzip registry.contents_recurse
     41options contents long_description description registry.nochecksum registry.path registry.nobzip registry.contents_recurse
    4242
    4343# Export options via PortInfo
    44 options_export description long-description
     44options_export description long_description
    4545
    4646default registry.path {[file join ${portdbpath} receipts]}
     
    201201
    202202proc registry_main {args} {
    203     global portname portversion portpath categories description depends_run contents pkg_install pkg_deinstall workdir worksrcdir prefix UI_PREFIX
     203    global portname portversion portpath categories description long_description depends_run contents package-install uninstall workdir worksrcdir prefix UI_PREFIX
    204204
    205205    # Package installed successfully, so now we must register it
    206206    set rhandle [registry_new $portname $portversion]
    207207    ui_msg "$UI_PREFIX Adding $portname to registry, this may take a moment..."
     208
    208209    registry_store $rhandle [list prefix $prefix]
    209210    registry_store $rhandle [list categories $categories]
     
    211212        registry_store $rhandle [concat description $description]
    212213    }
     214    if [info exists long_description] {
     215        registry_store $rhandle [concat long_description ${long_description}]
     216    }
    213217    if [info exists depends_run] {
    214218        registry_store $rhandle [list run_depends $depends_run]
     219    }
     220    if [info exists package-install] {
     221        registry_store $rhandle [concat package-install ${package-install}]
    215222    }
    216223    if [info exists contents] {
     
    223230        registry_store $rhandle $x
    224231    }
    225     if {[info proc pkg_install] == "pkg_install"} {
    226         registry_store $rhandle [list pkg_install [proc_disasm pkg_install]]
    227     }
    228     if {[info proc pkg_uninstall] == "pkg_uninstall"} {
    229         registry_store $rhandle [list pkg_uninstall [proc_disasm pkg_uninstall]]
     232    if {[info proc uninstall] == "uninstall"} {
     233        registry_store $rhandle [list uninstall [proc_disasm uninstall]]
    230234    }
    231235    registry_close $rhandle
  • trunk/dports/sysutils/wmcpuload/Portfile

    r960 r1006  
    55maintainers     landonf@opendarwin.org
    66description     An "lcd" dockapp that displays the current cpuload
     7
     8long_description WMCPULoad is a program to monitor CPU usage. It is a \
     9dockapp that is supported by X window managers such as Window Maker, \
     10AfterStep, BlackBox, and Enlightenment.
     11
    712platforms       darwin freebsd
    813master_sites    http://www.sh.rim.or.jp/~ssato/src/
  • trunk/dports/sysutils/wmmemmon/Portfile

    r960 r1006  
    55maintainers     landonf@opendarwin.org
    66description     An "lcd" dockapp that displays the current memory/swap usage
     7
     8long_description WMMemMon is a program to monitor memory/swap usage. \
     9It is a dockapp that is supported by X window managers such as \
     10WindowMaker, AfterStep, BlackBox, and Enlightenment.
     11
    712platforms       darwin freebsd
    813master_sites    http://www.sh.rim.or.jp/~ssato/src/
  • trunk/dports/textproc/libiconv/Portfile

    r960 r1006  
    77maintainers     eric@opendarwin.org
    88description     Character set conversion library
     9
     10long_description A character-set conversion library which implements the \
     11iconv() API for dealing with unicode and other types of conversion.
     12
    913master_sites    ftp://ftp.gnu.org/pub/gnu/${portname}/ \
    1014                http://wuarchive.wustl.edu/mirrors/gnu/${portname}/
  • trunk/dports/www/apache/Portfile

    r960 r1006  
    88maintainers             mike+apacheport@gene-hacker.net
    99description             The extremely popular Apache http server
     10
     11long_description \
     12  Apache is an HTTP server designed as a plug-in replacement for \
     13  the NCSA server version 1.3 (or 1.4). It fixes numerous bugs in \
     14  the NCSA server and includes many frequently requested new \
     15  features, and has an API which allows it to be extended to meet \
     16  users' needs more easily.
    1017
    1118master_sites            http://www.apache.org/dist/httpd/
  • trunk/dports/www/libwww/Portfile

    r960 r1006  
    88maintainers             landonf@opendarwin.org
    99description             The W3C WWW Reference Library
     10
     11long_description        Libwww is a general-purpose Web API written in C for \
     12Unix and Windows (Win32).  With a highly extensible and layered API, \
     13it can accommodate many different types of applications including \
     14clients, robots, etc.
    1015
    1116master_sites            http://www.w3.org/Library/Distribution/ \
  • trunk/dports/www/links/Portfile

    r960 r1006  
    33version         2.0
    44description     Lynx-like WWW browser that supports tables, menus, etc
     5
     6long_description Lynx-like WWW browser that supports tables, menus, \
     7and so on for text-only displays.
     8
    59platforms       darwin freebsd
    610categories      www
  • trunk/dports/www/neon/Portfile

    r997 r1006  
    77description     An HTTP and WebDAV client library with a C interface
    88platforms       darwin
     9
     10long_description neon is an HTTP and WebDAV client library with a C \
     11language API.  It provides a high-level interface to HTTP and WebDAV methods \
     12and a low-level interface to HTTP request handling, easily allowing the \
     13implementation of new methods.
    914
    1015master_sites    http://www.webdav.org/neon/
  • trunk/dports/x11/XFree86/Portfile

    r960 r1006  
    55maintainers     eric@opendarwin.org
    66description     X11R6 windowing system
     7
     8long_description The XFree86 project's X window system implementation
     9
    710platforms       darwin freebsd
    811prefix          /usr/X11R6
  • trunk/dports/x11/fluxbox/Portfile

    r960 r1006  
    33version         0.1.10
    44description     Lightweight window manager based on Blackbox 0.61.1
     5
     6long_description $description
     7
    58maintainers     landonf@opendarwin.org
    69categories      x11-wm
  • trunk/dports/x11/gtk/Portfile

    r960 r1006  
    55maintainers     eric@opendarwin.org
    66description     Gimp Tool Kit
     7
     8long_description This is GTK+ version 1.2.10. GTK+, which stands for \
     9the Gimp ToolKit, is a library for creating graphical user interfaces \
     10for the X Window System.
     11
    712platforms       darwin freebsd
    813master_sites    ftp://ftp.gtk.org/pub/gtk/v1.2/ \
  • trunk/dports/x11/wmclock/Portfile

    r960 r1006  
    55maintainers     landonf@opendarwin.org
    66description     A dockable clock applet
     7
     8long_description Wmclock is an applet which displays the date and time \
     9in a dockable tile in the same style as the clock from the NEXTSTEP(tm) \
     10operating system.  Wmclock is specially designed for the WindowMaker \
     11window manager.
     12
    713platforms       darwin freebsd
    814master_sites    http://www.ntrnet.net/~jmknoble/WindowMaker/wmclock/
Note: See TracChangeset for help on using the changeset viewer.