aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/libnetdude/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/libnetdude/Makefile b/net/libnetdude/Makefile
index 81e47f686afa..fc94362edf6f 100644
--- a/net/libnetdude/Makefile
+++ b/net/libnetdude/Makefile
@@ -36,4 +36,7 @@ post-patch:
-e 's,-I$$(top_srcdir)/libltdl,@INCLTDL@,' \
-e '/LIBADD/s,$$(top_builddir)/libltdl/libltdlc.la,@LIBLTDL@,'
+post-install:
+ @${FIND} -d ${STAGEDIR}${DOCSDIR} -type d -empty -delete
+
.include <bsd.port.mk>