Changeset 98520


Ignore:
Timestamp:
Oct 8, 2012, 1:11:44 AM (12 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).

Location:
trunk/dports/databases
Files:
7 edited

Legend:

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

    r80500 r98520  
    11# $Id$
    22
    3 PortSystem              1.0
     3PortSystem      1.0
    44
    5 name                    db44
    6 version                 4.4.20
    7 revision                1
    8 categories              databases
    9 license                 Sleepycat
    10 maintainers             nomaintainer
    11 platforms               darwin
    12 use_parallel_build      yes
    13 description             The Berkeley DB package, version 4.4
     5name            db44
     6version         4.4.20
     7revision        1
     8categories      databases
     9license         Sleepycat
     10maintainers     nomaintainer
     11platforms       darwin
     12use_parallel_build  yes
     13description     The Berkeley DB package, version 4.4
    1414
    15 long_description        \
    16                         Version 4.4 of the Berkeley Data Base library which \
    17                         offers (key/value) storage with optional concurrent \
    18                         access or transactions interface.  This port will \
    19                         install the AES (American Encryption Standard) \
    20                         enabled version.  Utilities are included in the \
    21                         distribution to convert v1.85 databases to v4.4 \
    22                         databases, and a backwards compatible API is \
    23                         provided to maintain compatibility with programs \
    24                         using the v1.85 interface.
     15long_description \
     16    Version 4.4 of the Berkeley Data Base library which offers \
     17    (key/value) storage with optional concurrent access or \
     18    transactions interface.  This port will install the AES (American \
     19    Encryption Standard) enabled version.  Utilities are included in \
     20    the distribution to convert v1.85 databases to v4.4 databases, and \
     21    a backwards compatible API is provided to maintain compatibility \
     22    with programs using the v1.85 interface.
    2523
    26 homepage                http://www.oracle.com/database/berkeley-db/
    27 master_sites            http://download-west.oracle.com/berkeley-db/ \
    28                         http://download-east.oracle.com/berkeley-db/ \
    29                         http://download-uk.oracle.com/berkeley-db/
    30 patch_sites             http://download.oracle.com/berkeley-db/patches/db/${version}/
     24homepage        http://www.oracle.com/database/berkeley-db/
     25master_sites    http://download-west.oracle.com/berkeley-db/ \
     26                http://download-east.oracle.com/berkeley-db/ \
     27                http://download-uk.oracle.com/berkeley-db/
     28patch_sites     http://download.oracle.com/berkeley-db/patches/db/${version}/
    3129
    32 patchfiles              patch.${version}.1 \
    33                         patch.${version}.2 \
    34                         patch.${version}.3 \
    35                         patch.${version}.4
     30patchfiles      patch.${version}.1 \
     31                patch.${version}.2 \
     32                patch.${version}.3 \
     33                patch.${version}.4
    3634
    37 distname                db-${version}
    38 patch.dir               ${workpath}/${distname}
     35distname        db-${version}
     36patch.dir       ${workpath}/${distname}
    3937
    40 checksums               ${distname}${extract.suffix} \
    41                           md5 d84dff288a19186b136b0daf7067ade3 \
    42                           sha1 bb4c68a4afc14712eb2954b7991f5dc9fe93bf7b \
    43                           rmd160 5940d9244b4df4897f66f1b67d3c967081c18b85 \
    44                         patch.${version}.1 \
    45                           md5 66584d621355df055b6e05b4a02e9c3e \
    46                           sha1 5843380b67561134432f46dce53b67a133ef7962 \
    47                           rmd160 57ecff5ecb934e1eb771c49e4e67246d579702b2 \
    48                         patch.${version}.2 \
    49                           md5 85df93a0867f6cace3501671cdeb6ed1 \
    50                           sha1 75f0ae6ef06a23a690e5ebe6460552a11448ef32 \
    51                           rmd160 e560b07cc20dbd6865d8aad91941515f8fb031c1 \
    52                         patch.${version}.3 \
    53                           md5 88ee91889ebf5498b22b2e7bed945d41 \
    54                           sha1 580265cdccc394ed988a6334f6c9a7d2bb15d141 \
    55                           rmd160 668c8e88f6fde2c028a9a3ad1d6917a28e7b3e85 \
    56                         patch.${version}.4 \
    57                           md5 c2ef7b3e59460c35950fab5f2faa3fc0 \
    58                           sha1 8875add3312fdc0548fbd4dedb71b4f8637dc6c9 \
    59                           rmd160 46cf2177aee1ce00c0044817610231541722c4d3
     38checksums       ${distname}${extract.suffix} \
     39                md5    d84dff288a19186b136b0daf7067ade3 \
     40                sha1    bb4c68a4afc14712eb2954b7991f5dc9fe93bf7b \
     41                rmd160 5940d9244b4df4897f66f1b67d3c967081c18b85 \
     42                patch.${version}.1 \
     43                md5    66584d621355df055b6e05b4a02e9c3e \
     44                sha1    5843380b67561134432f46dce53b67a133ef7962 \
     45                rmd160 57ecff5ecb934e1eb771c49e4e67246d579702b2 \
     46                patch.${version}.2 \
     47                md5    85df93a0867f6cace3501671cdeb6ed1 \
     48                sha1    75f0ae6ef06a23a690e5ebe6460552a11448ef32 \
     49                rmd160 e560b07cc20dbd6865d8aad91941515f8fb031c1 \
     50                patch.${version}.3 \
     51                md5    88ee91889ebf5498b22b2e7bed945d41 \
     52                sha1    580265cdccc394ed988a6334f6c9a7d2bb15d141 \
     53                rmd160 668c8e88f6fde2c028a9a3ad1d6917a28e7b3e85 \
     54                patch.${version}.4 \
     55                md5    c2ef7b3e59460c35950fab5f2faa3fc0 \
     56                sha1    8875add3312fdc0548fbd4dedb71b4f8637dc6c9 \
     57                rmd160 46cf2177aee1ce00c0044817610231541722c4d3
    6058
    61 worksrcdir              ${distname}/build_unix
     59worksrcdir      ${distname}/build_unix
    6260
    63 configure.cmd           ../dist/configure
    64 configure.args          --enable-cxx --enable-compat185 --enable-dump185 \
    65                                 --includedir=\\\${prefix}/include/db44 \
    66                                 --libdir=\\\${prefix}/lib/db44 \
    67                                 --program-transform-name="s,^db,db44," \
    68                                 --disable-tcl
     61configure.cmd   ../dist/configure
     62configure.args  --enable-cxx --enable-compat185 --enable-dump185 \
     63                --includedir=\\\${prefix}/include/db44 \
     64                --libdir=\\\${prefix}/lib/db44 \
     65                --program-transform-name="s,^db,db44," \
     66                --disable-tcl
    6967
    70 destroot.destdir        prefix=${destroot}${prefix} \
    71                                 docdir=${destroot}${prefix}/share/${name}-${version}/
     68destroot.destdir \
     69    prefix=${destroot}${prefix} \
     70    docdir=${destroot}${prefix}/share/${name}-${version}/
    7271
    7372post-destroot {
    74         foreach bin { archive hotbackup dump dump185 printlog upgrade checkpoint recover verify deadlock load stat } {
    75                 move ${destroot}${prefix}/bin/db_${bin} \
    76                         ${destroot}${prefix}/bin/db44_${bin}
    77         }
     73    foreach bin {archive
     74                 hotbackup
     75                 dump
     76                 dump185
     77                 printlog
     78                 upgrade
     79                 checkpoint
     80                 recover
     81                 verify
     82                 deadlock
     83                 load
     84                 stat} {
     85        move ${destroot}${prefix}/bin/db_${bin} \
     86            ${destroot}${prefix}/bin/db44_${bin}
     87    }
    7888}
    7989
    8090variant java {
    81         configure.args-append --enable-java
     91    configure.args-append  --enable-java
    8292}
    8393
    8494variant tcl {
    85         depends_lib-append port:tcl
    86         configure.args-delete --disable-tcl
    87         configure.args-append --enable-tcl --with-tcl=${prefix}/lib/
     95    depends_lib-append      port:tcl
     96    configure.args-delete  --disable-tcl
     97    configure.args-append  --enable-tcl --with-tcl=${prefix}/lib/
    8898}
    8999
    90 livecheck.type  regex
    91 livecheck.url   http://www.oracle.com/technology/software/products/berkeley-db/db/
    92 livecheck.regex "Berkeley DB (4\\.4\\.\\d+(?:\\.\\d+)*)"
    93 
     100livecheck.type  regex
     101livecheck.url   http://www.oracle.com/technology/software/products/berkeley-db/db/
     102livecheck.regex "Berkeley DB (4\\.4\\.\\d+(?:\\.\\d+)*)"
  • trunk/dports/databases/db46/Portfile

    r98491 r98520  
    44PortGroup  muniversal 1.0
    55
    6 name                    db46
     6name            db46
    77set minor_version       21
    8 version                 4.6.${minor_version}
    9 revision                6
    10 categories              databases
    11 license                 Sleepycat
    12 maintainers             blair openmaintainer
    13 platforms               darwin
     8version         4.6.${minor_version}
     9revision        6
     10categories      databases
     11license         Sleepycat
     12maintainers     blair openmaintainer
     13platforms       darwin
    1414use_parallel_build      yes
    15 description             The Berkeley DB package, version 4.6
    16 long_description        Version 4.6 of the Berkeley Data Base library which \
    17                         offers (key/value) storage with optional concurrent \
    18                         access or transactions interface.  This port will \
    19                         install the AES (American Encryption Standard) \
    20                         enabled version.
     15description     The Berkeley DB package, version 4.6
     16long_description \
     17    Version 4.6 of the Berkeley Data Base library which \
     18    offers (key/value) storage with optional concurrent \
     19    access or transactions interface.  This port will \
     20    install the AES (American Encryption Standard) \
     21    enabled version.
    2122
    22 homepage                http://www.oracle.com/database/berkeley-db/index.html
    23 master_sites            http://download-west.oracle.com/berkeley-db/ \
    24                         http://download-east.oracle.com/berkeley-db/ \
    25                         http://download-uk.oracle.com/berkeley-db/
    26 patch_sites             http://download.oracle.com/berkeley-db/patches/db/${version}/
    27 patchfiles              patch.${version}.1 \
    28                         patch.${version}.2 \
    29                         patch.${version}.3 \
    30                         patch.${version}.4
     23homepage        http://www.oracle.com/database/berkeley-db/index.html
     24master_sites    http://download-west.oracle.com/berkeley-db/ \
     25                http://download-east.oracle.com/berkeley-db/ \
     26                http://download-uk.oracle.com/berkeley-db/
     27patch_sites     http://download.oracle.com/berkeley-db/patches/db/${version}/
     28patchfiles      patch.${version}.1 \
     29                patch.${version}.2 \
     30                patch.${version}.3 \
     31                patch.${version}.4
    3132
    32 distname                db-${version}
    33 patch.dir               ${workpath}/${distname}
    34 dist_subdir             db4/${version}_6
    35 checksums               ${distname}${extract.suffix} \
    36                         md5     718082e7e35fc48478a2334b0bc4cd11 \
    37                         sha1    5be3beb82e42a78ff671a3f5a4c30e5652972119 \
    38                         rmd160  ccf9a4b85cc0464b2f3c2f2da29d99328fd4978e \
    39                         patch.${version}.1 \
    40                         md5     4878872edfc53c6ecb871b1062a4bdaf \
    41                         sha1    c7c155705687e4de03d06c2ea86940f573fdac0b \
    42                         rmd160  8c11e9b991ac6559f22ece2d93617b16126049e8 \
    43                         patch.${version}.2 \
    44                         md5     55074e53d3acae2dcbeae8322f96e522 \
    45                         sha1    a694b71088ba99b74042e7568f395fe467bb6590 \
    46                         rmd160  f8abf554552db668037e046dea54700ce3340bf8 \
    47                         patch.${version}.3 \
    48                         md5     7a6e11b54712caf752f9c4a52babe60c \
    49                         sha1    d52aa498943cfaa339ad6bf2cf7b836a40627701 \
    50                         rmd160  4e6b7ed1e1c69cba54351d76a0b8543107a655b8 \
    51                         patch.${version}.4 \
    52                         md5     ae7d3d587355fe85b512ef09b9a77d19 \
    53                         sha1    e2190185c667edb97e800495ce6eb4f95f43eb87 \
    54                         rmd160  f1d18e59c311fb4e1f00a3b6220269fca17df312
     33distname        db-${version}
     34patch.dir       ${workpath}/${distname}
     35dist_subdir     db4/${version}_6
     36checksums       ${distname}${extract.suffix} \
     37                md5     718082e7e35fc48478a2334b0bc4cd11 \
     38                sha1    5be3beb82e42a78ff671a3f5a4c30e5652972119 \
     39                rmd160  ccf9a4b85cc0464b2f3c2f2da29d99328fd4978e \
     40                patch.${version}.1 \
     41                md5     4878872edfc53c6ecb871b1062a4bdaf \
     42                sha1    c7c155705687e4de03d06c2ea86940f573fdac0b \
     43                rmd160  8c11e9b991ac6559f22ece2d93617b16126049e8 \
     44                patch.${version}.2 \
     45                md5     55074e53d3acae2dcbeae8322f96e522 \
     46                sha1    a694b71088ba99b74042e7568f395fe467bb6590 \
     47                rmd160  f8abf554552db668037e046dea54700ce3340bf8 \
     48                patch.${version}.3 \
     49                md5     7a6e11b54712caf752f9c4a52babe60c \
     50                sha1    d52aa498943cfaa339ad6bf2cf7b836a40627701 \
     51                rmd160  4e6b7ed1e1c69cba54351d76a0b8543107a655b8 \
     52                patch.${version}.4 \
     53                md5     ae7d3d587355fe85b512ef09b9a77d19 \
     54                sha1    e2190185c667edb97e800495ce6eb4f95f43eb87 \
     55                rmd160  f1d18e59c311fb4e1f00a3b6220269fca17df312
    5556
    56 configure.dir           ${worksrcpath}/build_unix
    57 build.dir               ${configure.dir}
     57configure.dir   ${worksrcpath}/build_unix
     58build.dir       ${configure.dir}
    5859
    59 configure.cmd           ../dist/configure
    60 configure.args          --enable-cxx \
    61                             --includedir=\\\${prefix}/include/db46 \
    62                             --libdir=\\\${prefix}/lib/db46 \
    63                             --program-transform-name="s,^db,db46," \
    64                             --enable-dump185 \
    65                             --disable-tcl
     60configure.cmd   ../dist/configure
     61configure.args  --enable-cxx \
     62                    --includedir=\\\${prefix}/include/db46 \
     63                    --libdir=\\\${prefix}/lib/db46 \
     64                    --program-transform-name="s,^db,db46," \
     65                    --enable-dump185 \
     66                    --disable-tcl
    6667
    67 destroot.destdir        prefix=${destroot}${prefix} \
    68                             docdir=${destroot}${prefix}/share/doc/${name}/
     68destroot.destdir \
     69    prefix=${destroot}${prefix} \
     70    docdir=${destroot}${prefix}/share/doc/${name}/
    6971
    7072pre-extract {
     
    137139}
    138140
    139 livecheck.type          regex
    140 livecheck.url           http://www.oracle.com/technetwork/database/berkeleydb/downloads/index-082944.html
    141 livecheck.version       ${minor_version}
    142 livecheck.regex         {4.6.(\d+(?:\.\d+)*)}
     141livecheck.type      regex
     142livecheck.url       http://www.oracle.com/technetwork/database/berkeleydb/downloads/index-082944.html
     143livecheck.version   ${minor_version}
     144livecheck.regex     {4.6.(\d+(?:\.\d+)*)}
  • trunk/dports/databases/db47/Portfile

    r80975 r98520  
    55PortGroup  muniversal 1.0
    66
    7 name                    db47
    8 version                 4.7.25
     7name            db47
     8version         4.7.25
    99revision        2
    10 set branch              [join [lrange [split ${version} .] 0 1] {}]
    11 categories              databases
    12 license                 Sleepycat
    13 maintainers             mcalhoun openmaintainer
    14 platforms               darwin
    15 description             The Berkeley DB package, version 4.7
    16 long_description        \
     10set branch      [join [lrange [split ${version} .] 0 1] {}]
     11categories      databases
     12license         Sleepycat
     13maintainers     mcalhoun openmaintainer
     14platforms       darwin
     15description     The Berkeley DB package, version 4.7
     16long_description \
    1717    Version 4.7 of the Berkeley Data Base library which \
    1818    offers (key/value) storage with optional concurrent \
     
    2222
    2323homepage        http://www.oracle.com/database/berkeley-db/index.html
    24 master_sites    \
     24master_sites \
    2525    http://download-west.oracle.com/berkeley-db/ \
    2626    http://download-east.oracle.com/berkeley-db/ \
     
    3333    patch.${version}.4
    3434
    35 distname                db-${version}
    36 patch.dir               ${workpath}/${distname}
     35distname        db-${version}
     36patch.dir       ${workpath}/${distname}
    3737
    38 checksums               \
     38checksums \
    3939    ${distname}${extract.suffix} \
    4040    md5     ec2b87e833779681a0c3a814aa71359e \
     
    5858    rmd160  0b235122060785887eb41fa7657379bd4f1e57bf
    5959
    60 configure.dir  ${worksrcpath}/build_unix
    61 build.dir      ${configure.dir}
     60configure.dir   ${worksrcpath}/build_unix
     61build.dir       ${configure.dir}
    6262
    63 configure.cmd           ../dist/configure
    64 configure.args          \
     63configure.cmd   ../dist/configure
     64configure.args \
    6565    --enable-cxx \
    6666    --includedir=\\\${prefix}/include/db${branch} \
    6767    --libdir=\\\${prefix}/lib/db${branch}
    6868
    69 use_parallel_build      yes
     69use_parallel_build  yes
    7070
    71 destroot.destdir        \
     71destroot.destdir \
    7272    prefix=${destroot}${prefix} \
    7373    docdir=${destroot}${prefix}/share/doc/${name}
    7474
    7575post-destroot {
    76         foreach bin [glob -tails -directory ${destroot}${prefix}/bin/ db_*] {
     76    foreach bin [glob -tails -directory ${destroot}${prefix}/bin/ db_*] {
    7777        set newbin [regsub {^db_} ${bin} "db${branch}_"]
    78                 move ${destroot}${prefix}/bin/${bin} \
    79                         ${destroot}${prefix}/bin/${newbin}
    80         }
     78        move ${destroot}${prefix}/bin/${bin} \
     79            ${destroot}${prefix}/bin/${newbin}
     80    }
    8181}
    8282
    8383variant java conflicts no_java description {Build the Java API} {
    84     configure.args-append  --enable-java
     84    configure.args-append   --enable-java
    8585    platform macosx {
    8686        pre-configure {
     
    107107
    108108variant tcl description {build Tcl API} {
    109     depends_lib-append     port:tcl
    110     configure.args-append  --enable-tcl --with-tcl=${prefix}/lib
     109    depends_lib-append      port:tcl
     110    configure.args-append   --enable-tcl --with-tcl=${prefix}/lib
    111111}
    112112
  • trunk/dports/databases/db48/Portfile

    r80975 r98520  
    55PortGroup  muniversal 1.0
    66
    7 name                    db48
    8 version                 4.8.30
    9 set branch              [join [lrange [split ${version} .] 0 1] {}]
    10 categories              databases
    11 license                 Sleepycat
    12 maintainers             jmr openmaintainer
    13 platforms               darwin
    14 description             The Berkeley DB package, version 4.8
    15 long_description        \
     7name            db48
     8version         4.8.30
     9set branch      [join [lrange [split ${version} .] 0 1] {}]
     10categories      databases
     11license         Sleepycat
     12maintainers     jmr openmaintainer
     13platforms       darwin
     14description     The Berkeley DB package, version 4.8
     15long_description \
    1616    Version 4.8 of the Berkeley Data Base library which \
    1717    offers (key/value) storage with optional concurrent \
     
    2121
    2222homepage        http://www.oracle.com/database/berkeley-db/index.html
    23 master_sites    \
     23master_sites \
    2424    http://download-west.oracle.com/berkeley-db/ \
    2525    http://download-east.oracle.com/berkeley-db/ \
    2626    http://download-uk.oracle.com/berkeley-db/
    2727
    28 distname                db-${version}
     28distname        db-${version}
    2929
    30 checksums               \
     30checksums \
    3131    md5     f80022099c5742cd179343556179aa8c \
    3232    sha1    ab36c170dda5b2ceaad3915ced96e41c6b7e493c \
    3333    rmd160  dd2fcd4c9b857a91e2f491fd4fadb0c51b993a9c
    3434
    35 configure.dir  ${worksrcpath}/build_unix
    36 build.dir      ${configure.dir}
     35configure.dir   ${worksrcpath}/build_unix
     36build.dir       ${configure.dir}
    3737
    38 configure.cmd           ../dist/configure
    39 configure.args          \
     38configure.cmd   ../dist/configure
     39configure.args \
    4040    --enable-cxx \
    4141    --includedir=\\\${prefix}/include/db${branch} \
    4242    --libdir=\\\${prefix}/lib/db${branch}
    4343
    44 use_parallel_build      yes
     44use_parallel_build  yes
    4545
    46 destroot.destdir        \
     46destroot.destdir \
    4747    prefix=${destroot}${prefix} \
    4848    docdir=${destroot}${prefix}/share/doc/${name}
    4949
    5050post-destroot {
    51         foreach bin [glob -tails -directory ${destroot}${prefix}/bin/ db_*] {
     51    foreach bin [glob -tails -directory ${destroot}${prefix}/bin/ db_*] {
    5252        set newbin [regsub {^db_} ${bin} "db${branch}_"]
    53                 move ${destroot}${prefix}/bin/${bin} \
    54                         ${destroot}${prefix}/bin/${newbin}
    55         }
     53        move ${destroot}${prefix}/bin/${bin} \
     54            ${destroot}${prefix}/bin/${newbin}
     55    }
    5656}
    5757
    5858variant java conflicts no_java description {Build the Java API} {
    59     configure.args-append  --enable-java
     59    configure.args-append   --enable-java
    6060}
     61
    6162variant no_java conflicts java description {Legacy compatibility variant} {}
    6263if {[variant_isset no_java]} {
     
    6768
    6869variant tcl description {build Tcl API} {
    69     depends_lib-append     port:tcl
    70     configure.args-append  --enable-tcl --with-tcl=${prefix}/lib
     70    depends_lib-append      port:tcl
     71    configure.args-append   --enable-tcl --with-tcl=${prefix}/lib
    7172}
    7273
  • trunk/dports/databases/db51/Portfile

    r93809 r98520  
    55PortGroup  muniversal 1.0
    66
    7 name                    db51
    8 version                 5.1.29
    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.1
    15 long_description        \
     7name            db51
     8version         5.1.29
     9set branch      [join [lrange [split ${version} .] 0 1] {}]
     10categories      databases
     11license         Sleepycat
     12maintainers     afb openmaintainer
     13platforms       darwin
     14description     The Berkeley DB package, version 5.1
     15long_description \
    1616    Version 5.1 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     a94ea755ab695bc04f82b94d2e24a1ef \
    2929    sha1    42dc96c71873c7fde543c916ed866cadee6fa51d \
    3030    rmd160  0c1124f08f121fdd8e43e5622cc3b8ddfd724c78
    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     configure.args-append  --enable-sql
     86    configure.args-append   --enable-sql
    8687}
     88
    8789variant no_sql conflicts sql description {Legacy compatibility variant} {}
    8890if {[variant_isset no_sql]} {
     
    9395
    9496variant tcl description {build Tcl API} {
    95     depends_lib-append     port:tcl
    96     configure.args-append  --enable-tcl --with-tcl=${prefix}/lib
     97    depends_lib-append      port:tcl
     98    configure.args-append   --enable-tcl --with-tcl=${prefix}/lib
    9799}
    98100
  • 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
  • trunk/dports/databases/db53/Portfile

    r93810 r98520  
    55PortGroup  muniversal 1.0
    66
    7 name                    db53
    8 version                 5.3.21
    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.3
    15 long_description        \
     7name            db53
     8version         5.3.21
     9set branch      [join [lrange [split ${version} .] 0 1] {}]
     10categories      databases
     11license         Sleepycat
     12maintainers     afb openmaintainer
     13platforms       darwin
     14description     The Berkeley DB package, version 5.3
     15long_description \
    1616    Version 5.3 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     3fda0b004acdaa6fa350bfc41a3b95ca \
    2929    sha1    32e43c4898c8996750c958a90c174bd116fcba83 \
    3030    rmd160  5768a4d835d02020165c6561cc5c406339662fa0
    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 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 sql] } {
     54        move ${destroot}${prefix}/bin/dbsql \
     55            ${destroot}${prefix}/bin/db${branch}sql
     56    }
    5757}
    5858
    5959variant 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
    7778if {${os.subplatform} == "macosx" && ${os.major} < 11} {
    7879    default_variants +java
     
    8081
    8182variant sql description {Build the SQL API} {
    82     patchfiles-append      patch-sqlite.diff
    83     configure.args-append  --enable-sql
     83    patchfiles-append       patch-sqlite.diff
     84    configure.args-append   --enable-sql
    8485}
    8586default_variants +sql
    8687
    8788variant tcl description {build Tcl API} {
    88     depends_lib-append     port:tcl
    89     configure.args-append  --enable-tcl --with-tcl=${prefix}/lib
     89    depends_lib-append      port:tcl
     90    configure.args-append   --enable-tcl --with-tcl=${prefix}/lib
    9091}
    9192
Note: See TracChangeset for help on using the changeset viewer.