source: trunk/dports/databases/db45/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: 2.1 KB
Line 
1# $Id: Portfile 30223 2007-10-22 22:46:02Z jmpp@macports.org $
2
3PortSystem 1.0
4name                    db45
5version                 4.5.20
6revision                2
7categories              databases
8maintainers             nomaintainer
9platforms               darwin
10description             The Berkeley DB package, version 4.5
11long_description        \
12                        Version 4.5 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.5 \
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.oracle.com/database/berkeley-db/index.html
23master_sites            http://download-west.oracle.com/berkeley-db/ \
24                        http://download-east.oracle.com/berkeley-db/ \
25                        http://download-uk.oracle.com/berkeley-db/
26patch_sites             http://www.oracle.com/technology/products/berkeley-db/db/update/${version}/
27patchfiles              patch.${version}.1 \
28                        patch.${version}.2
29distname                db-${version}
30patch.dir               ${workpath}/${distname}
31dist_subdir             db4
32checksums               ${distname}${extract.suffix} \
33                          md5 b0f1c777708cb8e9d37fb47e7ed3312d \
34                        patch.${version}.1 \
35                          md5 a571e239b9041d7990df287cbc59ad6f \
36                        patch.${version}.2 \
37                          md5 b7a7086a067ba116f5a8464362c9a9a7
38
39worksrcdir              ${distname}/build_unix
40
41configure.cmd           ../dist/configure
42configure.args          --enable-cxx --enable-compat185 --enable-dump185 \
43                                --includedir=\\\${prefix}/include/db45 \
44                                --libdir=\\\${prefix}/lib/db45 \
45                                --program-transform-name="s,^db,db45," \
46                                --disable-tcl
47
48destroot.destdir        prefix=${destroot}${prefix} \
49                                docdir=${destroot}${prefix}/share/${name}-${version}/
50
51post-destroot {
52        delete ${destroot}${prefix}/share
53        foreach lib { libdb.a libdb_cxx.a } {
54                delete ${destroot}${prefix}/lib/db45/${lib}
55        }
56        foreach bin { archive hotbackup dump dump185 printlog upgrade checkpoint recover verify deadlock load stat } {
57                file rename ${destroot}${prefix}/bin/db_${bin} \
58                        ${destroot}${prefix}/bin/db45_${bin}
59        }
60}
61
62variant java {
63        configure.args-append --enable-java
64}
65
66platform darwin 8 {
67        configure.compiler      gcc-4.0
68}
Note: See TracBrowser for help on using the repository browser.