cd /usr/ports/editors/nano && make package-recursive
pkg_create -Rb /var/db/pkg/nano-1.2.5/
hassan said:Hello
I am using freeBSD on a system with low speed connection
is there any way to download ports elsewhere and install
then on my system?
thanks for help!
3) prepare all config files for all dependency:cd /usr/ports/x11/kde3
- doing this for a while you not get "no operation" after entering.make config-recursive
5) then burn /usr/ports/distfiles directory and /var/db/ports (saved options) to CD/flash drive and mount it to /usr/ports/distfiles and /var/db/ports on home machine.make fetch && make fetch-recursive
make package-recursive
# Download and unzip ports/{Mk,Makefile,$basefoo}
> fetch http://foo.freebsd.org/bar/ports_base.tbz
> tar xf ports_base.tbz
# Get INDEX
> make fetchindex
# Search the index and download all necessary port skeletons
> make quicksearch name=foobar
> make fetchskel-recursive portname=baz/foobar
# Compile foobar
> cd baz/foobar && make install clean
lme@ said:A nice thing to have would be the following:
Code:# Download and unzip ports/{Mk,Makefile,$basefoo} > fetch http://foo.freebsd.org/bar/ports_base.tbz > tar xf ports_base.tbz # Get INDEX > make fetchindex # Search the index and download all necessary port skeletons > make quicksearch name=foobar > make fetchskel-recursive portname=baz/foobar # Compile foobar > cd baz/foobar && make install clean
That way you only need to download
- Portstree base file like Makefiles etc. (a few MB)
- The port's and all dependent skeletons (a few KB)
This would also be very handy in embedded environments where hdd space is very limited.