Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PORTCHECKOUT(1)	      User Contributed Perl Documentation      PORTCHECKOUT(1)

NAME
       portcheckout - checkout and build ports and all depending ports

SYNOPSIS
       portcheckout [--options]	ports [...]

DESCRIPTION
       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.

OPTIONS
       --help

       This help.

       --fetchonly

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

       --index=indexfile

       Use indexfile instead the default ports index file $CVSROOT/ports/IN-
       DEX,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'').

EXAMPLE
       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	depen-
       dences with anonymous cvs, run as root:

	 # CVSROOT="anoncvs@anoncvs.FreeBSD.org:/cvs"; export CVSROOT
	 # portcheckout	openssh	| /bin/sh
	 [...]

SEE ALSO
       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/

AUTHOR
       Wolfram Schneider <wosch@FreeBSD.org>, Berlin, September	1998.

perl v5.8.5			  2004-10-08		       PORTCHECKOUT(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLE | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=portcheckout&sektion=1&manpath=FreeBSD+5.3-RELEASE+and+Ports>

home | help