svn commit: r344884 - in head: chinese/wordpress-zh_CN chinese/wordpress-zh_TW russian/wordpress
Martin Wilke
miwi at FreeBSD.org
Tue Feb 18 13:25:58 UTC 2014
Author: miwi
Date: Tue Feb 18 13:25:56 2014
New Revision: 344884
URL: http://svnweb.freebsd.org/changeset/ports/344884
QAT: https://qat.redports.org/buildarchive/r344884/
Log:
- Stage support
Modified:
head/chinese/wordpress-zh_CN/Makefile
head/chinese/wordpress-zh_TW/Makefile
head/russian/wordpress/Makefile
Modified: head/chinese/wordpress-zh_CN/Makefile
==============================================================================
--- head/chinese/wordpress-zh_CN/Makefile Tue Feb 18 13:11:07 2014 (r344883)
+++ head/chinese/wordpress-zh_CN/Makefile Tue Feb 18 13:25:56 2014 (r344884)
@@ -30,7 +30,6 @@ OPTIONS_DEFINE= DOCS
SUB_FILES+= pkg-message
SUB_LISTS+= WWWDIR=${WWWDIR}
-NO_STAGE= yes
pre-everything::
@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
@${ECHO_CMD} ""
@@ -48,21 +47,16 @@ pre-install:
.include <bsd.port.options.mk>
do-install:
- @${MKDIR} ${WWWDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+ @${MKDIR} ${STAGEDIR}${WWWDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
>> ${TMPPLIST}
- @${CHMOD} -R 755 ${WWWDIR}
+ @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >> ${TMPPLIST}
- ${CP} -R ${WRKSRC}/ ${WWWDIR}
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}
.endfor
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
Modified: head/chinese/wordpress-zh_TW/Makefile
==============================================================================
--- head/chinese/wordpress-zh_TW/Makefile Tue Feb 18 13:11:07 2014 (r344883)
+++ head/chinese/wordpress-zh_TW/Makefile Tue Feb 18 13:25:56 2014 (r344884)
@@ -30,7 +30,6 @@ OPTIONS_DEFINE= DOCS
SUB_FILES+= pkg-message
SUB_LISTS+= WWWDIR=${WWWDIR}
-NO_STAGE= yes
pre-everything::
@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
@${ECHO_CMD} ""
@@ -48,21 +47,16 @@ pre-install:
.include <bsd.port.options.mk>
do-install:
- @${MKDIR} ${WWWDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+ @${MKDIR} ${STAGEDIR}${WWWDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
>> ${TMPPLIST}
- @${CHMOD} -R 755 ${WWWDIR}
+ @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' >> ${TMPPLIST}
- ${CP} -R ${WRKSRC}/ ${WWWDIR}
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}
.endfor
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
Modified: head/russian/wordpress/Makefile
==============================================================================
--- head/russian/wordpress/Makefile Tue Feb 18 13:11:07 2014 (r344883)
+++ head/russian/wordpress/Makefile Tue Feb 18 13:25:56 2014 (r344884)
@@ -27,7 +27,6 @@ PORTDOCS= license.txt readme.html
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
pre-everything::
@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
@${ECHO_CMD} ""
@@ -43,15 +42,12 @@ pre-install:
.include <bsd.port.options.mk>
do-install:
- ${INSTALL} -d -g ${WWWGRP} -m 755 -o ${WWWOWN} ${WWWDIR}/
- ${CP} -R ${WRKSRC}/ ${WWWDIR}/
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
-.endif
+ ${INSTALL} -d -g ${WWWGRP} -m 755 -o ${WWWOWN} ${STAGEDIR}${WWWDIR}/
+ ${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
post-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list