aboutsummaryrefslogtreecommitdiffstats
path: root/russian
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 /russian
parentffa45596ac29083e145dc52a0a8049954c6a66bf (diff)
downloadfreebsd-ports-graphics-bc087c81fb81c5b69f3f8e7b94fa18cd81a04e38.tar.gz
freebsd-ports-graphics-bc087c81fb81c5b69f3f8e7b94fa18cd81a04e38.tar.zst
freebsd-ports-graphics-bc087c81fb81c5b69f3f8e7b94fa18cd81a04e38.zip
- Stage support
Diffstat (limited to 'russian')
-rw-r--r--russian/wordpress/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/russian/wordpress/Makefile b/russian/wordpress/Makefile
index 7ae799a7448..aed6a467e38 100644
--- a/russian/wordpress/Makefile
+++ b/russian/wordpress/Makefile
@@ -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>