source: trunk/dports/databases/db43/Portfile @ 30223

Last change on this file since 30223 was 30223, checked in by jmpp@…, 12 years ago

nomaintainer address abstraction in databases category.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 30223 2007-10-22 22:46:02Z jmpp@macports.org $
2
3PortSystem 1.0
4name                    db43
5version                 4.3.29
6revision                1
7categories              databases
8maintainers             nomaintainer
9platforms               darwin
10description             The Berkeley DB package, version 4.3
11long_description        \
12                        Version 4.3 of the Berkeley Data Base library which \
13                        offers (key/value) storage with optional concurrent \
14                        access or transactions interface.  This port will \
15                        install the AES (American Encryption Standard) \
16                        enabled version.  Utilities are included in the \
17                        distribution to convert v1.85 databases to v4.3 \
18                        databases, and a backwards compatible API is \
19                        provided to maintain compatibility with programs \
20                        using the v1.85 interface.
21
22homepage                http://www.sleepycat.com/update/
23master_sites            http://downloads.sleepycat.com/
24patch_sites             http://www.oracle.com/technology/products/berkeley-db/db/update/${version}/
25patchfiles              patch.${version}.1
26distname                db-${version}
27patch.dir               ${workpath}/${distname}
28dist_subdir             db4
29checksums               ${distname}${extract.suffix} \
30                          sha1 49c31bb12144e3a8fb8b7f64e7bf989b72f2981a \
31                        patch.${version}.1 \
32                          sha1 264edf4ebcd45f9373e4ea3a190506a0505969da
33
34worksrcdir              ${distname}/build_unix
35
36configure.cmd           ../dist/configure
37configure.args          --enable-cxx --enable-compat185 --enable-dump185 \
38                                --includedir=\\\${prefix}/include/db43 \
39                                --libdir=\\\${prefix}/lib/db43 \
40                                --program-transform-name="s,^db,db43," \
41                                --disable-tcl
42
43destroot.destdir        prefix=${destroot}${prefix} \
44                                docdir=${destroot}${prefix}/share/${name}-${version}/
45
46post-destroot {
47        delete ${destroot}${prefix}/share
48        foreach lib { libdb.a libdb_cxx.a } {
49                delete ${destroot}${prefix}/lib/db43/${lib}
50        }
51        foreach bin { archive dump dump185 printlog upgrade checkpoint recover verify deadlock load stat } {
52                file rename ${destroot}${prefix}/bin/db_${bin} \
53                        ${destroot}${prefix}/bin/db43_${bin}
54        }
55}
56
57variant java {
58        configure.args-append --enable-java
59}
60
61platform darwin 8 {
62        configure.compiler      gcc-4.0
63}
Note: See TracBrowser for help on using the repository browser.