Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2016 20:15:05 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412370 - head/editors/libreoffice
Message-ID:  <201604012015.u31KF5v7083601@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Apr  1 20:15:05 2016
New Revision: 412370
URL: https://svnweb.freebsd.org/changeset/ports/412370

Log:
  - Fix handling of empty directories in documentation
  
  PR:		207368
  Submitted by:	amdmi3
  Approved by:	maintainer timeout (office, > 1 month)

Modified:
  head/editors/libreoffice/Makefile.i18n

Modified: head/editors/libreoffice/Makefile.i18n
==============================================================================
--- head/editors/libreoffice/Makefile.i18n	Fri Apr  1 20:11:32 2016	(r412369)
+++ head/editors/libreoffice/Makefile.i18n	Fri Apr  1 20:15:05 2016	(r412370)
@@ -41,5 +41,7 @@ do-install:
 
 post-install:
 	@cd ${WRKSRC}/opt/${PORTNAME}${PORTVERSION:R} && \
-	${FIND} -s * -not -type d \
-	    -exec ${ECHO_CMD} "lib/${PORTNAME}/{} " \; >> ${TMPPLIST}
+		${FIND} -s * -not -type d \
+			-exec ${ECHO_CMD} "lib/${PORTNAME}/{}" \; >> ${TMPPLIST} && \
+		${FIND} -d * -type d -empty \
+			-exec ${ECHO_CMD} "@dir lib/${PORTNAME}/{}" \; >> ${TMPPLIST}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604012015.u31KF5v7083601>