# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ PortSystem 1.0 PortGroup perl5 1.0 perl5.setup BerkeleyDB 0.31 maintainers email.arc.nasa.gov:sal description Perl extension for Berkeley DB version 2, 3, 4 long_description This Perl module provides an interface to most \ of the functionality available in Berkeley DB versions 2, 3 and \ 4. In general it is safe to assume that the interface provided \ here to be identical to the Berkeley DB interface. The main \ changes have been to make the Berkeley DB API work in a Perl \ way. Note that if you are using Berkeley DB 2.x, the new features \ available in Berkeley DB 3.x or DB 4.x are not available via this \ module. platforms darwin checksums md5 48e2cf29d37f457a35eedc3104c41eac depends_lib-append port:db44 configure.env BERKELEYDB_INCLUDE=${prefix}/include/db44 \ BERKELEYDB_LIB=${prefix}/lib/db44 \ DBNAME=-ldb variant db43 { depends_lib-delete port:db44 depends_lib-append port:db43 configure.env-delete BERKELEYDB_INCLUDE=${prefix}/include/db44 \ BERKELEYDB_LIB=${prefix}/lib/db44 \ DBNAME=-ldb configure.env-append BERKELEYDB_INCLUDE=${prefix}/include/db43 \ BERKELEYDB_LIB=${prefix}/lib/db43 \ DBNAME=-ldb-4 } #variant db3 { # depends_lib-delete port:db44 # depends_lib-append port:db3 # configure.env-delete BERKELEYDB_INCLUDE=${prefix}/include/db44 # configure.env-append BERKELEYDB_INCLUDE=${prefix}/include/db3 #}