# $Id: Portfile 30223 2007-10-22 22:46:02Z jmpp@macports.org $ PortSystem 1.0 name db41 version 4.1.25 revision 1 categories databases maintainers nomaintainer platforms darwin description The Berkeley DB package, version 4.1 long_description \ Version 4.1 of the Berkeley Data Base library which \ offers (key/value) storage with optional concurrent \ access or transactions interface. This port will \ install the AES (American Encryption Standard) \ enabled version. Utilities are included in the \ distribution to convert v1.85 databases to v4.1 \ databases, and a backwards compatible API is \ provided to maintain compatibility with programs \ using the v1.85 interface. homepage http://www.sleepycat.com/update/ master_sites http://downloads.sleepycat.com/ patch_sites http://www.oracle.com/technology/products/berkeley-db/db/update/${version}/ patchfiles patch.${version}.1 \ patch.${version}.2 \ patch.${version}.3 distname db-${version} patch.dir ${workpath}/${distname} dist_subdir db4 checksums ${distname}${extract.suffix} sha1 1c595d43c062cd340f430cb051c7d6a106ad5191 \ patch.${version}.1 sha1 755774f9c3d9a398d3e25f0b0a5ea7712e29a2c0 \ patch.${version}.2 sha1 bc80c9cf2417d660c15723afd35d3b10d6701ffe \ patch.${version}.3 sha1 42ae0a5eb71d7a14a47d1a0807977593841d3e7f worksrcdir ${distname}/build_unix configure.cmd ../dist/configure configure.args --enable-cxx --enable-compat185 --enable-dump185 \ --includedir=\\\${prefix}/include/db41 \ --libdir=\\\${prefix}/lib/db41 \ --program-transform-name="s,^db,db41," \ --disable-tcl destroot.destdir prefix=${destroot}${prefix} \ docdir=${destroot}${prefix}/share/${name}-${version}/ post-destroot { delete ${destroot}${prefix}/share foreach lib { libdb.a libdb_cxx.a } { delete ${destroot}${prefix}/lib/db41/${lib} } foreach bin { archive dump dump185 printlog upgrade checkpoint recover verify deadlock load stat } { file rename ${destroot}${prefix}/bin/db_${bin} \ ${destroot}${prefix}/bin/db41_${bin} } } platform darwin 8 { configure.compiler gcc-4.0 }