On Friday 11 May 2012 18:25:39 Dimitry T wrote: > I use make install on port xfce4-session, and after that make package. >
"make install" already builds the package. Which offcourse is needed to do the install part. As for pkg_create. The manual explains that very well, it even provides an example. I don't repeat it here. Just look a bit further. But as far as I can see you'll have to do that for every package. Still much faster than compiling. > > > Date: Fri, 11 May 2012 17:39:51 +0200 > > From: es...@nerim.net > > To: rfabr...@nerdshack.com > > CC: misc@openbsd.org > > Subject: Re: making packages > > > > On Fri, May 11, 2012 at 05:24:43PM +0200, Renzo Fabriek wrote: > > > On Friday 11 May 2012 15:15:23 Dimitry T wrote: > > > > I want to create packages from compiled port, copy to usb and install > on > > > > another computer. After trying with "make package" in xfce4-session port > tree > > > > i got only one package. How to include all dependencies and all needed > to > > > > install the application on another computer? > > > > > > > > > > > > > > Do you have those dependencies already installed on the build machine > before making that package? If so, they won't be build. > > > If you make the packages on a clean system, all deps will be build. > Ofcourse this includes the build-depends. > > > > If the dependencies are already installed, you can recreate the package > > from /var/db/pkg. > > > > See pkg_create(1) > > > > In general, when you want to build several things at once, use dpb(1). > > In particular, it *will* build all packages.