Diff
Modified: trunk/dports/databases/db46/Portfile (105616 => 105617)
--- trunk/dports/databases/db46/Portfile 2013-04-27 22:36:17 UTC (rev 105616)
+++ trunk/dports/databases/db46/Portfile 2013-04-27 23:42:35 UTC (rev 105617)
@@ -2,10 +2,11 @@
PortSystem 1.0
PortGroup muniversal 1.0
+PortGroup select 1.0
name db46
version 4.6.21
-revision 7
+revision 8
set branch [join [lrange [split ${version} .] 0 1] {}]
categories databases
license Sleepycat
@@ -60,6 +61,10 @@
--libdir=\\\${prefix}/lib/db${branch} \
--enable-dump185
+depends_run-append port:db_select
+select.group db
+select.file ${filespath}/db46
+
destroot.destdir \
prefix=${destroot}${prefix} \
docdir=${destroot}${prefix}/share/doc/${name}/
Added: trunk/dports/databases/db46/files/db46 (0 => 105617)
--- trunk/dports/databases/db46/files/db46 (rev 0)
+++ trunk/dports/databases/db46/files/db46 2013-04-27 23:42:35 UTC (rev 105617)
@@ -0,0 +1,6 @@
+include/db46/db.h
+include/db46/db_cxx.h
+lib/db46/libdb.a
+lib/db46/libdb.dylib
+lib/db46/libdb_cxx.a
+lib/db46/libdb_cxx.dylib
Modified: trunk/dports/databases/db48/Portfile (105616 => 105617)
--- trunk/dports/databases/db48/Portfile 2013-04-27 22:36:17 UTC (rev 105616)
+++ trunk/dports/databases/db48/Portfile 2013-04-27 23:42:35 UTC (rev 105617)
@@ -3,10 +3,11 @@
PortSystem 1.0
PortGroup muniversal 1.0
+PortGroup select 1.0
name db48
version 4.8.30
-revision 1
+revision 2
set branch [join [lrange [split ${version} .] 0 1] {}]
categories databases
license Sleepycat
@@ -39,6 +40,10 @@
--includedir=\\\${prefix}/include/db${branch} \
--libdir=\\\${prefix}/lib/db${branch}
+depends_run-append port:db_select
+select.group db
+select.file ${filespath}/db48
+
destroot.destdir \
prefix=${destroot}${prefix} \
docdir=${destroot}${prefix}/share/doc/${name}
Added: trunk/dports/databases/db48/files/db48 (0 => 105617)
--- trunk/dports/databases/db48/files/db48 (rev 0)
+++ trunk/dports/databases/db48/files/db48 2013-04-27 23:42:35 UTC (rev 105617)
@@ -0,0 +1,6 @@
+include/db48/db.h
+include/db48/db_cxx.h
+lib/db48/libdb.a
+lib/db48/libdb.dylib
+lib/db48/libdb_cxx.a
+lib/db48/libdb_cxx.dylib
Added: trunk/dports/sysutils/db_select/Portfile (0 => 105617)
--- trunk/dports/sysutils/db_select/Portfile (rev 0)
+++ trunk/dports/sysutils/db_select/Portfile 2013-04-27 23:42:35 UTC (rev 105617)
@@ -0,0 +1,30 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup select 1.0
+
+name db_select
+version 0.1
+revision 1
+categories sysutils
+platforms darwin
+license BSD
+maintainers and.damore openmaintainer
+supported_archs noarch
+description common files for selecting default db version
+long_description db_select installs files that allow 'port select' to \
+ switch the default version of db. \
+ It symlinks the standard compiler executables \
+ in the MacPorts prefix to the selected version.
+
+homepage http://www.macports.org/
+distfiles
+
+use_configure no
+build {}
+destroot {
+ select::install db ${filespath}/base
+ select::install db ${filespath}/none
+}
+
+livecheck.type none
Property changes on: trunk/dports/sysutils/db_select/Portfile
___________________________________________________________________
Added: svn:keywords
Added: svn:eol-style
Added: trunk/dports/sysutils/db_select/files/base (0 => 105617)
--- trunk/dports/sysutils/db_select/files/base (rev 0)
+++ trunk/dports/sysutils/db_select/files/base 2013-04-27 23:42:35 UTC (rev 105617)
@@ -0,0 +1,6 @@
+ include/db.h
+ include/db_cxx.h
+ lib/libdb.a
+ lib/libdb.dylib
+ lib/libdb_cxx.a
+ lib/libdb_cxx.dylib
Added: trunk/dports/sysutils/db_select/files/none (0 => 105617)
--- trunk/dports/sysutils/db_select/files/none (rev 0)
+++ trunk/dports/sysutils/db_select/files/none 2013-04-27 23:42:35 UTC (rev 105617)
@@ -0,0 +1,6 @@
+-
+-
+-
+-
+-
+-