Ignore:
Timestamp:
Nov 6, 2015, 2:12:29 PM (3 years ago)
Author:
mojca@…
Message:

cvsweb: use perl5.22 (#48365), dependencies seem to be runtime, other minor changes

File:
1 edited

Legend:

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

    r142195 r142196  
    33
    44PortSystem          1.0
     5PortGroup           perl5 1.0
    56
    67name                cvsweb
    78version             3.0.6
    8 revision            2
     9revision            3
    910categories          devel www
    1011license             BSD
     
    1718                    history of a file, as well as diffs between revisions and \
    1819                    downloading the whole file.
     20
    1921homepage            http://www.freebsd.org/projects/cvsweb.html
    2022platforms           darwin
     
    2527                    sha256  07391ee70212ae42e54b8f6d5e613623ef2aad5fd7474899a102fcca48d213c2
    2628
    27 depends_build       port:perl5.16 \
    28                     port:p5.16-ipc-run \
    29                     port:p5.16-file-temp \
    30                     port:p5.16-uri \
    31                     port:p5.16-mime-types \
    32                     port:p5.16-string-ediff \
     29perl5.branches      5.22
     30
     31depends_run         port:perl${perl5.major} \
     32                    port:p${perl5.major}-ipc-run \
     33                    port:p${perl5.major}-file-temp \
     34                    port:p${perl5.major}-uri \
     35                    port:p${perl5.major}-mime-types \
     36                    port:p${perl5.major}-string-ediff \
    3337                    port:cvsgraph
    3438
     
    3640build               {}
    3741
    38 global cgi_path     httpd_conf_path
     42global cgi_path httpd_conf_path
    3943set cgi_path        "/Library/WebServer/CGI-Executables/"
    4044set httpd_conf_path "/private/etc/httpd/"
     
    4448variant macports_apache2 description {Install for MacPorts apache2 instead of Apple Apache} {
    4549    global cgi_path httpd_conf_path
    46         set cgi_path "${prefix}/apache2/cgi-bin/"
    47         set httpd_conf_path "${prefix}/apache2/conf/"
    48         set icons_path "${prefix}/apache2/htdocs/icons/"
    49         set css_path "${prefix}/apache2/htdocs/css/"
     50    set cgi_path        "${prefix}/apache2/cgi-bin/"
     51    set httpd_conf_path "${prefix}/apache2/conf/"
     52    set icons_path      "${prefix}/apache2/htdocs/icons/"
     53    set css_path        "${prefix}/apache2/htdocs/css/"
    5054}
    5155
     
    6266    eval xinstall -m 755 [glob ${worksrcpath}/css/*] ${destroot}${css_path}
    6367
    64     reinplace -locale en_US.ISO8859-1 "s|#!/usr/bin/perl|#!${prefix}/bin/perl5.16|g" \
     68    reinplace -locale en_US.ISO8859-1 "s|#!/usr/bin/perl|#!${perl5.bin}|g" \
    6569        "${destroot}${cgi_path}/cvsweb.cgi"
    6670    reinplace -locale en_US.ISO8859-1 "s|/usr/local/etc/cvsweb/cvsweb.conf|${httpd_conf_path}cvsweb.conf|g" \
    6771        "${destroot}${cgi_path}/cvsweb.cgi"
     72    # TODO: no effect
    6873    reinplace -locale en_US.ISO8859-1 "s|/bin /usr/bin /usr/local/bin|/bin /usr/bin /usr/local/bin ${prefix}/bin ${prefix}/sbin|g" \
    6974        "${destroot}${cgi_path}/cvsweb.cgi"
Note: See TracChangeset for help on using the changeset viewer.