Switch to unified view

a/packaging/macports/README.txt b/packaging/macports/README.txt
1
To use/test the port out of the official macports tree:
2
1
2
http://guide.macports.org/#development.local-repositories
3
4
To use/test the macports Portfile port out of the official macports tree:
5
3
- Edit sources.conf /opt/local/etc/macports/sources.conf, and insert a URL
6
- Edit /opt/local/etc/macports/sources.conf, and insert a URL pointing to
4
  pointing to your local repository before the rsync one:
7
  your local repository before the rsync one (replace <me> with your user
5
    file:///Users/dockes/projets/fulltext/recoll/packaging/macports
8
  name): 
9
10
    file:///Users/<me>/macports/
6
    rsync://rsync.macports.org/release/ports [default]
11
    rsync://rsync.macports.org/release/ports [default]
7
12
8
  (inserting before ensures it's used before the macports one)
13
Inserting before ensures it's used before the macports one.
9
14
10
 The port should live under category/portname (ie: textproc/
15
- The Portfile file should be copied under category/portname. e.g.:
16
17
    /Users/<me>/macports/textproc/recoll/Portfile
11
18
12
- After you create or update your Portfile, use the MacPorts portindex
19
- After you create or update your Portfile, use the MacPorts portindex
13
  command in the local repository's directory to create or update the index
20
  command in the local repository's directory to create or update the index
14
  of the ports in your local repository.
21
  of the ports in your local repository.
15
22
16
    %% cd ~/path/to/macports
23
    cd /Users/<me>/macports
17
    %% portindex
24
    portindex
18
25
19
  Once the local port is added to the PortIndex, it becomes available for
26
Once the local port is added to the PortIndex, it becomes available for
20
  searching or installation as with any other Portfile in the MacPorts
27
searching or installation as with any other Portfile in the MacPorts tree
21
  tree
22
28
23
http://guide.macports.org/#development.local-repositories
24