aboutsummaryrefslogtreecommitdiffstats
path: root/www/habari
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-06 21:13:12 +0800
committermiwi <miwi@FreeBSD.org>2014-06-06 21:13:12 +0800
commitfd4203028172fe9ca99db09c9551fb6b9709ebd5 (patch)
tree12c4cc7ade8a2b5c20d6ee4c503b04928200dc17 /www/habari
parent5e652cfa81fbfdbeee38aff4b88422abc05cee3b (diff)
downloadfreebsd-ports-gnome-fd4203028172fe9ca99db09c9551fb6b9709ebd5.tar.gz
freebsd-ports-gnome-fd4203028172fe9ca99db09c9551fb6b9709ebd5.tar.zst
freebsd-ports-gnome-fd4203028172fe9ca99db09c9551fb6b9709ebd5.zip
- Stage support
PR: 190130
Diffstat (limited to 'www/habari')
-rw-r--r--www/habari/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/www/habari/Makefile b/www/habari/Makefile
index 1fe0c48ac2e7..e7d419ab6980 100644
--- a/www/habari/Makefile
+++ b/www/habari/Makefile
@@ -20,7 +20,6 @@ OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT= MYSQL
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
@@ -41,17 +40,15 @@ post-patch:
.endfor
do-install:
- @${MKDIR} ${WWWDIR}
- ${INSTALL_DATA} ${WRKSRC}/index.php ${WWWDIR}
+ @${MKDIR} ${STAGEDIR}${WWWDIR}
+ @${INSTALL_DATA} ${WRKSRC}/index.php ${STAGEDIR}${WWWDIR}
.for f in system user
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${WWWDIR})
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${WWWDIR})
.endfor
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in LICENSE NOTICE README.md doc/MIT.txt
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
- @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual ${DOCSDIR})
-.endif
+ @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>