aboutsummaryrefslogtreecommitdiff
path: root/www/gitea/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/gitea/Makefile')
-rw-r--r--www/gitea/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/www/gitea/Makefile b/www/gitea/Makefile
index c4dd0d716b81..9666b515876f 100644
--- a/www/gitea/Makefile
+++ b/www/gitea/Makefile
@@ -46,11 +46,6 @@ GO_TAGS+= pam
GO_TAGS+= sqlite
.endif
-post-stage:
- ${MKDIR} ${STAGEDIR}${DESTDIR}/var/db/${PORTNAME}
- ${MKDIR} ${STAGEDIR}${DESTDIR}/var/log/${PORTNAME}
- ${MKDIR} ${STAGEDIR}${DESTDIR}/var/run/${PORTNAME}
-
do-install:
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${MKDIR} ${STAGEDIR}${ETCDIR}/conf
@@ -59,4 +54,8 @@ do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${GO_WRKSRC} && ${COPYTREE_SHARE} "public templates" ${STAGEDIR}${DATADIR})
+ ${MKDIR} ${STAGEDIR}${DESTDIR}/var/db/${PORTNAME}
+ ${MKDIR} ${STAGEDIR}${DESTDIR}/var/log/${PORTNAME}
+ ${MKDIR} ${STAGEDIR}${DESTDIR}/var/run/${PORTNAME}
+
.include <bsd.port.mk>