portcheckout - checkout and build ports and all depending ports portcheckout [--options] ports [...] Compiling a FreeBSD port usually requires a full tree of ports in /usr/ports/. Maintaining a full ports tree can be a space and time consuming task. With portcheckout, you only download the parts of the tree that you really need. This is a magnitude faster! Portcheckout(1) checks out a FreeBSD port and all runtime and buildtime depending ports into the current working directory. The output is written to stdout as an executable shell-script. It may be executed directly to install the port or written to a file and modified to suit your particular situation. Portcheckout(1) uses cvs(1) by default to check-out port skeletons.

--help
This help.

--fetchonly
Fetch only the distfile of the ports and all depending ports. This option is useful if you don't pay a flat rate for your Internet connection.

--index=indexfile
Use indexfile instead the default ports index file $CVSROOT/ports/INDEX,v

--release=RELEASE
Use the revision specified by the (RELEASE) tag argument instead of the default ``head'' revision. See the cvs manpage for more details (``cvs co -rTAG''). Print-out the shell commands to checkout de-dict and dependences: $ portcheckout de-dict #!/bin/sh # # This is an executable shell script created by the # portcheckout program: # # /usr/local/bin/portcheckout de-dict cd /tmp || exit 1 PORTSDIR="/tmp/ports"; export PORTSDIR # checkout FreeBSD ports system Makefiles cvs checkout -P ports/Mk ################################################## # checkout port: de-dict-1.1 cvs checkout -P ports/german/dict # de-dict-1.1 depend on port: agrep-2.04 cvs checkout -P ports/textproc/agrep ################################################## # Compile and install de-dict-1.1 ( cd ports/german/dict && make all install clean ) ------------------------------------------------------------ Print-out the shell commands to checkout and install OpenSSH and dependences with anonymous cvs, run as root: # CVSROOT="anoncvs@anoncvs.FreeBSD.org:/cvs"; export CVSROOT # portcheckout openssh | /bin/sh [...] See also ports(7), cvs(1), cvsup(1). The FreeBSD Ports Collection http://www.FreeBSD.org/ports/ The FreeBSD handbook on ports and cvs ("Staying Current with FreeBSD"). http://www.FreeBSD.org/handbook/ or /usr/share/doc/handbook/ Wolfram Schneider <wosch@FreeBSD.org>, Berlin, September 1998.