Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Nov 2008 11:31:08 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        w_anup <anupwattamwar@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to create tbz package in freebsd
Message-ID:  <874p2gapwj.fsf@kobe.laptop>
In-Reply-To: <20416687.post@talk.nabble.com> (w. anup's message of "Mon, 10 Nov 2008 01:19:32 -0800 (PST)")
References:  <20416687.post@talk.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 Nov 2008 01:19:32 -0800 (PST), w_anup <anupwattamwar@gmail.com> 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

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/

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.

HTH,
Giorgos




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874p2gapwj.fsf>