# $Id: Portfile,v 1.16 2003/08/05 21:02:05 jkh Exp $ PortSystem 1.0 name db4 version 4.1.25 revision 1 categories databases maintainers michaelm@opendarwin.org description The Berkely DB package, revision 4 homepage http://www.sleepycat.com/update/ platforms darwin freebsd master_sites http://www.sleepycat.com/update/snapshot/ distname db-${portversion} checksums md5 df71961002b552c0e72c6e4e358f27e1 worksrcdir ${distname}/build_unix configure.cmd ../dist/configure configure.args --enable-compat185 --enable-dump185 --enable-cxx \ --enable-dynamic --includedir=${prefix}/include/db4 \ --program-transform-name=s,^db,db4, variant darwin { configure.args-append --enable-tcl \ --with-tcl=/System/Library/Tcl/8.3 } destroot.destdir prefix=${destroot}${prefix} \ includedir=${destroot}${prefix}/include/db4 \ docdir=${destroot}${prefix}/share/${name}-${version}/ post-destroot { system "rm '${destroot}${prefix}/lib/libdb.a' rm '${destroot}${prefix}/lib/libdb.dylib' rm '${destroot}${prefix}/lib/libdb_cxx.a' rm '${destroot}${prefix}/lib/libdb_cxx.dylib' cd '${destroot}${prefix}/bin/' mv db_archive db4_archive mv db_dump db4_dump mv db_printlog db4_printlog mv db_upgrade db4_upgrade mv db_checkpoint db4_checkpoint mv db_dump185 db4_dump185 mv db_recover db4_recover mv db_verify db4_verify mv db_deadlock db4_deadlock mv db_load db4_load mv db_stat db4_stat" } long_description Revision 4 of the Berkeley DB library. This version \ uses an incompatible underlying database format than \ revision 1 and a different standard API. Utilities are \ included in the distribution to convert v1.85 databases \ to v4 databases, and a backwards compatible API is \ provided to maintain compatibility with programs using \ the v1.85 interface. There are minor interface changes \ in this release which may require that DB applications \ be modified and recompiled. For a complete discussion \ of interface changes, see: http://www.sleepycat.com/update/