diff options
| author | Teddy Wing | 2021-09-05 19:18:05 +0200 |
|---|---|---|
| committer | Teddy Wing | 2021-09-05 19:30:10 +0200 |
| commit | 0d0d8d72aeabe59449680ecd565b64c412608e3e (patch) | |
| tree | 675aacbf9737812d5ca7036a1816a0d1489e6116 | |
| parent | 109f74115579454eba038a5d268f67a4dd2bce6e (diff) | |
| download | macports-ports-0d0d8d72aeabe59449680ecd565b64c412608e3e.tar.bz2 | |
README: Add usage information
Describe how to add this custom repository as a local MacPorts source.
Based on this tutorial:
https://trac.macports.org/wiki/howto/SyncingWithGit
| -rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -4,6 +4,24 @@ MacPorts Ports A collection of ports for various projects. +## Adding this repository source +Clone the repository to the local filesystem: + + $ cd /opt/local/var/macports/sources/ + $ sudo mkdir -p github.com/teddywing/macports-ports/ + $ sudo chown -R $USER:admin github.com + $ git clone https://github.com/teddywing/macports-ports.git github.com/teddywing/macports-ports + +Edit the `/opt/local/etc/macports/sources.conf` and add the following line +_above_ the default MacPorts source: + + file:///opt/local/var/macports/sources/github.com/teddywing/macports-ports + +Synchronize the ports tree: + + sudo port -v sync + + ## License Licensed under the Mozilla Public License v. 2.0 (see the included LICENSE file). |
