aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-18 13:25:56 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-18 13:25:56 +0000
commit642e1edab4be301cd718fb57cfa080bc623ee910 (patch)
tree2e63ee60677b68759fc0dc5133cf56b2500c97c9 /chinese
parentd3744436b852e5e02ad29add2c60fd63c4698466 (diff)
downloadports-642e1edab4be301cd718fb57cfa080bc623ee910.tar.gz
ports-642e1edab4be301cd718fb57cfa080bc623ee910.zip
Notes
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>