aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2003-01-06 19:00:27 +0800
committerobraun <obraun@FreeBSD.org>2003-01-06 19:00:27 +0800
commit324dcf6a2e5245af51bb58dd06d44dd400acb25d (patch)
tree061b5bedae626e8c78de18e760fb9714719413dd /databases
parenta0790bd3598377d6578d18d859af8d9900644e29 (diff)
downloadfreebsd-ports-gnome-324dcf6a2e5245af51bb58dd06d44dd400acb25d.tar.gz
freebsd-ports-gnome-324dcf6a2e5245af51bb58dd06d44dd400acb25d.tar.zst
freebsd-ports-gnome-324dcf6a2e5245af51bb58dd06d44dd400acb25d.zip
Remove empty docs subdir after install.
PR: ports/46795 Submitted by: maintainer
Diffstat (limited to 'databases')
-rw-r--r--databases/db4/Makefile8
-rw-r--r--databases/db4/pkg-plist1
2 files changed, 8 insertions, 1 deletions
diff --git a/databases/db4/Makefile b/databases/db4/Makefile
index d2fde8bf6cbc..2a08db096c81 100644
--- a/databases/db4/Makefile
+++ b/databases/db4/Makefile
@@ -34,6 +34,14 @@ INSTALLS_SHLIB= yes
INSTALL_TARGET= install install_docs
.endif
+# the db install_docs target installs an empty directory, kill it
+# (it's not packaged and it's not needed):
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${RMDIR} ${PREFIX}/share/doc/db4/ref/splash
+.endif
+
post-patch:
@${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
diff --git a/databases/db4/pkg-plist b/databases/db4/pkg-plist
index 9acf173f91e1..56d895c9b400 100644
--- a/databases/db4/pkg-plist
+++ b/databases/db4/pkg-plist
@@ -860,7 +860,6 @@ lib/libdb4_cxx.so.0
%%PORTDOCS%%@dirrm share/doc/db4/ref/transapp
%%PORTDOCS%%@dirrm share/doc/db4/ref/test
%%PORTDOCS%%@dirrm share/doc/db4/ref/tcl
-%%PORTDOCS%%@dirrm share/doc/db4/ref/splash
%%PORTDOCS%%@dirrm share/doc/db4/ref/simple_tut
%%PORTDOCS%%@dirrm share/doc/db4/ref/sendmail
%%PORTDOCS%%@dirrm share/doc/db4/ref/rpc