diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-05 17:42:30 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-05 17:42:30 +0800 |
commit | 5216ab8b7bbeb5bd8f332bb485ef8bffc34d9f7a (patch) | |
tree | 7a127baff68d54c35d6f5adbf42666f13fda449d /chinese | |
parent | 16f640f3e1641a5af9bde1d8f1cd94fb277d5569 (diff) | |
download | freebsd-ports-gnome-5216ab8b7bbeb5bd8f332bb485ef8bffc34d9f7a.tar.gz freebsd-ports-gnome-5216ab8b7bbeb5bd8f332bb485ef8bffc34d9f7a.tar.zst freebsd-ports-gnome-5216ab8b7bbeb5bd8f332bb485ef8bffc34d9f7a.zip |
- Clarify LICENSE
- Add LICENSE_FILE
- Switch to options helpers
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/wordpress-zh_CN/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chinese/wordpress-zh_CN/Makefile b/chinese/wordpress-zh_CN/Makefile index 9369dad62a1b..04d16096b25c 100644 --- a/chinese/wordpress-zh_CN/Makefile +++ b/chinese/wordpress-zh_CN/Makefile @@ -11,7 +11,8 @@ PKGNAMESUFFIX= -zh_CN 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}/ |