1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Update to 1.0 (first stable release).

PR:		ports/104515
Submitted by:	Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw> (maintainer)
This commit is contained in:
Alejandro Pulver 2006-10-31 02:41:21 +00:00
parent f7cdb2aaaa
commit f80731d11f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175609
3 changed files with 35 additions and 32 deletions

View File

@ -6,13 +6,12 @@
#
PORTNAME= wordpress-mu
PORTVERSION= 1.5.1.3
PORTEPOCH= 1
PORTVERSION= 1.0
PORTEPOCH= 2
CATEGORIES= www
MASTER_SITES= http://ftp.twaren.net/local-distfiles/wpmu/ \
http://blogs.linux.ie/download/wpmu/ \
http://mu.wordpress.org/nightly-builds/
DISTNAME= wpmu-stable-${PORTVERSION:S/./_/g}
MASTER_SITES= http://blogs.linux.ie/download/wpmu/ \
http://ftp.twaren.net/local-distfiles/wpmu/
DISTNAME= wordpressmu-${PORTVERSION}
MAINTAINER= tjs@cdpa.nsysu.edu.tw
COMMENT= Multi-user version of the famous WordPress blogging application
@ -20,35 +19,40 @@ COMMENT= Multi-user version of the famous WordPress blogging application
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_PHP= mysql pcre xml
NO_BUILD= yes
WANT_PHP_WEB= yes
NO_BUILD= YES
WANT_PHP_WEB= YES
WORDPRESSMU?= www/data/wordpress-mu
PLIST_SUB+= WORDPRESSMU=${WORDPRESSMU}
PLIST= ${WRKDIR}/pkg-plist
PORTDOCS= license.txt readme.html
PORTDOCS= license.txt README.txt
do-install:
@${MKDIR} ${PREFIX}/${WORDPRESSMU}
@${CHOWN} www:www ${PREFIX}/${WORDPRESSMU}
@${CHMOD} 755 ${PREFIX}/${WORDPRESSMU}
@${CP} -R ${WRKSRC}/ ${PREFIX}/${WORDPRESSMU}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/wp-inst/${i} ${DOCSDIR}
.endfor
.endif
pre-everything::
@${ECHO_CMD} "If you want to upgrade, you must read upgrade document."
@${ECHO_CMD} ""
@sleep 1
pre-install:
cd ${WRKSRC} && ${FIND} -s * -type f | \
${SED} -e 's|^|${WORDPRESSMU}/|' > ${PLIST} \
&& ${FIND} -d * -type d | \
${SED} -e 's|^|@dirrm ${WORDPRESSMU}/|' >> ${PLIST} \
${SED} -e 's|^|@dirrm ${WORDPRESSMU}/|' >> ${PLIST} \
&& ${ECHO_CMD} @dirrm ${WORDPRESSMU} >> ${PLIST} \
&& ${ECHO_CMD} @dirrmtry www/data >> ${PLIST}
do-install:
@${MKDIR} ${PREFIX}/${WORDPRESSMU}
@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${WORDPRESSMU}
@${CHMOD} 755 ${PREFIX}/${WORDPRESSMU}
@${CP} -R ${WRKSRC}/ ${PREFIX}/${WORDPRESSMU}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
post-install:
${CAT} ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (wpmu-stable-1_5_1_3.tar.gz) = b06ea062f722abe67e557f7e5a7c3960
SHA256 (wpmu-stable-1_5_1_3.tar.gz) = 22af2a62573511d7e7241274ea6f13335c066c529efd410032e20fa94c640f53
SIZE (wpmu-stable-1_5_1_3.tar.gz) = 598643
MD5 (wordpressmu-1.0.tar.gz) = d682b6273de7cae6f7ede4f80ae8f64f
SHA256 (wordpressmu-1.0.tar.gz) = ae68a67b35ba0b820f8dd7eaadc25a36ab7a7c24fb964c0c9db888344470cd26
SIZE (wordpressmu-1.0.tar.gz) = 752871

View File

@ -1,7 +1,6 @@
@${ECHO_MSG}
@${ECHO_MSG} " **** NOTE ****"
@${ECHO_MSG} "Before the first use of WordPress-MU, copy wp-inst/wp-config-sample.php to wp-inst/wp-config.php"
@${ECHO_MSG} "in ${PREFIX}/${WORDPRESSMU}/wp-inst/"
@${ECHO_MSG} "And Modify it to fit your MySQL."
@${ECHO_MSG} "Maybe you need 'mysqladmin create wordpress' first"
@${ECHO_MSG}
**** NOTE ****
Before the first use of WordPress MU, copy wp-config-sample.php to wp-config.php
in ${PREFIX}/${WORDPRESSMU}
And Modify it to fit your MySQL.
Maybe you need 'mysqladmin create wordpressmu' first