aboutsummaryrefslogtreecommitdiff
path: root/databases/db2
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2002-08-14 08:48:43 +0000
committerAlan Eldridge <alane@FreeBSD.org>2002-08-14 08:48:43 +0000
commit1ad73a0fb275795408dda9b46d8907f3dd70832b (patch)
treef54608a6cab75c4e8a5d901011eddab68be4175c /databases/db2
parent8919ebc76453def534aafaa056ca75e4f8285d53 (diff)
downloadports-1ad73a0fb275795408dda9b46d8907f3dd70832b.tar.gz
ports-1ad73a0fb275795408dda9b46d8907f3dd70832b.zip
Notes
Diffstat (limited to 'databases/db2')
-rw-r--r--databases/db2/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/db2/Makefile b/databases/db2/Makefile
index 48c920ecd8ad..260660428f73 100644
--- a/databases/db2/Makefile
+++ b/databases/db2/Makefile
@@ -23,10 +23,11 @@ CONFIGURE_ARGS= --enable-compat185 \
--enable-dump185 --enable-cxx
post-install:
+ @-${RM} -fr ${PREFIX}/share/examples/db2
${MKDIR} ${PREFIX}/share/examples/db2
cd ${WRKSRC}/..; \
- tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \
- ( cd ${PREFIX}/share/examples/db2; tar xf - )
+ tar -cf - --exclude tags examples/ examples_cxx/ examples_java/. \
+ | ( cd ${PREFIX}/share/examples/db2; tar xf - )
@${ECHO_MSG} ""
@${ECHO_MSG} "Java support for ${PKGNAME} is *not* built by default, and requires that you"
@${ECHO_MSG} "have a working copy of the JDK (v1.1) installed."