Ticket #45436: tdb.diff

File tdb.diff, 2.3 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)
  • Portfile

     
     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$
    23
    34PortSystem          1.0
     5PortGroup           conflicts_build 1.0
    46
     7# configure script (waf) checks for endianness/bitness
     8PortGroup           muniversal 1.0
     9
    510name                tdb
    6 version             1.0.6
     11version             1.3.1
    712categories          databases
    813license             GPL-2+
    914platforms           darwin
    1015maintainers         nomaintainer
     16
    1117description         TDB is a Trivial Database
     18
    1219long_description    TDB is a Trivial Database. In concept, it is very much \
    1320                    like GDBM, and BSD's DB except that it allows multiple \
    1421                    simultaneous writers and uses locking internally to keep \
     
    1522                    writers from trampling on each other. TDB is also \
    1623                    extremely small.
    1724
    18 homepage            http://sourceforge.net/projects/tdb/
    19 master_sites        sourceforge:project/tdb/tdb/${version}
    20 checksums           md5 6b643fdeb48304010dcd5f675e458b58 \
    21                     sha1 d1876522f1b8ffa8cf844a1f6605e0c32d387a7a \
    22                     rmd160 5163caf1cc76c9f3a69e88f7438ecd98ec5e52cf
     25homepage            http://tdb.samba.org/
     26master_sites        http://www.samba.org/ftp/tdb/
    2327
    24 depends_build       port:gdbm
     28checksums           rmd160  c1492a7ef9094971ac2b8a754858c911db7de167 \
     29                    sha256  ff29985ae880c3906ddd7609664a94c64bfe87b2b2210250e3fdee532ca2ece3
    2530
    26 patchfiles          patch-tdbtool.c.diff
     31depends_build       port:gdbm \
     32                    port:libiconv
    2733
    28 configure.args      --mandir=${prefix}/share/man
     34patchfiles-append   patch-Makefile.diff
    2935
    30 platform darwin {
    31    # Fix the configure script which can't guess our host type.
    32    configure.args-append   --host=${os.arch}-apple
    33 }
     36conflicts_build     ${name}
     37
     38configure.args      --disable-python \
     39                    --with-libiconv=${prefix} \
     40                    --without-gettext
     41
     42livecheck.type      regex
     43livecheck.url       [lindex ${master_sites} 0]
     44livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}