PortSystem 1.0 name cvsweb version 2.0.6 revision 0 categories devel www maintainers jpm@opendarwin.org description WWW interface for CVS repositories long_description FreeBSD-CVSweb is a WWW CGI script that allows remote users to browse a CVS repository tree via web. It can display the revision history of a file, as well as diffs between revisions and downloading the whole file. platforms darwin master_sites ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/scop/ \ ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/scop/ \ ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/scop/ \ ftp://ftp.ru.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/scop/ \ ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/scop/ \ http://people.FreeBSD.org/~scop/cvsweb/ checksums md5 fd15c8521b26be858616a7ba52fc2c22 configure {} build {} install { switch ${os.platform} { darwin { set cgi_path "/Library/WebServer/CGI-Executables/" set httpd_conf_path "/private/etc/httpd/" } freebsd { set cgi_path "/usr/local/www/cgi-bin/" set httpd_conf_path "/usr/local/etc/apache/" } default { puts stdout "and it was like, beep beep beep beep beep..." } } # apache port interop if {[ file exists ${prefix}/sbin/httpd]} { set cgi_path "${prefix}/www/cgi-bin/" set httpd_conf_path "${prefix}/etc/apache/" } system "install -o root -m 755 ${worksrcpath}/cvsweb.cgi ${cgi_path}" system "install -o root -m 644 ${worksrcpath}/cvsweb.conf ${httpd_conf_path}" contents ${cgi_path}cvsweb.cgi }