Ticket #685: patch

File patch, 1.4 KB (added by jcorley1@…, 21 years ago)

patch for port.1, Makefile, and port.tcl

  • src/port1.0/port.tcl

     
    4646package require portrpmpackage 1.0
    4747package require portcontents 1.0
    4848package require portmpkg 1.0
     49package require portquery-variants 1.0
     50package require portquery-requires 1.0
  • src/port1.0/Makefile

     
    44        portfetch.tcl portmain.tcl portbuild.tcl portpatch.tcl portutil.tcl \
    55        portinstall.tcl portdepends.tcl portinstall.tcl portuninstall.tcl   \
    66        portdepends.tcl portclean.tcl portpackage.tcl portcontents.tcl      \
    7         portmpkg.tcl portrpmpackage.tcl
     7        portmpkg.tcl portrpmpackage.tcl portquery-variants.tcl \
     8       portquery-requires.tcl
    89
    910SUBDIR=         resources
    1011
  • src/port/port.1

     
    8484.Dl clean
    8585.Dl search
    8686.Dl list
     87.Dl query-requires
     88.Dl query-variants
    8789.Dl toc
    8890.Pp
    8991Besides the main targets
     
    131133To list the files (table of contents) installed by a given port (in this case apr):
    132134.Pp
    133135.Dl "port toc apr"
     136.Pp
     137To find out what variants a port provides:
     138.Pp
     139.Dl "port query-variants apache
     140.Pp
     141To display the requirements of a port (this currently does not handle variants):
     142.Pp
     143.Dl "port query-requires apr-util
    134144.Pp
    135145The following demonstrates invoking
    136146.Nm