svn commit: r367058 - head/www/xshttpd-devel

Baptiste Daroussin bapt at FreeBSD.org
Tue Sep 2 17:31:02 UTC 2014


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
- at cwd /
- at unexec rm -d var/log/xshttpd var/db/xshttpd/sessions var/db/xshttpd 2>/dev/null || true
- at exec mkdir -p var/log/xshttpd var/db/xshttpd/sessions
+ at dirrmtry /var/log/xshttpd
+ at dirrmtry /var/db/xshttpd/sessions
+ at dirrmtry /var/db/xshttpd


More information about the svn-ports-head mailing list