Date: Sat, 12 May 2007 07:22:24 +0000 (UTC) From: liu_yinghong@yahoo.com.cn To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/112609: New port: chinese/wordpress A state-of-the-art semantic personal publishing platform Message-ID: <20070512072224.EC2DE13C448@mx1.freebsd.org> Resent-Message-ID: <200705120730.l4C7U5Jj083276@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 112609 >Category: ports >Synopsis: New port: chinese/wordpress A state-of-the-art semantic personal publishing platform >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 12 07:30:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Yinghong.Liu >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD relaxbsd.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu May 10 21:42:19 CST 2007 hamigua@relaxbsd.org:/usr/src/sys/i386/compile/LYH i386 >Description: WordPress is a state-of-the-art semantic personal publishing platform with a focus on aesthetics, web standards, and usability. More simply, Wordpress is what you use when you want to work with your blogging software, not fight it. http://sourceforge.net/projects/wordpress-zh/ >How-To-Repeat: >Fix: --- wordpress.shar begins here --- # 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 << 'END-of-wordpress/Makefile' X# New ports collection makefile for: wordpress X# Date created: 2007-05-11 X# Whom: Yinghong.Liu <liu_yinghong@yahoo.com.cn> X# X# $FreeBSD$ X# X XPORTNAME= wordpress XPORTVERSION= 2.1.3 XCATEGORIES= chinese www XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME}-zh XPKGNAMEPREFIX= zh- XDISTNAME= ${PORTNAME}_${PORTVERSION}_zh_CN X XMAINTAINER= liu_yinghong@yahoo.com.cn XCOMMENT= A state-of-the-art semantic personal publishing platform X XWRKSRC= ${WRKDIR}/${PORTNAME} X XUSE_ZIP= YES XUSE_PHP= mysql pcre xml XNO_BUILD= YES XWANT_PHP_WEB= YES XWORDPRESS?= www/wordpress XPLIST_SUB+= WORDPRESS=${WORDPRESS} XPLIST= ${WRKDIR}/pkg-plist XPKGMESSAGE= ${WRKDIR}/pkg-message X 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 1 X Xpre-install: X cd ${WRKSRC} && ${FIND} -s * -type f | \ X ${SED} -e 's|^|${WORDPRESS}/|' > ${PLIST} \ X && ${FIND} -d * -type d | \ X ${SED} -e 's|^|@dirrm ${WORDPRESS}/|' >> ${PLIST} \ X && ${ECHO_CMD} @dirrm ${WORDPRESS} >> ${PLIST} X if [ ! -f ${WRKSRC}/wp-config.php ]; then ${CP} \ X ${WRKSRC}/wp-config-sample.php ${WRKSRC}/wp-config.php; fi X Xdo-install: X @${MKDIR} ${PREFIX}/${WORDPRESS} X @${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${WORDPRESS} X @${CHMOD} 755 ${PREFIX}/${WORDPRESS} X ${CP} -R ${WRKSRC}/ ${PREFIX}/${WORDPRESS} X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for i in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i} X.endfor X.endif X @${SED} "s|%%WORDPRESSDIR%%|${PREFIX}/${WORDPRESS}|g" \ X ${.CURDIR}/pkg-message > ${PKGMESSAGE} X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-wordpress/Makefile echo x - wordpress/distinfo sed 's/^X//' >wordpress/distinfo << 'END-of-wordpress/distinfo' XMD5 (wordpress_2.1.3_zh_CN.zip) = dc62b28fff78ae09428a4d0f162f331e XSHA256 (wordpress_2.1.3_zh_CN.zip) = 116a856e122452087c9f06743b0b075616d2d704c7b1b7f128b466361cb97130 XSIZE (wordpress_2.1.3_zh_CN.zip) = 983369 END-of-wordpress/distinfo echo x - wordpress/pkg-descr sed 's/^X//' >wordpress/pkg-descr << 'END-of-wordpress/pkg-descr' 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://sourceforge.net/projects/wordpress-zh/ END-of-wordpress/pkg-descr echo x - wordpress/pkg-message sed 's/^X//' >wordpress/pkg-message << 'END-of-wordpress/pkg-message' X X ********************************** NOTE ********************************** X X Before the first use of WordPress, modify %%WORDPRESSDIR%%/wp-config.php X to fit your MySQL. Maybe you need 'mysqladmin create wordpress' first X X If you are upgrading from 1.x or 2.0 to 2.1, please run X http://your.site/wordpress/wp-admin/upgrade.php to upgrade to WordPress 2.1 X X ************************************************************************** END-of-wordpress/pkg-message exit --- wordpress.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070512072224.EC2DE13C448>