1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Stage support

PR:		190130
This commit is contained in:
Martin Wilke 2014-06-06 13:13:12 +00:00
parent f507cc5b3c
commit 4aaf3e0e13
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356784

View File

@ -20,7 +20,6 @@ OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT= MYSQL OPTIONS_DEFAULT= MYSQL
OPTIONS_DEFINE= DOCS OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL} .if ${PORT_OPTIONS:MMYSQL}
@ -41,17 +40,15 @@ post-patch:
.endfor .endfor
do-install: do-install:
@${MKDIR} ${WWWDIR} @${MKDIR} ${STAGEDIR}${WWWDIR}
${INSTALL_DATA} ${WRKSRC}/index.php ${WWWDIR} @${INSTALL_DATA} ${WRKSRC}/index.php ${STAGEDIR}${WWWDIR}
.for f in system user .for f in system user
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${WWWDIR}) @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${STAGEDIR}${WWWDIR})
.endfor .endfor
.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${DOCSDIR}
.for f in LICENSE NOTICE README.md doc/MIT.txt .for f in LICENSE NOTICE README.md doc/MIT.txt
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor .endfor
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual ${DOCSDIR}) @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} manual ${STAGEDIR}${DOCSDIR})
.endif
.include <bsd.port.mk> .include <bsd.port.mk>