source: trunk/dports/databases/db46/Portfile @ 28242

Last change on this file since 28242 was 28242, checked in by raimue@…, 13 years ago

databases/db46:
new port submission
closes #12557

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 28242 2007-08-26 00:19:04Z raimue@macports.org $
2
3PortSystem 1.0
4name                    db46
5version                 4.6.19
6categories              databases
7maintainers             pumpkingod@gmail.com
8platforms               darwin
9description             The Berkeley DB package, version 4.6
10long_description        \
11                        Version 4.6 of the Berkeley Data Base library which \
12                        offers (key/value) storage with optional concurrent \
13                        access or transactions interface.  This port will \
14                        install the AES (American Encryption Standard) \
15                        enabled version.
16
17homepage                http://www.oracle.com/database/berkeley-db/index.html
18master_sites            http://download-west.oracle.com/berkeley-db/ \
19                        http://download-east.oracle.com/berkeley-db/ \
20                        http://download-uk.oracle.com/berkeley-db/
21distname                db-${version}
22dist_subdir             db4
23checksums               ${distname}${extract.suffix} \
24                          md5 89c7390ff120d5ebf3eccc5f97249e79
25
26worksrcdir              ${distname}/build_unix
27
28configure.cmd           ../dist/configure
29configure.args          --enable-cxx \
30                                --includedir=\\\${prefix}/include/db46 \
31                                --libdir=\\\${prefix}/lib/db46 \
32                                --program-transform-name="s,^db,db46," \
33                                --disable-tcl
34
35destroot.destdir        prefix=${destroot}${prefix} \
36                                docdir=${destroot}${prefix}/share/${name}-${version}/
37
38post-destroot {
39        delete ${destroot}${prefix}/share
40        foreach lib { libdb.a libdb_cxx.a } {
41                delete ${destroot}${prefix}/lib/db46/${lib}
42        }
43        foreach bin { archive hotbackup dump printlog upgrade checkpoint recover verify deadlock load stat codegen } {
44                file rename ${destroot}${prefix}/bin/db_${bin} \
45                        ${destroot}${prefix}/bin/db46_${bin}
46        }
47}
48
49variant java {
50        configure.args-append --enable-java
51}
52
53platform darwin 8 {
54        configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
55}
Note: See TracBrowser for help on using the repository browser.