Ignore:
Timestamp:
Aug 5, 2003, 9:29:45 AM (15 years ago)
Author:
jkh
Message:

Mass-merge of destroot target changes. Before committing this, I also
laid down a PRE_DESTROOT_TARGET so we can easily compare the before and
after photos (or, in extremis, revert this change). I doubt that will be
necessary, however, since things appear to be working quite well with this
change and it's better to do it sooner rather than later since it changes the
rules about what commands/variables to use in new ports.

Approved by: fkr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/cvsweb/Portfile

    r2122 r3173  
    1 # $Id: Portfile,v 1.7 2003/03/03 06:18:03 mij Exp $
     1# $Id: Portfile,v 1.8 2003/08/05 09:29:01 jkh Exp $
    22
    33PortSystem 1.0
     
    3939        }
    4040       
    41         install {
    42                 system "install -d ${destroot}${cgi_path}"
    43                 system "install -d ${destroot}${httpd_conf_path}"
     41        destroot {
     42                file mkdir ${destroot}${cgi_path}
     43                file mkdir ${destroot}${httpd_conf_path}
    4444                system "install -m 755 ${worksrcpath}/cvsweb.cgi ${destroot}${cgi_path}"
    4545                system "install -m 644 ${worksrcpath}/cvsweb.conf ${destroot}${httpd_conf_path}"
     
    5757        }
    5858
    59         install {
    60                 system "install -d ${destroot}${cgi_path}"
    61                 system "install -d ${destroot}${httpd_conf_path}"
     59        destroot {
     60                file mkdir ${destroot}${cgi_path}
     61                file mkdir ${destroot}${httpd_conf_path}
    6262                system "install -m 755 ${worksrcpath}/cvsweb.cgi ${destroot}${cgi_path}"
    6363                system "install -m 644 ${worksrcpath}/cvsweb.conf ${destroot}${httpd_conf_path}"
Note: See TracChangeset for help on using the changeset viewer.