Ticket #47225: Portfile-analog.whitespace.diff

File Portfile-analog.whitespace.diff, 4.0 KB (added by Schamschula (Marius Schamschula), 10 years ago)
  • Portfile

    old new  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    12# $Id: Portfile 124751 2014-08-27 23:38:49Z jmr@macports.org $
    23
    3 PortSystem                      1.0
     4PortSystem          1.0
    45
    5 name                            analog
    6 version                         6.0
    7 categories                      www
    8 license                         GPL-2
    9 maintainers                     nomaintainer
    10 description                     A program which analyses logfiles from WWW servers
     6name                analog
     7version             6.0
     8categories          www
     9license             GPL-2
     10maintainers         nomaintainer
     11description         A program which analyses logfiles from WWW servers
    1112long_description \
    12         It is designed to be fast and to produce accurate and attractive \
    13         statistics:  and combined with Report Magic, you can generate even \
    14         prettier reports.  It's free software.
    15 
    16 platforms                       darwin
    17 
    18 homepage                        http://www.analog.cx/
    19 master_sites            http://www.analog.cx/ \
    20                                         http://analog.linuxhelp.ca/ \
    21                                         http://www.rge.com/pub/infosystems/statistics/analog/ \
    22                                         http://sunsite.cnlab-switch.ch/www/mirror/analog/
     13    It is designed to be fast and to produce accurate and attractive \
     14    statistics:  and combined with Report Magic, you can generate even \
     15    prettier reports.  It's free software.
     16
     17platforms           darwin
     18
     19homepage            http://www.analog.cx/
     20master_sites        http://www.analog.cx/ \
     21                    http://analog.linuxhelp.ca/ \
     22                    http://www.rge.com/pub/infosystems/statistics/analog/ \
     23                    http://sunsite.cnlab-switch.ch/www/mirror/analog/
    2324
    24 checksums                       md5 743d03a16eb8c8488205ae63cdb671cd \
    25                                         sha1 17ad601f84e73c940883fb9b9e805879aac37493
     25checksums           md5 743d03a16eb8c8488205ae63cdb671cd \
     26                    sha1 17ad601f84e73c940883fb9b9e805879aac37493
    2627
    2728# Note, it'd be nice to use an already-installed version of jpeg and libpng
    2829# as well, but analog currently doesn't have a HAVE_ define for them, just
    2930# zlib (as well as gd, which should be here too if possible)
    30 depends_lib                     lib:libz.1:zlib
     31depends_lib         lib:libz.1:zlib
    3132
    32 patchfiles                      patch-src_anlghead.h
     33patchfiles          patch-src_anlghead.h
    3334post-patch {
    34         reinplace "s|@@PREFIX@@|${prefix}|g" "${worksrcpath}/src/anlghead.h"
     35    reinplace "s|@@PREFIX@@|${prefix}|g" "${worksrcpath}/src/anlghead.h"
    3536}
    3637
    37 use_configure           no
     38use_configure       no
    3839
    39 build.args                      DEFS="-DHAVE_ZLIB" LIBS="-lz"
    40 build.target            analog
    41 #build.cmd                      cd ${worksrcpath}/src && make
     40build.args          DEFS="-DHAVE_ZLIB" LIBS="-lz"
     41build.target        analog
     42#build.cmd          cd ${worksrcpath}/src && make
    4243
    4344destroot {
    44         xinstall -m 755 -d "${destroot}${prefix}/bin" \
    45                 "${destroot}${prefix}/share/doc/${name}" \
    46                 "${destroot}${prefix}/share/man/man1" \
    47                 "${destroot}${prefix}/share/${name}"
    48         foreach item [list examples how-to images lang] {
    49                 file copy ${worksrcpath}/${item} ${destroot}${prefix}/share/${name}
    50         }
    51         foreach item [glob ${worksrcpath}/docs/*] {
    52                 file copy ${item} ${destroot}${prefix}/share/doc/${name}
    53         }
    54         xinstall -m 644 -W ${worksrcpath} ${name}.man \
    55                 "${destroot}${prefix}/share/man/man1/${name}.1"
    56         xinstall -m 755 -W ${worksrcpath} ${name} "${destroot}${prefix}/bin"
     45    xinstall -m 755 -d "${destroot}${prefix}/bin" \
     46        "${destroot}${prefix}/share/doc/${name}" \
     47        "${destroot}${prefix}/share/man/man1" \
     48        "${destroot}${prefix}/share/${name}"
     49    foreach item [list examples how-to images lang] {
     50        file copy ${worksrcpath}/${item} ${destroot}${prefix}/share/${name}
     51    }
     52    foreach item [glob ${worksrcpath}/docs/*] {
     53        file copy ${item} ${destroot}${prefix}/share/doc/${name}
     54    }
     55    xinstall -m 644 -W ${worksrcpath} ${name}.man \
     56        "${destroot}${prefix}/share/man/man1/${name}.1"
     57    xinstall -m 755 -W ${worksrcpath} ${name} "${destroot}${prefix}/bin"
    5758}
    5859
    5960platform darwin {
    60         build.args-append  OS="OSX"
     61    build.args-append  OS="OSX"
    6162}