aboutsummaryrefslogtreecommitdiff
path: root/www/unit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/unit/Makefile')
-rw-r--r--www/unit/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/unit/Makefile b/www/unit/Makefile
index 792618c55250..09c6e40e87f2 100644
--- a/www/unit/Makefile
+++ b/www/unit/Makefile
@@ -3,6 +3,7 @@
PORTNAME= unit
PORTVERSION= 0.3
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://unit.nginx.org/download/
@@ -70,6 +71,10 @@ CONFIGURE_ARGS+=--control=unix:${UNIT_SOCK}
.if !target(post-install)
post-install:
+ ${MKDIR} ${STAGEDIR}${UNIT_LOGDIR}
+ ${MKDIR} ${STAGEDIR}${UNIT_RUNDIR}
+ ${ECHO_CMD} @dir ${UNIT_LOGDIR} >> ${TMPPLIST}
+ ${ECHO_CMD} @dir ${UNIT_RUNDIR} >> ${TMPPLIST}
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/unit/modules
.endif