Date: Wed, 03 Sep 2008 16:21:59 +0200 From: Matias Surdi <matiassurdi@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: pkg_create Message-ID: <g9m6hk$ndb$1@ger.gmane.org> In-Reply-To: <g9m0cd$vmm$1@ger.gmane.org> References: <g9loua$782$1@ger.gmane.org> <g9m0cd$vmm$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Ivan Voras escribió: > Matias Surdi wrote: >> I've a directory tree structure in /usr/local from wich I'd like to >> create a package. >> >> How are pkg_create arguments supposed to be? >> >> Where can I find an example? >> >> I've read the manpage, but an example would be really usefull. >> >> Thanks for your help again. > > Though it's theoretically possible, don't use pkg_create on a bunch of > files you scattered on the file system to create a package. a) it's hard > to do right by hand and b) you'll probably create an incorrect package. > > What you can do (and this is much easier) is write a port for your > application(s), see > http://www.freebsd.org/doc/en/books/porters-handbook/ and then create a > binary package from that port using "make package". > > (You do not need to submit the port or your source to anyone but you > must have it on your computer to create the package). > Thanks, this will do the job.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?g9m6hk$ndb$1>