diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-02-25 07:42:44 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-02-25 07:42:44 +0000 |
commit | 16ea9b4265e2750bc992b23fb24bc845e64e8553 (patch) | |
tree | ca08794738722e4b6d4477ce01e121d391622cfb /www/wordpress/Makefile | |
parent | aabc15cb81c03cea7d229aab6f9b8095c6359650 (diff) | |
download | ports-16ea9b4265e2750bc992b23fb24bc845e64e8553.tar.gz ports-16ea9b4265e2750bc992b23fb24bc845e64e8553.zip |
- update wordpress-mu to 2005.02.23
- install files in www/data instead of www/data-dist
- some minor cosmetic fixes
PR: 78039
Submitted by: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
Notes
Notes:
svn path=/head/; revision=129729
Diffstat (limited to 'www/wordpress/Makefile')
-rw-r--r-- | www/wordpress/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/www/wordpress/Makefile b/www/wordpress/Makefile index 2b3c2d31ea8b..3bb03e1f518f 100644 --- a/www/wordpress/Makefile +++ b/www/wordpress/Makefile @@ -20,13 +20,11 @@ USE_PHP= mysql pcre xml PHP4_PORT?= www/mod_php4 NO_BUILD= YES WANT_PHP_WEB= YES -WORDPRESS?= www/data-dist/wordpress +WORDPRESS?= www/data/wordpress PLIST_SUB+= WORDPRESS=${WORDPRESS} PLIST= ${WRKDIR}/pkg-plist -.if !defined(NOPORTDOCS) PORTDOCS= license.txt readme.html -.endif pre-install: cd ${WRKSRC} && ${FIND} -s * -type f | \ @@ -36,14 +34,14 @@ pre-install: && ${ECHO_CMD} @dirrm ${WORDPRESS} >> ${PLIST} do-install: - -${MKDIR} ${PREFIX}/${WORDPRESS} - @${CHOWN} www:www ${PREFIX}/${WORDPRESS} + -@${MKDIR} ${PREFIX}/${WORDPRESS} + @${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${WORDPRESS} @${CHMOD} 755 ${PREFIX}/${WORDPRESS} - @${CP} -R ${WRKSRC}/ ${PREFIX}/${WORDPRESS} + ${CP} -R ${WRKSRC}/ ${PREFIX}/${WORDPRESS} .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + @${MKDIR} ${DOCSDIR} .for i in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i} .endfor .endif |