aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-18 21:25:56 +0800
committermiwi <miwi@FreeBSD.org>2014-02-18 21:25:56 +0800
commitbc087c81fb81c5b69f3f8e7b94fa18cd81a04e38 (patch)
tree2e63ee60677b68759fc0dc5133cf56b2500c97c9 /chinese
parentffa45596ac29083e145dc52a0a8049954c6a66bf (diff)
downloadfreebsd-ports-gnome-bc087c81fb81c5b69f3f8e7b94fa18cd81a04e38.tar.gz
freebsd-ports-gnome-bc087c81fb81c5b69f3f8e7b94fa18cd81a04e38.tar.zst
freebsd-ports-gnome-bc087c81fb81c5b69f3f8e7b94fa18cd81a04e38.zip
- Stage support
Diffstat (limited to 'chinese')
-rw-r--r--chinese/wordpress-zh_CN/Makefile18
-rw-r--r--chinese/wordpress-zh_TW/Makefile18
2 files changed, 12 insertions, 24 deletions
diff --git a/chinese/wordpress-zh_CN/Makefile b/chinese/wordpress-zh_CN/Makefile
index dfd8466ed6e9..a5378bd136f1 100644
--- a/chinese/wordpress-zh_CN/Makefile
+++ b/chinese/wordpress-zh_CN/Makefile
@@ -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>
diff --git a/chinese/wordpress-zh_TW/Makefile b/chinese/wordpress-zh_TW/Makefile
index ec26c625960f..cfdad277935f 100644
--- a/chinese/wordpress-zh_TW/Makefile
+++ b/chinese/wordpress-zh_TW/Makefile
@@ -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>