Skip to content

Commit

Permalink
added interoperability support with the apache port.
Browse files Browse the repository at this point in the history
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 committed Nov 3, 2002
1 parent 8dbe85a commit a25203b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions devel/cvsweb/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ checksums md5 fd15c8521b26be858616a7ba52fc2c22
configure {}
build {}
install {

switch ${os.platform} {
darwin {
set cgi_path "/Library/WebServer/CGI-Executables/"
Expand All @@ -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}"
Expand Down

0 comments on commit a25203b

Please sign in to comment.