1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup perl5 1.0 |
---|
5 | perl5.setup BerkeleyDB 0.25 |
---|
6 | maintainers sal@email.arc.nasa.gov |
---|
7 | description Perl extension for Berkeley DB version 2, 3, 4 |
---|
8 | homepage http://search.cpan.org/~pmqs/BerkeleyDB |
---|
9 | long_description This Perl module provides an interface to most \ |
---|
10 | of the functionality available in Berkeley DB versions 2, 3 and \ |
---|
11 | 4. In general it is safe to assume that the interface provided \ |
---|
12 | here to be identical to the Berkeley DB interface. The main \ |
---|
13 | changes have been to make the Berkeley DB API work in a Perl \ |
---|
14 | way. Note that if you are using Berkeley DB 2.x, the new features \ |
---|
15 | available in Berkeley DB 3.x or DB 4.x are not available via this \ |
---|
16 | module. |
---|
17 | platforms darwin |
---|
18 | checksums sha1 1b18758215f8bb2dddfb0393e4f90b74182750f5 |
---|
19 | depends_lib-append lib:libdb-4:db |
---|
20 | configure.env BERKELEYDB_INCLUDE=${prefix}/include/db4 \ |
---|
21 | BERKELEYDB_LIB=${prefix} |
---|
22 | |
---|
23 | variant db3 { |
---|
24 | depends_lib-delete lib:libdb-4:db |
---|
25 | depends_lib-append lib:libdb-3:db |
---|
26 | configure.env-delete BERKELEYDB_INCLUDE=${prefix}/include/db4 |
---|
27 | configure.env-append BERKELEYDB_INCLUDE=${prefix}/include/db3 |
---|
28 | } |
---|
29 | |
---|
30 | variant db2 { |
---|
31 | depends_lib-delete lib:libdb-4:db |
---|
32 | depends_lib-append lib:libdb-2:db |
---|
33 | configure.env-delete BERKELEYDB_INCLUDE=${prefix}/include/db4 |
---|
34 | configure.env-append BERKELEYDB_INCLUDE=${prefix}/include/db2 |
---|
35 | } |
---|