RCS file: /Volumes/src/cvs/od/proj/darwinports/base/src/port/port.1,v
retrieving revision 1.33.2.1
diff -u -r1.33.2.1 port.1
|
|
|
112 | 112 | .Fl u . |
113 | 113 | For example: |
114 | 114 | .Pp |
115 | | .Dl "port uninstall vim |
116 | | .Dl "port -u uninstall |
| 115 | .Dl "port uninstall vim" |
| 116 | .Dl "port -u uninstall" |
| 117 | .Ss activate |
| 118 | Activate the installed |
| 119 | .Ar portname . |
| 120 | .Ss deactivate |
| 121 | Deactivate the installed |
| 122 | .Ar portname . |
117 | 123 | .Ss installed |
118 | 124 | List all installed ports. |
119 | 125 | .Ss outdated |
… |
… |
|
125 | 131 | .Fl a . |
126 | 132 | For example: |
127 | 133 | .Pp |
128 | | .Dl "port upgrade vim |
129 | | .Dl "port -a upgrade |
| 134 | .Dl "port upgrade vim" |
| 135 | .Dl "port -a upgrade" |
130 | 136 | .Ss selfupdate |
131 | | Updates the DarwinPorts system, both the portstree and if needed the base. To update you typically would do: |
| 137 | Updates the DarwinPorts system, both the dports tree and if needed the base tools, installing the newest infrastructure if available. To update you typically would do: |
| 138 | .Pp |
132 | 139 | .Dl "sudo port -d selfupdate" |
| 140 | .Ss sync |
| 141 | Performs a sycn operation only on the dport stree of a DarwinPorts installation, pulling in the latest revision available of the Portfiles. To update you would do: |
| 142 | .Pp |
| 143 | .Dl "sudo port -d sync" |
133 | 144 | .Ss clean |
134 | 145 | Clean the files used for building |
135 | 146 | .Ar portname . |
… |
… |
|
137 | 148 | .Fl -work . |
138 | 149 | To remove the distribution files (tarballs, etc), specify |
139 | 150 | .Fl -dist . |
140 | | To remove any archives, specify |
| 151 | To remove the archive(s) for the current version of a port, specify |
141 | 152 | .Fl -archive . |
142 | 153 | To remove the work files, distribution files, and archives, specify |
143 | 154 | .Fl -all . |
144 | 155 | For example: |
145 | 156 | .Pp |
146 | | .Dl "port clean --dist vim |
147 | | .Dl "port clean --archive vim |
| 157 | .Dl "port clean --dist vim" |
| 158 | .Dl "port clean --archive vim" |
| 159 | .Pp |
| 160 | To remove only certain version(s) of a port's archives (version is any valid UNIX glob pattern), you can use: |
| 161 | .Pp |
| 162 | .Dl "port clean --archive vim 6.2.114" |
| 163 | .Pp |
| 164 | or: |
| 165 | .Pp |
| 166 | .Dl "port clean --archive vim '6.*'" |
148 | 167 | .Ss list |
149 | 168 | List all available ports. |
150 | 169 | .Ss search |
151 | 170 | Search for an available port whose name matches a regular expression. |
152 | 171 | .Pp |
153 | | .Dl "post search vim |
| 172 | .Dl "port search vim" |
154 | 173 | .Pp |
155 | 174 | .Ss contents |
156 | 175 | Lists the files installed by |
… |
… |
|
203 | 222 | is performed, or when the |
204 | 223 | .Ar archive |
205 | 224 | target is called explicitly. |
206 | | .Ss activate |
207 | | Activate the installed |
208 | | .Ar portname . |
209 | | .Ss deactivate |
210 | | Deactivate the installed |
211 | | .Ar portname . |
212 | 225 | .Sh PACKAGING TARGETS |
213 | 226 | There are also targets for producing installable packages of ports: |
214 | 227 | .Pp |