mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
- Clarify LICENSE
- Add LICENSE_FILE - Switch to options helpers
This commit is contained in:
parent
aa17a3d400
commit
bbe27aa148
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403046
@ -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}/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user