diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1999-03-29 00:08:32 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1999-03-29 00:08:32 +0000 |
commit | 3cad4e77d88a8e68afa074bae4aae57f350c41aa (patch) | |
tree | cee02c7929a0785a22fd693e4b2d89e5facc325a /databases | |
parent | 1c99991470dea8b2d927eab59cbe6e3178c2f861 (diff) | |
download | ports-3cad4e77d88a8e68afa074bae4aae57f350c41aa.tar.gz ports-3cad4e77d88a8e68afa074bae4aae57f350c41aa.zip |
install examples too
Notes
Notes:
svn path=/head/; revision=17420
Diffstat (limited to 'databases')
-rw-r--r-- | databases/db/Makefile | 4 | ||||
-rw-r--r-- | databases/db/pkg-plist | 18 | ||||
-rw-r--r-- | databases/db2/Makefile | 4 | ||||
-rw-r--r-- | databases/db2/pkg-plist | 18 | ||||
-rw-r--r-- | databases/db3/Makefile | 4 | ||||
-rw-r--r-- | databases/db3/pkg-plist | 18 | ||||
-rw-r--r-- | databases/db33/Makefile | 4 | ||||
-rw-r--r-- | databases/db33/pkg-plist | 18 | ||||
-rw-r--r-- | databases/db4/Makefile | 4 | ||||
-rw-r--r-- | databases/db4/pkg-plist | 18 | ||||
-rw-r--r-- | databases/db41/Makefile | 4 | ||||
-rw-r--r-- | databases/db41/pkg-plist | 18 | ||||
-rw-r--r-- | databases/db42/Makefile | 4 | ||||
-rw-r--r-- | databases/db42/pkg-plist | 18 | ||||
-rw-r--r-- | databases/db43/Makefile | 4 | ||||
-rw-r--r-- | databases/db43/pkg-plist | 18 | ||||
-rw-r--r-- | databases/db44/Makefile | 4 | ||||
-rw-r--r-- | databases/db44/pkg-plist | 18 | ||||
-rw-r--r-- | databases/db45/Makefile | 4 | ||||
-rw-r--r-- | databases/db45/pkg-plist | 18 | ||||
-rw-r--r-- | databases/db46/Makefile | 4 | ||||
-rw-r--r-- | databases/db46/pkg-plist | 18 | ||||
-rw-r--r-- | databases/db47/Makefile | 4 | ||||
-rw-r--r-- | databases/db47/pkg-plist | 18 |
24 files changed, 264 insertions, 0 deletions
diff --git a/databases/db/Makefile b/databases/db/Makefile index aff5e2e9b3d3..d9d4c22a67ec 100644 --- a/databases/db/Makefile +++ b/databases/db/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + $(MKDIR) ${PREFIX}/share/examples/db2 + cd ${WRKSRC}/..; \ + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ + ( cd ${PREFIX}/share/examples/db2; tar xf - ) @echo "" @echo "Java support for ${PKGNAME} is *not* built by default, and requires that you" @echo "have a working copy of the JDK (v1.1) installed." diff --git a/databases/db/pkg-plist b/databases/db/pkg-plist index 7858f9740791..b4313abf6acf 100644 --- a/databases/db/pkg-plist +++ b/databases/db/pkg-plist @@ -459,3 +459,21 @@ share/doc/db2/utility/db_load.html share/doc/db2/utility/db_recover.html share/doc/db2/utility/db_stat.html share/doc/db2/utility/index.html +share/examples/db2/examples/README +share/examples/db2/examples/ex_access.c +share/examples/db2/examples/ex_appinit.c +share/examples/db2/examples/ex_btrec.c +share/examples/db2/examples/ex_lock.c +share/examples/db2/examples/ex_mpool.c +share/examples/db2/examples/ex_thread.c +share/examples/db2/examples/ex_tpcb.c +share/examples/db2/examples/ex_tpcb.h +share/examples/db2/examples_cxx/AccessExample.cpp +share/examples/db2/examples_cxx/AppinitExample.cpp +share/examples/db2/examples_cxx/LockExample.cpp +share/examples/db2/examples_cxx/MpoolExample.cpp +share/examples/db2/examples_cxx/TpcbExample.cpp +share/examples/db2/examples_java/AccessExample.java +share/examples/db2/examples_java/AppinitExample.java +share/examples/db2/examples_java/LockExample.java +share/examples/db2/examples_java/TpcbExample.java diff --git a/databases/db2/Makefile b/databases/db2/Makefile index aff5e2e9b3d3..d9d4c22a67ec 100644 --- a/databases/db2/Makefile +++ b/databases/db2/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + $(MKDIR) ${PREFIX}/share/examples/db2 + cd ${WRKSRC}/..; \ + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ + ( cd ${PREFIX}/share/examples/db2; tar xf - ) @echo "" @echo "Java support for ${PKGNAME} is *not* built by default, and requires that you" @echo "have a working copy of the JDK (v1.1) installed." diff --git a/databases/db2/pkg-plist b/databases/db2/pkg-plist index 7858f9740791..b4313abf6acf 100644 --- a/databases/db2/pkg-plist +++ b/databases/db2/pkg-plist @@ -459,3 +459,21 @@ share/doc/db2/utility/db_load.html share/doc/db2/utility/db_recover.html share/doc/db2/utility/db_stat.html share/doc/db2/utility/index.html +share/examples/db2/examples/README +share/examples/db2/examples/ex_access.c +share/examples/db2/examples/ex_appinit.c +share/examples/db2/examples/ex_btrec.c +share/examples/db2/examples/ex_lock.c +share/examples/db2/examples/ex_mpool.c +share/examples/db2/examples/ex_thread.c +share/examples/db2/examples/ex_tpcb.c +share/examples/db2/examples/ex_tpcb.h +share/examples/db2/examples_cxx/AccessExample.cpp +share/examples/db2/examples_cxx/AppinitExample.cpp +share/examples/db2/examples_cxx/LockExample.cpp +share/examples/db2/examples_cxx/MpoolExample.cpp +share/examples/db2/examples_cxx/TpcbExample.cpp +share/examples/db2/examples_java/AccessExample.java +share/examples/db2/examples_java/AppinitExample.java +share/examples/db2/examples_java/LockExample.java +share/examples/db2/examples_java/TpcbExample.java diff --git a/databases/db3/Makefile b/databases/db3/Makefile index aff5e2e9b3d3..d9d4c22a67ec 100644 --- a/databases/db3/Makefile +++ b/databases/db3/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + $(MKDIR) ${PREFIX}/share/examples/db2 + cd ${WRKSRC}/..; \ + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ + ( cd ${PREFIX}/share/examples/db2; tar xf - ) @echo "" @echo "Java support for ${PKGNAME} is *not* built by default, and requires that you" @echo "have a working copy of the JDK (v1.1) installed." diff --git a/databases/db3/pkg-plist b/databases/db3/pkg-plist index 7858f9740791..b4313abf6acf 100644 --- a/databases/db3/pkg-plist +++ b/databases/db3/pkg-plist @@ -459,3 +459,21 @@ share/doc/db2/utility/db_load.html share/doc/db2/utility/db_recover.html share/doc/db2/utility/db_stat.html share/doc/db2/utility/index.html +share/examples/db2/examples/README +share/examples/db2/examples/ex_access.c +share/examples/db2/examples/ex_appinit.c +share/examples/db2/examples/ex_btrec.c +share/examples/db2/examples/ex_lock.c +share/examples/db2/examples/ex_mpool.c +share/examples/db2/examples/ex_thread.c +share/examples/db2/examples/ex_tpcb.c +share/examples/db2/examples/ex_tpcb.h +share/examples/db2/examples_cxx/AccessExample.cpp +share/examples/db2/examples_cxx/AppinitExample.cpp +share/examples/db2/examples_cxx/LockExample.cpp +share/examples/db2/examples_cxx/MpoolExample.cpp +share/examples/db2/examples_cxx/TpcbExample.cpp +share/examples/db2/examples_java/AccessExample.java +share/examples/db2/examples_java/AppinitExample.java +share/examples/db2/examples_java/LockExample.java +share/examples/db2/examples_java/TpcbExample.java diff --git a/databases/db33/Makefile b/databases/db33/Makefile index aff5e2e9b3d3..d9d4c22a67ec 100644 --- a/databases/db33/Makefile +++ b/databases/db33/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + $(MKDIR) ${PREFIX}/share/examples/db2 + cd ${WRKSRC}/..; \ + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ + ( cd ${PREFIX}/share/examples/db2; tar xf - ) @echo "" @echo "Java support for ${PKGNAME} is *not* built by default, and requires that you" @echo "have a working copy of the JDK (v1.1) installed." diff --git a/databases/db33/pkg-plist b/databases/db33/pkg-plist index 7858f9740791..b4313abf6acf 100644 --- a/databases/db33/pkg-plist +++ b/databases/db33/pkg-plist @@ -459,3 +459,21 @@ share/doc/db2/utility/db_load.html share/doc/db2/utility/db_recover.html share/doc/db2/utility/db_stat.html share/doc/db2/utility/index.html +share/examples/db2/examples/README +share/examples/db2/examples/ex_access.c +share/examples/db2/examples/ex_appinit.c +share/examples/db2/examples/ex_btrec.c +share/examples/db2/examples/ex_lock.c +share/examples/db2/examples/ex_mpool.c +share/examples/db2/examples/ex_thread.c +share/examples/db2/examples/ex_tpcb.c +share/examples/db2/examples/ex_tpcb.h +share/examples/db2/examples_cxx/AccessExample.cpp +share/examples/db2/examples_cxx/AppinitExample.cpp +share/examples/db2/examples_cxx/LockExample.cpp +share/examples/db2/examples_cxx/MpoolExample.cpp +share/examples/db2/examples_cxx/TpcbExample.cpp +share/examples/db2/examples_java/AccessExample.java +share/examples/db2/examples_java/AppinitExample.java +share/examples/db2/examples_java/LockExample.java +share/examples/db2/examples_java/TpcbExample.java diff --git a/databases/db4/Makefile b/databases/db4/Makefile index aff5e2e9b3d3..d9d4c22a67ec 100644 --- a/databases/db4/Makefile +++ b/databases/db4/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + $(MKDIR) ${PREFIX}/share/examples/db2 + cd ${WRKSRC}/..; \ + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ + ( cd ${PREFIX}/share/examples/db2; tar xf - ) @echo "" @echo "Java support for ${PKGNAME} is *not* built by default, and requires that you" @echo "have a working copy of the JDK (v1.1) installed." diff --git a/databases/db4/pkg-plist b/databases/db4/pkg-plist index 7858f9740791..b4313abf6acf 100644 --- a/databases/db4/pkg-plist +++ b/databases/db4/pkg-plist @@ -459,3 +459,21 @@ share/doc/db2/utility/db_load.html share/doc/db2/utility/db_recover.html share/doc/db2/utility/db_stat.html share/doc/db2/utility/index.html +share/examples/db2/examples/README +share/examples/db2/examples/ex_access.c +share/examples/db2/examples/ex_appinit.c +share/examples/db2/examples/ex_btrec.c +share/examples/db2/examples/ex_lock.c +share/examples/db2/examples/ex_mpool.c +share/examples/db2/examples/ex_thread.c +share/examples/db2/examples/ex_tpcb.c +share/examples/db2/examples/ex_tpcb.h +share/examples/db2/examples_cxx/AccessExample.cpp +share/examples/db2/examples_cxx/AppinitExample.cpp +share/examples/db2/examples_cxx/LockExample.cpp +share/examples/db2/examples_cxx/MpoolExample.cpp +share/examples/db2/examples_cxx/TpcbExample.cpp +share/examples/db2/examples_java/AccessExample.java +share/examples/db2/examples_java/AppinitExample.java +share/examples/db2/examples_java/LockExample.java +share/examples/db2/examples_java/TpcbExample.java diff --git a/databases/db41/Makefile b/databases/db41/Makefile index aff5e2e9b3d3..d9d4c22a67ec 100644 --- a/databases/db41/Makefile +++ b/databases/db41/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + $(MKDIR) ${PREFIX}/share/examples/db2 + cd ${WRKSRC}/..; \ + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ + ( cd ${PREFIX}/share/examples/db2; tar xf - ) @echo "" @echo "Java support for ${PKGNAME} is *not* built by default, and requires that you" @echo "have a working copy of the JDK (v1.1) installed." diff --git a/databases/db41/pkg-plist b/databases/db41/pkg-plist index 7858f9740791..b4313abf6acf 100644 --- a/databases/db41/pkg-plist +++ b/databases/db41/pkg-plist @@ -459,3 +459,21 @@ share/doc/db2/utility/db_load.html share/doc/db2/utility/db_recover.html share/doc/db2/utility/db_stat.html share/doc/db2/utility/index.html +share/examples/db2/examples/README +share/examples/db2/examples/ex_access.c +share/examples/db2/examples/ex_appinit.c +share/examples/db2/examples/ex_btrec.c +share/examples/db2/examples/ex_lock.c +share/examples/db2/examples/ex_mpool.c +share/examples/db2/examples/ex_thread.c +share/examples/db2/examples/ex_tpcb.c +share/examples/db2/examples/ex_tpcb.h +share/examples/db2/examples_cxx/AccessExample.cpp +share/examples/db2/examples_cxx/AppinitExample.cpp +share/examples/db2/examples_cxx/LockExample.cpp +share/examples/db2/examples_cxx/MpoolExample.cpp +share/examples/db2/examples_cxx/TpcbExample.cpp +share/examples/db2/examples_java/AccessExample.java +share/examples/db2/examples_java/AppinitExample.java +share/examples/db2/examples_java/LockExample.java +share/examples/db2/examples_java/TpcbExample.java diff --git a/databases/db42/Makefile b/databases/db42/Makefile index aff5e2e9b3d3..d9d4c22a67ec 100644 --- a/databases/db42/Makefile +++ b/databases/db42/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + $(MKDIR) ${PREFIX}/share/examples/db2 + cd ${WRKSRC}/..; \ + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ + ( cd ${PREFIX}/share/examples/db2; tar xf - ) @echo "" @echo "Java support for ${PKGNAME} is *not* built by default, and requires that you" @echo "have a working copy of the JDK (v1.1) installed." diff --git a/databases/db42/pkg-plist b/databases/db42/pkg-plist index 7858f9740791..b4313abf6acf 100644 --- a/databases/db42/pkg-plist +++ b/databases/db42/pkg-plist @@ -459,3 +459,21 @@ share/doc/db2/utility/db_load.html share/doc/db2/utility/db_recover.html share/doc/db2/utility/db_stat.html share/doc/db2/utility/index.html +share/examples/db2/examples/README +share/examples/db2/examples/ex_access.c +share/examples/db2/examples/ex_appinit.c +share/examples/db2/examples/ex_btrec.c +share/examples/db2/examples/ex_lock.c +share/examples/db2/examples/ex_mpool.c +share/examples/db2/examples/ex_thread.c +share/examples/db2/examples/ex_tpcb.c +share/examples/db2/examples/ex_tpcb.h +share/examples/db2/examples_cxx/AccessExample.cpp +share/examples/db2/examples_cxx/AppinitExample.cpp +share/examples/db2/examples_cxx/LockExample.cpp +share/examples/db2/examples_cxx/MpoolExample.cpp +share/examples/db2/examples_cxx/TpcbExample.cpp +share/examples/db2/examples_java/AccessExample.java +share/examples/db2/examples_java/AppinitExample.java +share/examples/db2/examples_java/LockExample.java +share/examples/db2/examples_java/TpcbExample.java diff --git a/databases/db43/Makefile b/databases/db43/Makefile index aff5e2e9b3d3..d9d4c22a67ec 100644 --- a/databases/db43/Makefile +++ b/databases/db43/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + $(MKDIR) ${PREFIX}/share/examples/db2 + cd ${WRKSRC}/..; \ + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ + ( cd ${PREFIX}/share/examples/db2; tar xf - ) @echo "" @echo "Java support for ${PKGNAME} is *not* built by default, and requires that you" @echo "have a working copy of the JDK (v1.1) installed." diff --git a/databases/db43/pkg-plist b/databases/db43/pkg-plist index 7858f9740791..b4313abf6acf 100644 --- a/databases/db43/pkg-plist +++ b/databases/db43/pkg-plist @@ -459,3 +459,21 @@ share/doc/db2/utility/db_load.html share/doc/db2/utility/db_recover.html share/doc/db2/utility/db_stat.html share/doc/db2/utility/index.html +share/examples/db2/examples/README +share/examples/db2/examples/ex_access.c +share/examples/db2/examples/ex_appinit.c +share/examples/db2/examples/ex_btrec.c +share/examples/db2/examples/ex_lock.c +share/examples/db2/examples/ex_mpool.c +share/examples/db2/examples/ex_thread.c +share/examples/db2/examples/ex_tpcb.c +share/examples/db2/examples/ex_tpcb.h +share/examples/db2/examples_cxx/AccessExample.cpp +share/examples/db2/examples_cxx/AppinitExample.cpp +share/examples/db2/examples_cxx/LockExample.cpp +share/examples/db2/examples_cxx/MpoolExample.cpp +share/examples/db2/examples_cxx/TpcbExample.cpp +share/examples/db2/examples_java/AccessExample.java +share/examples/db2/examples_java/AppinitExample.java +share/examples/db2/examples_java/LockExample.java +share/examples/db2/examples_java/TpcbExample.java diff --git a/databases/db44/Makefile b/databases/db44/Makefile index aff5e2e9b3d3..d9d4c22a67ec 100644 --- a/databases/db44/Makefile +++ b/databases/db44/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + $(MKDIR) ${PREFIX}/share/examples/db2 + cd ${WRKSRC}/..; \ + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ + ( cd ${PREFIX}/share/examples/db2; tar xf - ) @echo "" @echo "Java support for ${PKGNAME} is *not* built by default, and requires that you" @echo "have a working copy of the JDK (v1.1) installed." diff --git a/databases/db44/pkg-plist b/databases/db44/pkg-plist index 7858f9740791..b4313abf6acf 100644 --- a/databases/db44/pkg-plist +++ b/databases/db44/pkg-plist @@ -459,3 +459,21 @@ share/doc/db2/utility/db_load.html share/doc/db2/utility/db_recover.html share/doc/db2/utility/db_stat.html share/doc/db2/utility/index.html +share/examples/db2/examples/README +share/examples/db2/examples/ex_access.c +share/examples/db2/examples/ex_appinit.c +share/examples/db2/examples/ex_btrec.c +share/examples/db2/examples/ex_lock.c +share/examples/db2/examples/ex_mpool.c +share/examples/db2/examples/ex_thread.c +share/examples/db2/examples/ex_tpcb.c +share/examples/db2/examples/ex_tpcb.h +share/examples/db2/examples_cxx/AccessExample.cpp +share/examples/db2/examples_cxx/AppinitExample.cpp +share/examples/db2/examples_cxx/LockExample.cpp +share/examples/db2/examples_cxx/MpoolExample.cpp +share/examples/db2/examples_cxx/TpcbExample.cpp +share/examples/db2/examples_java/AccessExample.java +share/examples/db2/examples_java/AppinitExample.java +share/examples/db2/examples_java/LockExample.java +share/examples/db2/examples_java/TpcbExample.java diff --git a/databases/db45/Makefile b/databases/db45/Makefile index aff5e2e9b3d3..d9d4c22a67ec 100644 --- a/databases/db45/Makefile +++ b/databases/db45/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + $(MKDIR) ${PREFIX}/share/examples/db2 + cd ${WRKSRC}/..; \ + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ + ( cd ${PREFIX}/share/examples/db2; tar xf - ) @echo "" @echo "Java support for ${PKGNAME} is *not* built by default, and requires that you" @echo "have a working copy of the JDK (v1.1) installed." diff --git a/databases/db45/pkg-plist b/databases/db45/pkg-plist index 7858f9740791..b4313abf6acf 100644 --- a/databases/db45/pkg-plist +++ b/databases/db45/pkg-plist @@ -459,3 +459,21 @@ share/doc/db2/utility/db_load.html share/doc/db2/utility/db_recover.html share/doc/db2/utility/db_stat.html share/doc/db2/utility/index.html +share/examples/db2/examples/README +share/examples/db2/examples/ex_access.c +share/examples/db2/examples/ex_appinit.c +share/examples/db2/examples/ex_btrec.c +share/examples/db2/examples/ex_lock.c +share/examples/db2/examples/ex_mpool.c +share/examples/db2/examples/ex_thread.c +share/examples/db2/examples/ex_tpcb.c +share/examples/db2/examples/ex_tpcb.h +share/examples/db2/examples_cxx/AccessExample.cpp +share/examples/db2/examples_cxx/AppinitExample.cpp +share/examples/db2/examples_cxx/LockExample.cpp +share/examples/db2/examples_cxx/MpoolExample.cpp +share/examples/db2/examples_cxx/TpcbExample.cpp +share/examples/db2/examples_java/AccessExample.java +share/examples/db2/examples_java/AppinitExample.java +share/examples/db2/examples_java/LockExample.java +share/examples/db2/examples_java/TpcbExample.java diff --git a/databases/db46/Makefile b/databases/db46/Makefile index aff5e2e9b3d3..d9d4c22a67ec 100644 --- a/databases/db46/Makefile +++ b/databases/db46/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + $(MKDIR) ${PREFIX}/share/examples/db2 + cd ${WRKSRC}/..; \ + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ + ( cd ${PREFIX}/share/examples/db2; tar xf - ) @echo "" @echo "Java support for ${PKGNAME} is *not* built by default, and requires that you" @echo "have a working copy of the JDK (v1.1) installed." diff --git a/databases/db46/pkg-plist b/databases/db46/pkg-plist index 7858f9740791..b4313abf6acf 100644 --- a/databases/db46/pkg-plist +++ b/databases/db46/pkg-plist @@ -459,3 +459,21 @@ share/doc/db2/utility/db_load.html share/doc/db2/utility/db_recover.html share/doc/db2/utility/db_stat.html share/doc/db2/utility/index.html +share/examples/db2/examples/README +share/examples/db2/examples/ex_access.c +share/examples/db2/examples/ex_appinit.c +share/examples/db2/examples/ex_btrec.c +share/examples/db2/examples/ex_lock.c +share/examples/db2/examples/ex_mpool.c +share/examples/db2/examples/ex_thread.c +share/examples/db2/examples/ex_tpcb.c +share/examples/db2/examples/ex_tpcb.h +share/examples/db2/examples_cxx/AccessExample.cpp +share/examples/db2/examples_cxx/AppinitExample.cpp +share/examples/db2/examples_cxx/LockExample.cpp +share/examples/db2/examples_cxx/MpoolExample.cpp +share/examples/db2/examples_cxx/TpcbExample.cpp +share/examples/db2/examples_java/AccessExample.java +share/examples/db2/examples_java/AppinitExample.java +share/examples/db2/examples_java/LockExample.java +share/examples/db2/examples_java/TpcbExample.java diff --git a/databases/db47/Makefile b/databases/db47/Makefile index aff5e2e9b3d3..d9d4c22a67ec 100644 --- a/databases/db47/Makefile +++ b/databases/db47/Makefile @@ -23,6 +23,10 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + $(MKDIR) ${PREFIX}/share/examples/db2 + cd ${WRKSRC}/..; \ + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ + ( cd ${PREFIX}/share/examples/db2; tar xf - ) @echo "" @echo "Java support for ${PKGNAME} is *not* built by default, and requires that you" @echo "have a working copy of the JDK (v1.1) installed." diff --git a/databases/db47/pkg-plist b/databases/db47/pkg-plist index 7858f9740791..b4313abf6acf 100644 --- a/databases/db47/pkg-plist +++ b/databases/db47/pkg-plist @@ -459,3 +459,21 @@ share/doc/db2/utility/db_load.html share/doc/db2/utility/db_recover.html share/doc/db2/utility/db_stat.html share/doc/db2/utility/index.html +share/examples/db2/examples/README +share/examples/db2/examples/ex_access.c +share/examples/db2/examples/ex_appinit.c +share/examples/db2/examples/ex_btrec.c +share/examples/db2/examples/ex_lock.c +share/examples/db2/examples/ex_mpool.c +share/examples/db2/examples/ex_thread.c +share/examples/db2/examples/ex_tpcb.c +share/examples/db2/examples/ex_tpcb.h +share/examples/db2/examples_cxx/AccessExample.cpp +share/examples/db2/examples_cxx/AppinitExample.cpp +share/examples/db2/examples_cxx/LockExample.cpp +share/examples/db2/examples_cxx/MpoolExample.cpp +share/examples/db2/examples_cxx/TpcbExample.cpp +share/examples/db2/examples_java/AccessExample.java +share/examples/db2/examples_java/AppinitExample.java +share/examples/db2/examples_java/LockExample.java +share/examples/db2/examples_java/TpcbExample.java |