Ticket #4739: Portfile

File Portfile, 1.3 KB (added by sal@…, 19 years ago)

Portfile

Line 
1# $Id$
2
3PortSystem                      1.0
4PortGroup                       perl5 1.0
5perl5.setup                     BerkeleyDB 0.25
6maintainers                     sal@email.arc.nasa.gov
7description                     Perl extension for Berkeley DB version 2, 3, 4
8homepage                        http://search.cpan.org/~pmqs/BerkeleyDB
9long_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.
17platforms                       darwin
18checksums                       sha1 1b18758215f8bb2dddfb0393e4f90b74182750f5
19depends_lib-append              lib:libdb-4:db
20configure.env                   BERKELEYDB_INCLUDE=${prefix}/include/db4 \
21                                BERKELEYDB_LIB=${prefix}
22
23variant 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
30variant 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}