Skip to content
Permalink
Browse files

added interoperability support with the apache port.

cvsweb - what eles could a cvs repo want in life?

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1188 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jean-Pierre Mouilleseaux
Jean-Pierre Mouilleseaux committed Nov 3, 2002
1 parent 8dbe85a commit a25203b3d3971040b7a68be214421300510e1c6c
Showing with 6 additions and 5 deletions.
  1. +6 −5 devel/cvsweb/Portfile
@@ -17,6 +17,7 @@ checksums md5 fd15c8521b26be858616a7ba52fc2c22
configure {}
build {}
install {

switch ${os.platform} {
darwin {
set cgi_path "/Library/WebServer/CGI-Executables/"
@@ -29,11 +30,11 @@ install {
}
}

# FIXME - need interop with the apache port
#if {[ file exists ${prefix}/sbin/httpd]} {
# set cgi_path "${prefix}/???/???/"
# set httpd_conf_path "${prefix}/???/???/"
#}
# 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}"

0 comments on commit a25203b

Please sign in to comment.
You can’t perform that action at this time.