FreeBSD Bugzilla – Attachment 58974 Details for
Bug 88779
[NEW PORT] chinese/tatter-tools: Cute and easy blog Tool with Traditional-Chinese(zh_TW.UTF-8)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
tatter.shar
tatter.shar (text/plain), 4.19 KB, created by
chinsan
on 2005-11-10 07:00:30 UTC
(
hide
)
Description:
tatter.shar
Filename:
MIME Type:
Creator:
chinsan
Created:
2005-11-10 07:00:30 UTC
Size:
4.19 KB
patch
obsolete
># 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: ># ># tatter-tools/ ># tatter-tools/Makefile ># tatter-tools/distinfo ># tatter-tools/pkg-descr ># tatter-tools/pkg-message ># tatter-tools/pkg-plist ># >echo c - tatter-tools/ >mkdir -p tatter-tools/ > /dev/null 2>&1 >echo x - tatter-tools/Makefile >sed 's/^X//' >tatter-tools/Makefile << 'END-of-tatter-tools/Makefile' >X# New ports collection makefile for: zh-tatter-tools >X# Date created: 2005-11-10 >X# Whom: chinsan <chinsan.tw@gmail.com> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= tatter-tools >XPORTVERSION= 0.9.6 >XCATEGORIES= chinese www >XMASTER_SITES= ftp://bbs.ilc.edu.tw/chinsan/distfiles/ \ >X http://bbs.ilc.edu.tw/~chinsan/ports/tatter-tools/ \ >X ftp://news.giga.net.tw/chinsan/distfiles/ \ >X http://www.twtt.org/ttfile/ >XDISTNAME= ${PORTNAME}-${PORTVERSION}.zh_TW.UTF-8 >X >XMAINTAINER= chinsan.tw@gmail.com >XCOMMENT= Cute and easy blog Tool with Traditional-Chinese(zh_TW.UTF-8) >X >XUSE_PHP= mysql pcre session xml >XPHP4_PORT?= www/mod_php4 >XNO_BUILD= YES >XWANT_PHP_WEB= YES >X >XTMPDIR?= ${PORTNAME}-${PORTVERSION} >XWRKSRC= ${WRKDIR}/${TMPDIR} >X >X.if defined(WITH_MYSQL5) >XIGNORE= Please take a look at http://www.twtt.org/viewtopic.php?t=192&highlight=bsd for soultion >X.endif >X >X.if !defined(TT_URL) >Xpre-fetch: >X @${ECHO_MSG} "" >X @${ECHO_MSG} "Define TT_URL to override default of ${PREFIX}/${WWWDOCROOT}/'${TT_URL}'." >X @${ECHO_MSG} "" >X.endif >X >X# Get HOSTNAME >X.if exists(/sbin/sysctl) >XHOSTNAME!= /sbin/sysctl -n kern.hostname >X.else >XHOSTNAME!= /usr/sbin/sysctl -n kern.hostname >X.endif >X >XWWWDOCROOT?= www/data >XTT_URL?= tatter >XTT_DIR?= ${WWWDOCROOT}/${TT_URL} >XPLIST= ${WRKDIR}/pkg-plist >X >X.include <bsd.port.pre.mk> >X >Xpre-install: >X @cd ${WRKSRC} && ${FIND} -s . -type f | \ >X ${SED} -e 's|^./||;s|^|${TT_DIR}/|' > ${PLIST} \ >X && ${FIND} -d * -type d | \ >X ${SED} -e 's|^|@dirrm ${TT_DIR}/|' >> ${PLIST} \ >X && ${ECHO_CMD} @dirrm ${TT_DIR} >> ${PLIST} >X >Xdo-install: >X -${MKDIR} ${PREFIX}/${TT_DIR} >X @${CHMOD} 755 ${PREFIX}/${TT_DIR} >X @${CP} -R ${WRKSRC}/ ${PREFIX}/${TT_DIR} >X @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TT_DIR} >X @${CHMOD} 777 ${PREFIX}/${TT_DIR}/ >X >Xpost-install: >X @${SED} -e 's|%%HOSTNAME%%|${HOSTNAME}|; s|%%TT_URL%%|${TT_URL}|' \ >X ${PKGMESSAGE} >X >X.include <bsd.port.post.mk> >END-of-tatter-tools/Makefile >echo x - tatter-tools/distinfo >sed 's/^X//' >tatter-tools/distinfo << 'END-of-tatter-tools/distinfo' >XMD5 (tatter-tools-0.9.6.zh_TW.UTF-8.tar.gz) = 125b2b7a50ab22009bdec7651aa05ad7 >XSHA256 (tatter-tools-0.9.6.zh_TW.UTF-8.tar.gz) = bf4884472635d90512bdacf725b0b5b1f54766c1a3316dfccb76714720f110cd >XSIZE (tatter-tools-0.9.6.zh_TW.UTF-8.tar.gz) = 183120 >END-of-tatter-tools/distinfo >echo x - tatter-tools/pkg-descr >sed 's/^X//' >tatter-tools/pkg-descr << 'END-of-tatter-tools/pkg-descr' >XTatterTools is probably the most cute blog engine you can find. >XCheck out the features, not to mention third party plug-ins! >X >XWWW: http://www.twtt.org/ >END-of-tatter-tools/pkg-descr >echo x - tatter-tools/pkg-message >sed 's/^X//' >tatter-tools/pkg-message << 'END-of-tatter-tools/pkg-message' >X================================================================== >XTatter-Tools is now installed. If you intall it for the first time, >Xyou may have to follow this steps to make it work correctly. >X >X1. Create the MySQL database: >X >X # mysqladmin --user=root -p create tatter >X >X2. Create a mysql user/password for tatter(database): >X (change user and/or password if requered) >X >X # mysql -u root -p >X mysql> GRANT ALL ON tatter.* TO ttuser@localhost >X IDENTIFIED BY 'tt_password'; >X mysql> FLUSH PRIVILEGES; >X mysql> QUIT; >X >X3.Open Tatter-Tools installation page in your web browser >X and fill with ttuser/tt_password >X >X http://%%HOSTNAME%%/%%TT_URL%%/install.php >X >X Have fun! >X================================================================== >END-of-tatter-tools/pkg-message >echo x - tatter-tools/pkg-plist >sed 's/^X//' >tatter-tools/pkg-plist << 'END-of-tatter-tools/pkg-plist' >X@comment real PLIST will be generated in pre-install phase >END-of-tatter-tools/pkg-plist >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 88779
: 58974