aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db44
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1999-03-29 08:08:32 +0800
committerache <ache@FreeBSD.org>1999-03-29 08:08:32 +0800
commit09274f643860264beb42940bb5511626290f3394 (patch)
tree3bfb0d98d72d8c5cfd40231ad10f7ef9f1679eec /databases/db44
parentd09dbbdb7af34e84c3f986a0da46acdae411832f (diff)
downloadfreebsd-ports-gnome-09274f643860264beb42940bb5511626290f3394.tar.gz
freebsd-ports-gnome-09274f643860264beb42940bb5511626290f3394.tar.zst
freebsd-ports-gnome-09274f643860264beb42940bb5511626290f3394.zip
install examples too
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