Ignore:
Timestamp:
Oct 8, 2012, 1:11:44 AM (7 years ago)
Author:
blair@…
Message:

db{44,46,47,48,51,52,53}: whitespace consistency changes.

Make the db?? ports whitespace consistent so that diffs are minimal.
This will make forthcoming changes easier to apply to all of them (or
maybe even unify as subports).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/db52/Portfile

    r91156 r98520  
    55PortGroup  muniversal 1.0
    66
    7 name                    db52
    8 version                 5.2.42
    9 set branch              [join [lrange [split ${version} .] 0 1] {}]
    10 categories              databases
    11 license                 Sleepycat
    12 maintainers             afb openmaintainer
    13 platforms               darwin
    14 description             The Berkeley DB package, version 5.2
    15 long_description        \
     7name            db52
     8version         5.2.42
     9set branch      [join [lrange [split ${version} .] 0 1] {}]
     10categories      databases
     11license         Sleepycat
     12maintainers     afb openmaintainer
     13platforms       darwin
     14description     The Berkeley DB package, version 5.2
     15long_description \
    1616    Version 5.2 of the Berkeley Data Base library which \
    1717    offers (key/value) storage with optional concurrent \
     
    2323master_sites    http://download.oracle.com/berkeley-db/
    2424
    25 distname                db-${version}
     25distname        db-${version}
    2626
    27 checksums               \
     27checksums \
    2828    md5     28c39545efbeb926d1efef0bf33135b9 \
    2929    sha1    c533839056ab465a12808d48d3af0a35e50019be \
    3030    rmd160  717b2b68ff7d225edaed834289d8e06a3c1d7cc7
    3131
    32 configure.dir  ${worksrcpath}/build_unix
    33 build.dir      ${configure.dir}
     32configure.dir   ${worksrcpath}/build_unix
     33build.dir       ${configure.dir}
    3434
    35 configure.cmd           ../dist/configure
    36 configure.args          \
     35configure.cmd   ../dist/configure
     36configure.args \
    3737    --enable-cxx \
    3838    --includedir=\\\${prefix}/include/db${branch} \
    3939    --libdir=\\\${prefix}/lib/db${branch}
    4040
    41 use_parallel_build      yes
     41use_parallel_build  yes
    4242
    43 destroot.destdir        \
     43destroot.destdir \
    4444    prefix=${destroot}${prefix} \
    4545    docdir=${destroot}${prefix}/share/doc/${name}
    4646
    4747post-destroot {
    48         foreach bin [glob -tails -directory ${destroot}${prefix}/bin/ db_*] {
     48    foreach bin [glob -tails -directory ${destroot}${prefix}/bin/ db_*] {
    4949        set newbin [regsub {^db_} ${bin} "db${branch}_"]
    50                 move ${destroot}${prefix}/bin/${bin} \
    51                         ${destroot}${prefix}/bin/${newbin}
    52         }
    53         if { ![variant_isset no_sql] } {
    54                 move ${destroot}${prefix}/bin/dbsql \
    55                         ${destroot}${prefix}/bin/db${branch}sql
    56         }
     50        move ${destroot}${prefix}/bin/${bin} \
     51            ${destroot}${prefix}/bin/${newbin}
     52    }
     53    if { ![variant_isset no_sql] } {
     54        move ${destroot}${prefix}/bin/dbsql \
     55            ${destroot}${prefix}/bin/db${branch}sql
     56    }
    5757}
    5858
    5959variant java conflicts no_java description {Build the Java API} {
    60     configure.args-append  --enable-java
     60    configure.args-append   --enable-java
    6161    platform macosx {
    6262        pre-configure {
     
    7575    }
    7676}
     77
    7778variant no_java conflicts java description {Legacy compatibility variant} {}
    7879if {[variant_isset no_java]} {
     
    8384
    8485variant sql conflicts no_sql description {Build the SQL API} {
    85     patchfiles-append      patch-sqlite.diff
    86     configure.args-append  --enable-sql
     86    patchfiles-append       patch-sqlite.diff
     87    configure.args-append   --enable-sql
    8788}
     89
    8890variant no_sql conflicts sql description {Legacy compatibility variant} {}
    8991if {[variant_isset no_sql]} {
     
    9496
    9597variant tcl description {build Tcl API} {
    96     depends_lib-append     port:tcl
    97     configure.args-append  --enable-tcl --with-tcl=${prefix}/lib
     98    depends_lib-append      port:tcl
     99    configure.args-append   --enable-tcl --with-tcl=${prefix}/lib
    98100}
    99101
Note: See TracChangeset for help on using the changeset viewer.