summaryrefslogtreecommitdiff
path: root/chinese/wordpress-zh_TW/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-05 09:42:34 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-05 09:42:34 +0000
commit0a451dcb6442bd63e571f07f16ef20147dad65a5 (patch)
treedef4a3cbccf0564fbf520732cae04ec71d104f8d /chinese/wordpress-zh_TW/Makefile
parent- Clarify LICENSE (diff)
- Clarify LICENSE
- Add LICENSE_FILE - Switch to options helpers
Notes
Notes: svn path=/head/; revision=403047
Diffstat (limited to 'chinese/wordpress-zh_TW/Makefile')
-rw-r--r--chinese/wordpress-zh_TW/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/chinese/wordpress-zh_TW/Makefile b/chinese/wordpress-zh_TW/Makefile
index e3fb3df56e1a..bd57261fa028 100644
--- a/chinese/wordpress-zh_TW/Makefile
+++ b/chinese/wordpress-zh_TW/Makefile
@@ -11,7 +11,8 @@ PKGNAMESUFFIX= -zh_TW
MAINTAINER= ports@FreeBSD.org
COMMENT= State-of-the-art semantic personal publishing platform
-LICENSE= GPLv2
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/license.txt
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -44,9 +45,11 @@ pre-install:
${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi
do-install:
- ${INSTALL} -d -m 755 ${STAGEDIR}${WWWDIR}/
+ ${MKDIR} ${STAGEDIR}${WWWDIR}/
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}/
${FIND} ${STAGEDIR}${WWWDIR}/ -type d -exec ${CHMOD} g+w '{}' \;
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/