1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stage support

PR:		190151
This commit is contained in:
Martin Wilke 2014-06-05 06:18:01 +00:00
parent 6ef7865cdf
commit 5cd9988e83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356592

View File

@ -24,7 +24,6 @@ OPTIONS_SINGLE= DATASTORE
OPTIONS_SINGLE_DATASTORE= MYSQL PGSQL OPTIONS_SINGLE_DATASTORE= MYSQL PGSQL
OPTIONS_DEFAULT= MYSQL OPTIONS_DEFAULT= MYSQL
NO_STAGE= yes
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL} .if ${PORT_OPTIONS:MMYSQL}
@ -39,7 +38,7 @@ PLIST_FILES+= ${EXAMPLESDIR_REL}/pgsql.schema
PLIST_DIRS+= ${EXAMPLESDIR_REL} PLIST_DIRS+= ${EXAMPLESDIR_REL}
.endif .endif
LIB_DEPENDS+= c-client4:${PORTSDIR}/mail/cclient LIB_DEPENDS+= libc-client4.so:${PORTSDIR}/mail/cclient
pre-install: pre-install:
@${ECHO_MSG} "" @${ECHO_MSG} ""
@ -48,20 +47,20 @@ pre-install:
@${ECHO_MSG} "" @${ECHO_MSG} ""
do-install: do-install:
@${MKDIR} ${WWWDIR} @${MKDIR} ${STAGEDIR}${WWWDIR}
${TAR} --exclude '*~' -C ${WRKSRC}/${PORTNAME} -cf - . | ${TAR} -C ${WWWDIR} -xf - ${TAR} --exclude '*~' -C ${WRKSRC}/${PORTNAME} -cf - . | ${TAR} -C ${STAGEDIR}${WWWDIR} -xf -
@${CHOWN} -R www:www ${WWWDIR} @${CHOWN} -R www:www ${STAGEDIR}${WWWDIR}
.if ${PORT_OPTIONS:MDOCS} .if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs.html ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs.html ${STAGEDIR}${DOCSDIR}
.endif .endif
.if ${PORT_OPTIONS:MMYSQL} .if ${PORT_OPTIONS:MMYSQL}
@${MKDIR} ${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/mysql4.schema ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/mysql4.schema ${STAGEDIR}${EXAMPLESDIR}
.endif .endif
.if ${PORT_OPTIONS:MPGSQL} .if ${PORT_OPTIONS:MPGSQL}
@${MKDIR} ${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/pgsql.schema ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/pgsql.schema ${STAGEDIR}${EXAMPLESDIR}
.endif .endif
post-install: post-install: