[MacPorts] UsingMacPortsQuickStart modified

MacPorts noreply at macports.org
Sat Oct 16 02:45:23 PDT 2010


Changed page "UsingMacPortsQuickStart" by raimue at macports.org from 77.190.97.193*
Page URL: <https://trac.macports.org/wiki/UsingMacPortsQuickStart>
Diff URL: <https://trac.macports.org/wiki/UsingMacPortsQuickStart?action=diff&version=14>
Revision 14
Comment: php5 does not use variants anymore, switch to vim as example

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: UsingMacPortsQuickStart
=========================================================================
--- UsingMacPortsQuickStart (version: 13)
+++ UsingMacPortsQuickStart (version: 14)
@@ -39,36 +39,36 @@
 
 To find out what software is available within the MacPorts infrastructure, you can view our [http://www.macports.org/ports.php Available Ports] page, Trac's [source:trunk/dports source browser] directly or run a quick search using MacPorts itself. For instance, if you wanted to search for the PHP language:
 
-`port search php`
+`port search vim`
 
 This will output a list of results where each item looks as the following:
 
 {{{
-php5 @5.2.9 (www, lang, php)
-    PHP: Hypertext Preprocessor
+vim @7.3.21 (editors)
+    Vi "workalike" with many additional features
 }}}
 
 For more info on a port:
 
-`port info php5`
+`port info vim`
 
 == Variants ==
 
 You may notice that info on several ports provides a list of Variants. You can also produce this same list using the "variants" action:
 
-`port variants php5`
+`port variants vim`
 
-Variants are options that can be built into your install of the port. If you have ever compiled software by hand, you'll know that these options can be set via configure script arguments (e.g. `./configure --prefix=/opt/local`). It can be confusing to figure out what each variant enables, but if you are confused you can send a question to one of the  [http://www.macports.org/contact.php#Lists MacPorts mailing lists]. The variants for PHP 5 include specifying operating system version (overriding what the install will automatically attempt to determine for itself), modules for Apache 1.x, 2.x, and support for MySQL 3.x, 4.x, 5.x, or PostgreSQL. 
+Variants are options that can be built into your install of the port. If you have ever compiled software by hand, you'll know that these options can be set via configure script arguments (e.g. `./configure --prefix=/opt/local`). It can be confusing to figure out what each variant enables, but if you are confused you can send a question to one of the  [http://www.macports.org/contact.php#Lists MacPorts mailing lists]. The variants for vim include specifying a feature set (+huge, +big, +small or +tiny) or different languages for scripting (+perl, +python26, +python27, +ruby, etc.).
 
 == Installing ports ==
 
-To install PHP 5 with support for Apache 2.x and MySQL 5.x, issue the following command:
+To install vim with support for python 2.6 and the huge feature set, issue the following command:
 
-`sudo port install php5 +apache2 +mysql5`
+`sudo port install vim +python26 +huge`
 
-This command will download, compile, and install the PHP 5 port from the official PHP website with the specified build options. Since it will take a while to build and install several ports including all versions of PHP, you might want to include the `-v` flag so that you have evidence that the build is in progress:
+This command will download, compile, and install the vim port from the vim website with the specified build options. Since it will take a while to build and install several ports, you might want to include the `-v` flag so that you have evidence that the build is in progress:
 
-`sudo port -v install php5 +apache2 +mysql5`
+`sudo port -v install vim +python26 +huge`
 
 You may notice that MacPorts will build software that you didn't specifically request. This will occur if the port you originally requested has other ports marked as dependencies. Even if the software already exists without OS X, remember the whole MacPorts self-contained design approach. Some recreation of existing software may be necessary to produce a functional self-contained environment. 
 

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on UsingMacPortsQuickStart. If it was not you, please
report to .


More information about the macports-changes mailing list