Integrating Custom Ports

Kris Moore kris at
Tue Dec 10 16:44:33 UTC 2013

On 12/10/2013 09:37, Rick Miller wrote:
> Hi all,
> I have a need to create a custom Ports tree for my organization containing
> custom Ports that currently do not exist as well as existing Ports modified
> with our organization's customizations.  I intend to create a new physical
> category according to the instructions in the Committer's Handbook (
> where our organization's Ports will be included.
> This is my first foray into Ports beyond just installing what is available.
>  So, just looking for some feedback from others doing similar.  Is there
> someone that can provide a few pointers in putting together and managing
> such a system?


So the way we've been doing it is with git.

I started by forking the ports tree from here:

After cloning the fork to disk, I added a new "remote" for the original
ports tree:

% git remote add freebsd

I then added any custom ports / patches to our fork. When I want to
import changes from upstream I just go to my fork and do a new pull:

% git pull freebsd master

Merge any conflicts and commit.

Kris Moore
PC-BSD Software

More information about the freebsd-ports mailing list