[73023] trunk/dports/databases

afb at macports.org afb at macports.org
Mon Nov 1 04:59:40 PDT 2010


Revision: 73023
          http://trac.macports.org/changeset/73023
Author:   afb at macports.org
Date:     2010-11-01 04:59:38 -0700 (Mon, 01 Nov 2010)
Log Message:
-----------
db51: add latest berkeley db

Modified Paths:
--------------
    trunk/dports/databases/db51/Portfile

Added Paths:
-----------
    trunk/dports/databases/db51/

Modified: trunk/dports/databases/db51/Portfile
===================================================================
--- trunk/dports/databases/db47/Portfile	2010-10-30 17:09:34 UTC (rev 72943)
+++ trunk/dports/databases/db51/Portfile	2010-11-01 11:59:38 UTC (rev 73023)
@@ -4,16 +4,16 @@
 PortSystem 1.0
 PortGroup  muniversal 1.0
 
-name			db47
-version			4.7.25
-revision        1
+name			db51
+version			5.1.19
+revision        0
 set branch		[join [lrange [split ${version} .] 0 1] {}]
 categories		databases
-maintainers		mcalhoun openmaintainer
+maintainers		afb openmaintainer
 platforms		darwin
-description		The Berkeley DB package, version 4.7
+description		The Berkeley DB package, version 5.1
 long_description	\
-    Version 4.7 of the Berkeley Data Base library which \
+    Version 5.1 of the Berkeley Data Base library which \
     offers (key/value) storage with optional concurrent \
     access or transactions interface.  This port will \
     install the AES (American Encryption Standard) \
@@ -24,32 +24,15 @@
     http://download-west.oracle.com/berkeley-db/ \
     http://download-east.oracle.com/berkeley-db/ \
     http://download-uk.oracle.com/berkeley-db/
-patch_sites     http://download.oracle.com/berkeley-db/patches/db/${version}/
-patchfiles \
-    patch.${version}.1 \
-    patch.${version}.2 \
-    patch.${version}.3
 
 distname		db-${version}
 patch.dir		${workpath}/${distname}
 
 checksums		\
     ${distname}${extract.suffix} \
-    md5     ec2b87e833779681a0c3a814aa71359e \
-    sha1    957c10358df1211e1dc37ea997aadef42117d6a5 \
-    rmd160  9a5d8149d61452906c3f1c36f2859a2033c8bc3b \
-    patch.${version}.1 \
-    md5     5fdf101259e5164dea1c8c86214fde38 \
-    sha1    3ae3c02fb541dc8f8dee903a75450d2dbc0736a7 \
-    rmd160  89c58f5235f95e82e65bab447d1b9019bf26ed25 \
-    patch.${version}.2 \
-    md5     bd410a11c71fee52fddb6aa2d8d4f80c \
-    sha1    e3d56ad6e4a9bc092495f62c40c0cdf11ab2443c \
-    rmd160  097a6bc3e8efd43fe5bd0fd77a4b793cd0d6bc18 \
-    patch.${version}.3 \
-    md5     6fcd69f64f5b34bfe8f0a63cc2e402c1 \
-    sha1    1f707e6c65c8ebe9fa7b36333c6de76f2d480cf5 \
-    rmd160  a0ef673d8127be825444aaa12711dcf75b7fda1a
+    md5     76fcbfeebfcd09ba0b4d96bfdf8d884d \
+    sha1    0c84ed9c6e16857ceb66193bedbb15b05ffbebd0 \
+    rmd160  cc08123ec9bade1d2aaf79d9119b7474634e7f40
 
 configure.dir  ${worksrcpath}/build_unix
 build.dir      ${configure.dir}
@@ -58,6 +41,7 @@
 configure.args		\
     --enable-cxx \
     --enable-java \
+    --enable-sql \
     --includedir=\\\${prefix}/include/db${branch} \
     --libdir=\\\${prefix}/lib/db${branch}
 
@@ -73,12 +57,20 @@
 		move ${destroot}${prefix}/bin/${bin} \
 			${destroot}${prefix}/bin/${newbin}
 	}
+	if { ![variant_isset no_sql] } {
+		move ${destroot}${prefix}/bin/dbsql \
+			${destroot}${prefix}/bin/db${branch}sql
+	}
 }
 
 variant no_java description {don't build the Java API} {
     configure.args-delete  --enable-java
 }
 
+variant no_sql description {don't build the SQL API} {
+    configure.args-delete  --enable-sql
+}
+
 variant tcl description {build Tcl API} {
     depends_lib-append     port:tcl
     configure.args-append  --enable-tcl --with-tcl=${prefix}/lib
@@ -97,5 +89,5 @@
 }
 
 livecheck.type  regex
-livecheck.url   http://www.oracle.com/technology/documentation/berkeley-db/db/ref/changelog/[join [lrange [split ${version} .] 0 1] .].html
-livecheck.regex {Berkeley DB (\d+(?:\.\d+)*)}
+livecheck.url   http://www.oracle.com/technetwork/database/berkeleydb/downloads/
+livecheck.regex {Berkeley\s+DB\s+(\d+(?:\.\d+)*)\.tar\.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101101/3b153b91/attachment.html>


More information about the macports-changes mailing list