source: trunk/dports/databases/db41/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.0 KB
Line 
1# $Id: Portfile 30223 2007-10-22 22:46:02Z jmpp@macports.org $
2
3PortSystem 1.0
4name                    db41
5version                 4.1.25
6revision                1
7categories              databases
8maintainers             nomaintainer
9platforms               darwin
10description             The Berkeley DB package, version 4.1
11long_description        \
12                        Version 4.1 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.1 \
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 \
26                        patch.${version}.2 \
27                        patch.${version}.3
28distname                db-${version}
29patch.dir               ${workpath}/${distname}
30dist_subdir             db4
31checksums               ${distname}${extract.suffix} sha1 1c595d43c062cd340f430cb051c7d6a106ad5191 \
32                        patch.${version}.1 sha1 755774f9c3d9a398d3e25f0b0a5ea7712e29a2c0 \
33                        patch.${version}.2 sha1 bc80c9cf2417d660c15723afd35d3b10d6701ffe \
34                        patch.${version}.3 sha1 42ae0a5eb71d7a14a47d1a0807977593841d3e7f
35
36worksrcdir              ${distname}/build_unix
37
38configure.cmd           ../dist/configure
39configure.args          --enable-cxx --enable-compat185 --enable-dump185 \
40                                --includedir=\\\${prefix}/include/db41 \
41                                --libdir=\\\${prefix}/lib/db41 \
42                                --program-transform-name="s,^db,db41," \
43                                --disable-tcl
44
45destroot.destdir        prefix=${destroot}${prefix} \
46                                docdir=${destroot}${prefix}/share/${name}-${version}/
47
48post-destroot {
49        delete ${destroot}${prefix}/share
50        foreach lib { libdb.a libdb_cxx.a } {
51                delete ${destroot}${prefix}/lib/db41/${lib}
52        }
53        foreach bin { archive dump dump185 printlog upgrade checkpoint recover verify deadlock load stat } {
54                file rename ${destroot}${prefix}/bin/db_${bin} \
55                        ${destroot}${prefix}/bin/db41_${bin}
56        }
57}
58
59platform darwin 8 {
60        configure.compiler      gcc-4.0
61}
Note: See TracBrowser for help on using the repository browser.