Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 May 1999 08:05:53 -0700 (PDT)
From:      "Kevin G. Eliuk" <kevin_eliuk@sunshine.net>
To:        cjclark@home.com
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: pkg_create Guide/Tutorial
Message-ID:  <Pine.BSF.4.10.9905160759280.27835-100000@vanessa.eliuk.org>
In-Reply-To: <199905150625.CAA21353@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 May 1999, Crist J. Clark wrote:

> I'm looking for some more documentation on how to build a
> package. I've searched the Handbook and FAQ as well as the mail
> archive at the website. No sources more helpful than the pkg_create(1)
> manpage, which says,
> 
> DESCRIPTION
>      The pkg_create command is used to create packages that will subsequently
>      be fed to one of the package extraction/info utilities.  The input de-
>      scription and command line arguments for the creation of a package are
>      not really meant to be human-generated, though it is easy enough to do
>      so.  It is more expected that you will use a front-end tool for the job
>      rather than muddling through it yourself.  Nonetheless, a short descrip-
>      tion of the input syntax is included in this document.
> 
> Have been found.
> 
> I have a basic idea of how this should work, but am trying to figure
> out what I could do with install/uninstall scripts and other
> possibilities. Any pointers would be appreciated. Thanks.

Since I haven't seen a response I'll give this a crack.

Probably your easiest avenue is to create a port of the program and the
make the package from the ported software with

make package

For reference see:

http://www.freebsd.org/handbook/porting.html
/usr/ports/Mk/bsd.port.mk

-- 
Regards,
Kevin G. Eliuk
Discover Rock Solid, Discover FreeBSD | http://www.FreeBSD.Org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9905160759280.27835-100000>