[28242] trunk/dports/databases

source_changes at macosforge.org source_changes at macosforge.org
Sat Aug 25 17:19:04 PDT 2007


Revision: 28242
          http://trac.macosforge.org/projects/macports/changeset/28242
Author:   raimue at macports.org
Date:     2007-08-25 17:19:04 -0700 (Sat, 25 Aug 2007)

Log Message:
-----------
databases/db46:
new port submission
closes #12557

Added Paths:
-----------
    trunk/dports/databases/db46/
    trunk/dports/databases/db46/Portfile

Added: trunk/dports/databases/db46/Portfile
===================================================================
--- trunk/dports/databases/db46/Portfile	                        (rev 0)
+++ trunk/dports/databases/db46/Portfile	2007-08-26 00:19:04 UTC (rev 28242)
@@ -0,0 +1,55 @@
+# $Id$
+
+PortSystem 1.0
+name			db46
+version			4.6.19
+categories		databases
+maintainers		pumpkingod at gmail.com
+platforms		darwin
+description		The Berkeley DB package, version 4.6
+long_description	\
+			Version 4.6 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) \
+			enabled version. 
+
+homepage		http://www.oracle.com/database/berkeley-db/index.html
+master_sites		http://download-west.oracle.com/berkeley-db/ \
+			http://download-east.oracle.com/berkeley-db/ \
+			http://download-uk.oracle.com/berkeley-db/ 
+distname		db-${version}
+dist_subdir		db4
+checksums		${distname}${extract.suffix} \
+			  md5 89c7390ff120d5ebf3eccc5f97249e79 
+
+worksrcdir		${distname}/build_unix
+
+configure.cmd		../dist/configure
+configure.args		--enable-cxx \
+				--includedir=\\\${prefix}/include/db46 \
+				--libdir=\\\${prefix}/lib/db46 \
+				--program-transform-name="s,^db,db46," \
+				--disable-tcl
+
+destroot.destdir	prefix=${destroot}${prefix} \
+				docdir=${destroot}${prefix}/share/${name}-${version}/
+
+post-destroot {
+	delete ${destroot}${prefix}/share
+	foreach lib { libdb.a libdb_cxx.a } {
+		delete ${destroot}${prefix}/lib/db46/${lib}
+	}
+	foreach bin { archive hotbackup dump printlog upgrade checkpoint recover verify deadlock load stat codegen } {
+		file rename ${destroot}${prefix}/bin/db_${bin} \
+			${destroot}${prefix}/bin/db46_${bin}
+	}
+}
+
+variant java {
+	configure.args-append --enable-java
+}
+
+platform darwin 8 {
+	configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+}


Property changes on: trunk/dports/databases/db46/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070825/f2cb3d00/attachment.html


More information about the macports-changes mailing list