# -*-perl-*-
#
# Set up for FreeBSD repo options.
#
# $FreeBSD: projects/cvsweb/cvsweb.conf-freebsd,v 1.10 2004/06/07 19:33:11 knu Exp $
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf-freebsd,v 1.5 2001/08/01 09:32:22 knu Exp $

if ($^O eq 'freebsd') {
	$ENV{'RCSLOCALID'} = 'FreeBSD=CVSHeader';
	$ENV{'RCSINCEXC'}  = 'iFreeBSD';
} else {
	$ENV{'RCSLOCALID'} = 'FreeBSD';
}

@prcategories = qw(
    advocacy
    alpha
    amd64
    bin
    conf
    docs
    gnu
    i386
    ia64
    java
    kern
    misc
    pending
    ports
    powerpc
    sparc64
    standards
    www
);

$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s";

$prkeyword = "PR";

$mancgi =
    "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.2-current&format=html";

# Allow downloading a tarball of a port or a project directory
$allow_tar = ($where =~ m,^(ports/[^/]+/[^/]+/|projects/[^/]+/),);

1;
