Date: Sat, 16 Apr 2005 15:46:25 +0800 (CST) From: chinsan <chinsan@mail2000.com.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/79995: [NEW PORT] www/bblog: A elegant personal publishing system with Smarty Message-ID: <200504160746.j3G7kPBA080355@chinsan.twbbs.org> Resent-Message-ID: <200504160750.j3G7oIPQ054644@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 79995 >Category: ports >Synopsis: [NEW PORT] www/bblog: A elegant personal publishing system with Smarty >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 Apr 16 07:50:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: chinsan <chinsan@mail2000.com.tw> >Release: FreeBSD 5.3-RELEASE i386 >Organization: >Environment: System: FreeBSD chinsan.twbbs.org 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: bBlog is a blogging program written in OOP style PHP. Major features include threaded comments and trackback support. It is designed from the ground up to use the Smarty templating engine. It has unparalleled extendability and versility. Perhaps bBlog's most distinctive feature is that it is built around a templating system called Smarty, which makes customizing your blog as easy as editing any web page, no programming skills required. WWW: http://www.bblog.com/ >How-To-Repeat: >Fix: --- bblog.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: # # . # ./Makefile # ./distinfo # ./pkg-descr # ./pkg-message # ./pkg-plist # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: bBlog X# Date created: 2005-04-16 X# Whom: chinsan@mail2000.com.tw X# X# $FreeBSD$ X# X XPORTNAME= bBlog XPORTVERSION= 0.7.4 XCATEGORIES= www XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= bblog XDISTNAME= ${PORTNAME}-${PORTVERSION} X XMAINTAINER= ports@FreeBSD.org XCOMMENT= A elegant personal publishing system with Smarty X XUSE_PHP= mysql pcre session XPHP4_PORT?= www/mod_php4 XNO_BUILD= YES XWANT_PHP_WEB= YES X XTMPDIR?= blog XWRKSRC= ${WRKDIR}/${TMPDIR} XWWWDOCROOT?= www/data-dist XBBLOGURL?= bblog XWWWOWN?= www XWWWGRP?= www XBBLOGDIR?= ${WWWDOCROOT}/${BBLOGURL} XPLIST= ${WRKDIR}/pkg-plist X XOPTIONS= GD "With GD Support" on \ X IMAGICK "With ImageMagick Support" off X X.include <bsd.port.pre.mk> X X.if !defined(WITHOUT_GD) XRUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/gd.so:${PORTSDIR}/${gd_DEPENDS} X.endif X X.if defined(WITH_IMAGICK) XRUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:${PORTSDIR}/${imagick_DEPENDS} X.endif X X.if defined(WITHOUT_GD) && !defined(WITH_IMAGICK) Xpre-patch: X @${ECHO_CMD} "Without GD or ImageMagick support. No thumbnails will be generated at all." X.endif X Xpre-install: X cd ${WRKSRC}/${BBLOGURL} && ${FIND} -s . -type f | \ X ${SED} -e 's|^./||;s|^|${BBLOGDIR}/|' > ${PLIST} \ X && ${FIND} -d * -type d | \ X ${SED} -e 's|^|@dirrm ${BBLOGDIR}/|' >> ${PLIST} \ X && ${ECHO_CMD} @dirrm ${BBLOGDIR} >> ${PLIST} X Xdo-install: X -${MKDIR} ${PREFIX}/${BBLOGDIR} X @${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${BBLOGDIR} X @${CHMOD} 755 ${PREFIX}/${BBLOGDIR} X @${CP} -R ${WRKSRC}/${BBLOGURL}/ ${PREFIX}/${BBLOGDIR} X @${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/install.php X @${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/compiled_templates/ X @${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/cache/ X @${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/cache/favorites.xml X @${CHMOD} 775 ${PREFIX}/${BBLOGDIR}/config.php X Xpost-install: X @${SED} -e 's|%%BBLOGURL%%|${BBLOGURL}|' ${PKGMESSAGE} X X.include <bsd.port.post.mk> END-of-./Makefile echo x - ./distinfo sed 's/^X//' >./distinfo << 'END-of-./distinfo' XMD5 (bBlog-0.7.4.tar.gz) = a8170b28c1ef7d2e8b85cc656009ea49 XSIZE (bBlog-0.7.4.tar.gz) = 306347 END-of-./distinfo echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' XbBlog is a blogging program written in OOP style PHP. Major features include Xthreaded comments and trackback support. It is designed from the ground up Xto use the Smarty templating engine. It has unparalleled extendability and Xversility. X XPerhaps bBlog's most distinctive feature is that it is built around a Xtemplating system called Smarty, which makes customizing your blog as easy Xas editing any web page, no programming skills required. X XWWW: http://www.bblog.com/ END-of-./pkg-descr echo x - ./pkg-message sed 's/^X//' >./pkg-message << 'END-of-./pkg-message' X **** NOTE **** X XFor first use of bBLog, remember to point your browser to X Xhttp://localhost/%%BBLOGURL%%/install.php X XAt the end of the install when the config file is written to disk, you Xshould change the permissions back to 755 so it is not writable by the Xwebserver. X END-of-./pkg-message echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' X@comment real PLIST will be generated in pre-install phase END-of-./pkg-plist exit --- bblog.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?200504160746.j3G7kPBA080355>