source: trunk/dports/databases/db47/Portfile @ 44896

Last change on this file since 44896 was 44896, checked in by toby@…, 11 years ago

svn:keywords

  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
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
2# $Id: Portfile 44896 2009-01-04 15:31:39Z toby@macports.org $
3
4PortSystem 1.0
5
6name                    db47
7version                 4.7.25
8set branch              [join [lrange [split ${version} .] 0 1] {}]
9categories              databases
10maintainers             mcalhoun openmaintainer
11platforms               darwin
12description             The Berkeley DB package, version 4.7
13long_description        \
14    Version 4.7 of the Berkeley Data Base library which \
15    offers (key/value) storage with optional concurrent \
16    access or transactions interface.  This port will \
17    install the AES (American Encryption Standard) \
18    enabled version.
19
20homepage        http://www.oracle.com/database/berkeley-db/index.html
21master_sites    \
22    http://download-west.oracle.com/berkeley-db/ \
23    http://download-east.oracle.com/berkeley-db/ \
24    http://download-uk.oracle.com/berkeley-db/
25patch_sites     http://www.oracle.com/technology/products/berkeley-db/db/update/${version}/
26patchfiles \
27    patch.${version}.1 \
28    patch.${version}.2 \
29    patch.${version}.3
30
31distname                db-${version}
32patch.dir               ${workpath}/${distname}
33
34checksums               \
35    ${distname}${extract.suffix} \
36    md5     ec2b87e833779681a0c3a814aa71359e \
37    sha1    957c10358df1211e1dc37ea997aadef42117d6a5 \
38    rmd160  9a5d8149d61452906c3f1c36f2859a2033c8bc3b \
39    patch.${version}.1 \
40    md5     5fdf101259e5164dea1c8c86214fde38 \
41    sha1    3ae3c02fb541dc8f8dee903a75450d2dbc0736a7 \
42    rmd160  89c58f5235f95e82e65bab447d1b9019bf26ed25 \
43    patch.${version}.2 \
44    md5     bd410a11c71fee52fddb6aa2d8d4f80c \
45    sha1    e3d56ad6e4a9bc092495f62c40c0cdf11ab2443c \
46    rmd160  097a6bc3e8efd43fe5bd0fd77a4b793cd0d6bc18 \
47    patch.${version}.3 \
48    md5     6fcd69f64f5b34bfe8f0a63cc2e402c1 \
49    sha1    1f707e6c65c8ebe9fa7b36333c6de76f2d480cf5 \
50    rmd160  a0ef673d8127be825444aaa12711dcf75b7fda1a
51
52worksrcdir              ${distname}/build_unix
53
54configure.cmd           ../dist/configure
55configure.args          \
56    --enable-cxx \
57    --enable-tcl \
58    --with-tcl=${prefix}/lib \
59    --enable-java \
60    --includedir=\\\${prefix}/include/db${branch} \
61    --libdir=\\\${prefix}/lib/db${branch}
62
63use_parallel_build      yes
64
65destroot.destdir        \
66    prefix=${destroot}${prefix} \
67    docdir=${destroot}${prefix}/share/doc/${name}
68
69post-destroot {
70        foreach bin [glob -tails -directory ${destroot}${prefix}/bin/ db_*] {
71        set newbin [regsub {^db_} ${bin} "db${branch}_"]
72                move ${destroot}${prefix}/bin/${bin} \
73                        ${destroot}${prefix}/bin/${newbin}
74        }
75}
76
77livecheck.check regex
78livecheck.url   http://www.oracle.com/technology/documentation/berkeley-db/db/ref/changelog/[join [lrange [split ${version} .] 0 1] .].html
79livecheck.regex {Berkeley DB (\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.