Ticket #38045: cfengine3-whitespace.diff

File cfengine3-whitespace.diff, 3.7 KB (added by eric.anlu.dong@…, 11 years ago)

Whitespace and formatting

  • dports/sysutils/cfengine3/Portfile

     
    1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
     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
    22# $Id$
    33
    4 PortSystem 1.0
     4PortSystem          1.0
    55
    6 name                            cfengine3
    7 conflicts                       cfengine
    8 version                         3.1.2
    9 revision                        7
    10 categories                      sysutils
    11 maintainers                     nomaintainer
    12 description                     network configuration-management tool
    13 long_description        a suite of programs for integrated autonomic \
    14                                         management of either individual or networked \
    15                                         computers. Cfengine 3 is a significant rewrite \
    16                                         of underlying cfengine technology which \
    17                                         preserves the core principles and methodology \
    18                                         of cfengine2’s approach.
    19 homepage                        http://cfengine.com/
    20 distname                        cfengine-${version}
    21 master_sites            ${homepage}source-code/download?file=${distfiles}&dummy=
     6name                cfengine3
     7conflicts           cfengine
     8version             3.1.2
     9revision            7
     10categories          sysutils
     11license             GPL-3
     12maintainers         nomaintainer
     13description         network configuration-management tool
     14long_description    a suite of programs for integrated autonomic \
     15                    management of either individual or networked \
     16                    computers. Cfengine 3 is a significant rewrite \
     17                    of underlying cfengine technology which \
     18                    preserves the core principles and methodology \
     19                    of cfengine2’s approach.
     20homepage            http://cfengine.com/
     21distname            cfengine-${version}
     22master_sites        ${homepage}source-code/download?file=${distfiles}&dummy=
    2223checksums           md5     497c05e59118332e34dbf8965217613b \
    2324                    sha1    70b6fa569ba4fb0c314ab6256c11596d8c138321 \
    2425                    rmd160  5df871993ea77107bfc617ec8dc2e183d76ed7b5
    25 platforms                       darwin
     26platforms           darwin
    2627                   
    27 depends_lib                     port:db46 \
    28                                         port:openssl \
    29                                         port:pcre
     28depends_lib         port:db46 \
     29                    port:openssl \
     30                    port:pcre
    3031
    3132patchfiles          patch-src-files_operators.c.diff
    3233
    3334post-patch {
    34         foreach manfile [glob ${worksrcpath}/docs/*.8] {
    35                 reinplace "s|/usr/local|${prefix}|g" $manfile
    36                 reinplace "s|/var/cfengine|${prefix}&|g" $manfile
    37         }
     35    foreach manfile [glob ${worksrcpath}/docs/*.8] {
     36        reinplace "s|/usr/local|${prefix}|g" $manfile
     37        reinplace "s|/var/cfengine|${prefix}&|g" $manfile
     38    }
    3839}
    3940
    40 set cfworkdir           ${prefix}/var/cfengine
     41set cfworkdir       ${prefix}/var/cfengine
    4142
    42 configure.cflags        -I${prefix}/include/db46 -I${prefix}/include
    43 configure.ldflags       -L${prefix}/lib/db46 -L${prefix}/lib
    44 configure.args          --mandir='\${prefix}/share/man' \
    45                                         --infodir='\${prefix}/share/info' \
    46                                         --with-workdir="${cfworkdir}" \
    47                                         --with-berkeleydb=default \
    48                                         --with-openssl=${prefix} \
    49                                         --with-pcre=${prefix} \
    50                                         --without-gd
     43configure.cflags    -I${prefix}/include/db46 -I${prefix}/include
     44configure.ldflags   -L${prefix}/lib/db46 -L${prefix}/lib
     45configure.args      --mandir='\${prefix}/share/man' \
     46                    --infodir='\${prefix}/share/info' \
     47                    --with-workdir="${cfworkdir}" \
     48                    --with-berkeleydb=default \
     49                    --with-openssl=${prefix} \
     50                    --with-pcre=${prefix} \
     51                    --without-gd
    5152
    52 # vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4