svn commit: r403046 - head/chinese/wordpress-zh_CN
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Dec 5 09:42:32 UTC 2015
Author: amdmi3
Date: Sat Dec 5 09:42:30 2015
New Revision: 403046
URL: https://svnweb.freebsd.org/changeset/ports/403046
Log:
- Clarify LICENSE
- Add LICENSE_FILE
- Switch to options helpers
Modified:
head/chinese/wordpress-zh_CN/Makefile
Modified: head/chinese/wordpress-zh_CN/Makefile
==============================================================================
--- head/chinese/wordpress-zh_CN/Makefile Sat Dec 5 09:41:53 2015 (r403045)
+++ head/chinese/wordpress-zh_CN/Makefile Sat Dec 5 09:42:30 2015 (r403046)
@@ -11,7 +11,8 @@ PKGNAMESUFFIX= -zh_CN
MAINTAINER= ports at 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}/
More information about the svn-ports-all
mailing list