Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2014 17:31:02 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367058 - head/www/xshttpd-devel
Message-ID:  <201409021731.s82HV2P8055415@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Sep  2 17:31:01 2014
New Revision: 367058
URL: http://svnweb.freebsd.org/changeset/ports/367058
QAT: https://qat.redports.org/buildarchive/r367058/

Log:
  Package empty directories

Modified:
  head/www/xshttpd-devel/Makefile
  head/www/xshttpd-devel/pkg-plist

Modified: head/www/xshttpd-devel/Makefile
==============================================================================
--- head/www/xshttpd-devel/Makefile	Tue Sep  2 17:28:04 2014	(r367057)
+++ head/www/xshttpd-devel/Makefile	Tue Sep  2 17:31:01 2014	(r367058)
@@ -55,7 +55,9 @@ post-patch:
 		${WRKSRC}/contrib/Makefile.in
 
 post-install:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${WWWDIR}/htdocs
+	@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${WWWDIR}/htdocs \
+		${STAGEDIR}/var/log/xshttpd \
+		${STAGEDIR}/var/db/xshttpd/sessions
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/www/xshttpd-devel/pkg-plist
==============================================================================
--- head/www/xshttpd-devel/pkg-plist	Tue Sep  2 17:28:04 2014	(r367057)
+++ head/www/xshttpd-devel/pkg-plist	Tue Sep  2 17:31:01 2014	(r367058)
@@ -97,6 +97,6 @@ man/man7/httpd_ssi.7.gz
 @dirrmtry %%WWWDIR%%
 @dirrmtry %%ETCDIR%%
 @dirrmtry libexec/xshttpd
-@cwd /
-@unexec rm -d var/log/xshttpd var/db/xshttpd/sessions var/db/xshttpd 2>/dev/null || true
-@exec mkdir -p var/log/xshttpd var/db/xshttpd/sessions
+@dirrmtry /var/log/xshttpd
+@dirrmtry /var/db/xshttpd/sessions
+@dirrmtry /var/db/xshttpd



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