Changeset 144774 for trunk/dports/devel


Ignore:
Timestamp:
Jan 18, 2016, 4:04:42 AM (3 years ago)
Author:
khindenburg@…
Message:

viewcvs: obsolete + replaced_by viewvc #20976

File:
1 edited

Legend:

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

    r130985 r144774  
    33PortSystem 1.0
    44
     5replaced_by    viewvc
     6PortGroup      obsolete 1.0
     7
    58name            viewcvs
    69version         0.9.2
    7 revision        1
     10revision        2
    811categories      devel www
    912license         BSD
     
    1922platforms       darwin
    2023supported_archs noarch
    21 master_sites    sourceforge
    22 patchfiles      patch-viewcvs-install
    23 checksums       md5 c7857b1ed05240ad1f691ea40044daf2
    24 
    25 use_configure   no
    26 depends_build   bin:python:python27
    27 
    28 pre-build {
    29         reinplace "s|__ROOTDIR|${prefix}/share/${name}-${version}|g" ${worksrcpath}/viewcvs-install
    30         reinplace "s|__DESTROOTDIR|${destroot}${prefix}/share/${name}-${version}|g" ${worksrcpath}/viewcvs-install
    31 }
    32 
    33 build           {}
    34 build.cmd       ./viewcvs-install
    35 post-destroot {
    36        
    37         switch ${os.platform} {
    38                 darwin {
    39                         set cgi_path "/Library/WebServer/CGI-Executables/"
    40                 } freebsd {
    41                         set cgi_path "/usr/local/www/cgi-bin/"
    42                 } default {
    43                         puts stdout "and it was like, beep beep beep beep beep..."
    44                 }
    45         }
    46        
    47         # apache port interop
    48         if {[ file exists ${prefix}/sbin/httpd]} {
    49                 set cgi_path "${prefix}/www/cgi-bin/"
    50         }
    51 
    52         system "install -d ${destroot}${cgi_path}"
    53         system "install -m 755 ${destroot}${prefix}/share/${name}-${version}/cgi/query.cgi ${destroot}${cgi_path}"
    54         system "install -m 755 ${destroot}${prefix}/share/${name}-${version}/cgi/viewcvs.cgi ${destroot}${cgi_path}"
    55 }
Note: See TracChangeset for help on using the changeset viewer.