From ff5c981ca4d54765a8ca784d71b682a4f7229f28 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Mon, 3 Dec 2018 18:04:43 +0100 Subject: [PATCH] doc --- packaging/macports/README.txt | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/packaging/macports/README.txt b/packaging/macports/README.txt index 90ab3922..810107d7 100644 --- a/packaging/macports/README.txt +++ b/packaging/macports/README.txt @@ -1,24 +1,28 @@ -To use/test the port out of the official macports tree: -- Edit sources.conf /opt/local/etc/macports/sources.conf, and insert a URL - pointing to your local repository before the rsync one: - file:///Users/dockes/projets/fulltext/recoll/packaging/macports +http://guide.macports.org/#development.local-repositories + +To use/test the macports Portfile port out of the official macports tree: + +- Edit /opt/local/etc/macports/sources.conf, and insert a URL pointing to + your local repository before the rsync one (replace with your user + name): + + file:///Users//macports/ rsync://rsync.macports.org/release/ports [default] - (inserting before ensures it's used before the macports one) +Inserting before ensures it's used before the macports one. -- The port should live under category/portname (ie: textproc/ +- The Portfile file should be copied under category/portname. e.g.: + + /Users//macports/textproc/recoll/Portfile - After you create or update your Portfile, use the MacPorts portindex command in the local repository's directory to create or update the index of the ports in your local repository. - %% cd ~/path/to/macports - %% portindex + cd /Users//macports + portindex - Once the local port is added to the PortIndex, it becomes available for - searching or installation as with any other Portfile in the MacPorts - tree - -http://guide.macports.org/#development.local-repositories +Once the local port is added to the PortIndex, it becomes available for +searching or installation as with any other Portfile in the MacPorts tree