aboutsummaryrefslogtreecommitdiff
path: root/www/wordpress
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-02-25 07:42:44 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-02-25 07:42:44 +0000
commit16ea9b4265e2750bc992b23fb24bc845e64e8553 (patch)
treeca08794738722e4b6d4477ce01e121d391622cfb /www/wordpress
parentaabc15cb81c03cea7d229aab6f9b8095c6359650 (diff)
downloadports-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')
-rw-r--r--www/wordpress/Makefile14
-rw-r--r--www/wordpress/pkg-plist1
2 files changed, 6 insertions, 9 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
diff --git a/www/wordpress/pkg-plist b/www/wordpress/pkg-plist
deleted file mode 100644
index d0ac09258d04..000000000000
--- a/www/wordpress/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-@comment real PLIST will be generated in pre-install phase