152 | | |
153 | | === Another example === #example |
154 | | |
155 | | {{{port info php5}}} shows it to be first in the '''lang''' category, so it would be located in lang/php5. |
156 | | |
157 | | After browsing [https://github.com/macports/macports-ports/commits/master/lang/php5 php5's history], 5.3.0 was introduced in !bf7adcc which means the previous commit, !9b7c823, was the last update for 5.2.10. With this information, we can run: |
158 | | |
159 | | {{{ |
160 | | $ git clone --single-branch https://github.com/macports/macports-ports.git |
161 | | $ cd macports-ports |
162 | | $ git checkout 9b7c823b360a9ed1d9c6e05a15806b959b93fc05 |
163 | | $ cd lang/php5 |
164 | | $ sudo port install -- +apache2 +postgresql83 |
165 | | }}} |
166 | | |
167 | | After this, php5 version 5.2.10 should be installed. |
168 | | |
169 | | |