Parent: [243bea] (diff)

Download this file

README.txt    29 lines (17 with data), 943 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

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 <me> with your user
  name): 

    file:///Users/<me>/macports/
    rsync://rsync.macports.org/release/ports [default]

Inserting before ensures it's used before the macports one.

- The Portfile file should be copied under category/portname. e.g.:

    /Users/<me>/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 /Users/<me>/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