how to create tbz package in freebsd

Giorgos Keramidas keramida at
Mon Nov 10 01:31:18 PST 2008

On Mon, 10 Nov 2008 01:19:32 -0800 (PST), w_anup <anupwattamwar at> wrote:
> hello All,
> i am newbie to freebsd , i want to create customize tbz package for
> free bsd , can anybody provide the procedure to create packages in
> free bsd, or any tutor will be helpful.

The ``FreeBSD Ports'' framework provides a lot of helpful parts that you
can re-use to build custom packages.  There is a lot of useful material
in the ``FreeBSD Porter's Handbook''.  You can read its latest version
online at

Parts of the Porter's Handbook explain how you can create a new port of
your own.

After you have the new port and its dependencies integrated into the
Ports system, you can create standard ``.tbz'' packages with a single
command from the port's base directory:

  % cd /usr/ports/local/yourport
  % make package

That's all.  If all the parts for fetching the sources, configuring
them, and building them are already there, the Ports will do the rest.


More information about the freebsd-questions mailing list