[133418] trunk/dports/perl/p5-berkeleydb/Portfile
devans at macports.org
devans at macports.org
Sat Feb 28 16:27:42 PST 2015
Revision: 133418
https://trac.macports.org/changeset/133418
Author: devans at macports.org
Date: 2015-02-28 16:27:42 -0800 (Sat, 28 Feb 2015)
Log Message:
-----------
p5-berkeleydb: update to version 0.55, drop db44, add variants +db48 +db51 +db52 +db53, default +db53, use upstream description.
Modified Paths:
--------------
trunk/dports/perl/p5-berkeleydb/Portfile
Modified: trunk/dports/perl/p5-berkeleydb/Portfile
===================================================================
--- trunk/dports/perl/p5-berkeleydb/Portfile 2015-03-01 00:12:32 UTC (rev 133417)
+++ trunk/dports/perl/p5-berkeleydb/Portfile 2015-03-01 00:27:42 UTC (rev 133418)
@@ -5,28 +5,38 @@
PortGroup perl5 1.0
perl5.branches 5.16 5.18 5.20
-perl5.setup BerkeleyDB 0.54
-revision 1
+perl5.setup BerkeleyDB 0.55
+license {Artistic-1 GPL}
maintainers nomaintainer
-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.
+description BerkeleyDB is a module which allows Perl programs \
+ to make use of the facilities provided by \
+ Berkeley DB version 2 or greater.
+long_description ${description}
+
platforms darwin
-checksums rmd160 b6c78bb9203cb5184c03606d99630acbdf8f4eb7 \
- sha256 010e66d0034b93a8397c600da320611149aef7861eaf1f93b95e49ae37b825b8
+checksums rmd160 ba5dde51bd5672dfe9117f85808ad4f91ba142d5 \
+ sha256 6f28e141c7e2fbc455621bc809d6e7d84a3640cc77568b07798ae3933107e44f
+variant db48 conflicts db51 db52 db53 description {Build with Berkeley DB 4.8} {}
+variant db51 conflicts db48 db52 db53 description {Build with Berkeley DB 5.1} {}
+variant db52 conflicts db48 db51 db53 description {Build with Berkeley DB 5.2} {}
+variant db53 conflicts db48 db51 db52 description {Build with Berkeley DB 5.3} {}
+
+if {![variant_isset db48] && ![variant_isset db51] && ![variant_isset db52]} {
+ default_variants +db53
+}
+
if {${perl5.major} != ""} {
- depends_lib-append \
- port:db44
- configure.env \
- BERKELEYDB_INCLUDE=${prefix}/include/db44 \
- BERKELEYDB_LIB=${prefix}/lib/db44 \
+ foreach setvariant {db48 db51 db52 db53} {
+ if {[variant_isset $setvariant]} {
+ depends_lib-append \
+ port:$setvariant
+
+ configure.env \
+ BERKELEYDB_INCLUDE=${prefix}/include/$setvariant \
+ BERKELEYDB_LIB=${prefix}/lib/$setvariant \
DBNAME=-ldb
+ }
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150228/e4449fc1/attachment-0001.html>
More information about the macports-changes
mailing list