diff options
author | bapt <bapt@FreeBSD.org> | 2014-09-03 01:31:01 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-09-03 01:31:01 +0800 |
commit | 2009ddf312f987e5c0233dc1e81cb98b26e65d46 (patch) | |
tree | b0b27b10384625cb2eb7138bb5905894323f8418 /www | |
parent | 726c9cecb0c08d105efd649827a12404390ec61c (diff) | |
download | freebsd-ports-gnome-2009ddf312f987e5c0233dc1e81cb98b26e65d46.tar.gz freebsd-ports-gnome-2009ddf312f987e5c0233dc1e81cb98b26e65d46.tar.zst freebsd-ports-gnome-2009ddf312f987e5c0233dc1e81cb98b26e65d46.zip |
Package empty directories
Diffstat (limited to 'www')
-rw-r--r-- | www/xshttpd-devel/Makefile | 4 | ||||
-rw-r--r-- | www/xshttpd-devel/pkg-plist | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/www/xshttpd-devel/Makefile b/www/xshttpd-devel/Makefile index b4324bafa524..b07098179a9b 100644 --- a/www/xshttpd-devel/Makefile +++ b/www/xshttpd-devel/Makefile @@ -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> diff --git a/www/xshttpd-devel/pkg-plist b/www/xshttpd-devel/pkg-plist index 6e6d571cbe47..0bf5f1701a61 100644 --- a/www/xshttpd-devel/pkg-plist +++ b/www/xshttpd-devel/pkg-plist @@ -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 |