# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # wordpress # wordpress/Makefile # wordpress/distinfo # wordpress/pkg-descr # wordpress/pkg-message # echo c - wordpress mkdir -p wordpress > /dev/null 2>&1 echo x - wordpress/Makefile sed 's/^X//' >wordpress/Makefile << '79d7728d3a21a0916568322ec2cffe1d' X# New ports collection makefile for: wordpress X# Date created: 2011-12-27 X# Whom: Mihail Timofeev <9267096@gmail.com> X# (based on wordpress by Elvis Chiang) X# X# $FreeBSD$ X# X XPORTNAME= wordpress XPORTVERSION= 3.3 XCATEGORIES= russian www XMASTER_SITES= http://ru.wordpress.org/ XPKGNAMESUFFIX= -ru XDISTNAME= ${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}_RU X XMAINTAINER= 9267096@gmail.com XCOMMENT= A state-of-the-art semantic personal publishing platform X XLICENSE= GPLv2 XLICENSE_FILE= ${WRKSRC}/license.txt X XCONFLICTS_INSTALL= wordpress-3.* ja-wordpress-ja-3.* de-wordpress-de-3.* X XNO_BUILD= yes XUSE_PHP= gd mysql pcre tokenizer xml XWANT_PHP_WEB= yes XWRKSRC= ${WRKDIR}/${PORTNAME} X XPLIST= ${WRKDIR}/pkg-plist XPORTDOCS= license.txt readme.html X Xpre-everything:: X @${ECHO_CMD} "If you want to upgrade, you must read upgrade document." X @${ECHO_CMD} "" X @sleep 2 X Xpre-install: X cd ${WRKSRC}/ && \ X (${FIND} -s * -type f | ${SED} -e 's|^|%%WWWDIR%%/|'; \ X ${FIND} -d . -type d | ${SED} -e 's|^\.|@dirrm %%WWWDIR%%|') > ${PLIST} X if [ ! -f ${WRKSRC}/wp-config-sample.php ]; then ${CP} \ X ${WRKSRC}/wp-config.php.sample ${WRKSRC}/wp-config.php; fi X Xdo-install: X ${INSTALL} -d -g ${WWWGRP} -m 755 -o ${WWWOWN} ${WWWDIR}/ X ${CP} -R ${WRKSRC}/ ${WWWDIR}/ X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR}/ X cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ X.endif X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include 79d7728d3a21a0916568322ec2cffe1d echo x - wordpress/distinfo sed 's/^X//' >wordpress/distinfo << '4f0fddb3832f430049a5831a63178094' XSHA256 (wordpress-3.3-ru_RU.tar.gz) = 5f73e6697e7bfd640215d9b2f9c6fa6013f5476b3da38a0f9570baa9b63fef67 XSIZE (wordpress-3.3-ru_RU.tar.gz) = 4323874 4f0fddb3832f430049a5831a63178094 echo x - wordpress/pkg-descr sed 's/^X//' >wordpress/pkg-descr << '9f80cc220f90140be29ad9c2670b4402' XWordPress is a state-of-the-art semantic personal publishing platform Xwith a focus on aesthetics, web standards, and usability. X XMore simply, Wordpress is what you use when you want to work Xwith your blogging software, not fight it. X XWWW: http://ru.wordpress.org/ 9f80cc220f90140be29ad9c2670b4402 echo x - wordpress/pkg-message sed 's/^X//' >wordpress/pkg-message << 'b9bace0ea65324a42cfef33be6ae315f' X **** NOTE **** XBefore the first use of WordPress, copy wp-config-sample.php to wp-config.php Xin ${WWWDIR} and modify it to fit your MySQL. XMaybe you need 'mysqladmin create wordpress' first. XIf you are upgrading from 1.x or 2.x to 3.x, please run Xhttp://your.site/wordpress/wp-admin/upgrade.php to upgrade to WordPress 3.x b9bace0ea65324a42cfef33be6ae315f exit