aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db44
diff options
context:
space:
mode:
Diffstat (limited to 'databases/db44')
-rw-r--r--databases/db44/Makefile4
-rw-r--r--databases/db44/pkg-plist18
2 files changed, 22 insertions, 0 deletions
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