From 3cad4e77d88a8e68afa074bae4aae57f350c41aa Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Mon, 29 Mar 1999 00:08:32 +0000 Subject: install examples too --- databases/db45/Makefile | 4 ++++ databases/db45/pkg-plist | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) (limited to 'databases/db45') 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 -- cgit v1.2.3