Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2004 16:18:00 +0800 (CST)
From:      Cheng-Lung Sung <clsung@tw.freebsd.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73190: [NEW PORT] www/plog: A PHP and MySQL based blogging platform
Message-ID:  <20041027081800.7DE82106CC8@FreeBSD.csie.NCTU.edu.tw>
Resent-Message-ID: <200410270820.i9R8KSNb019283@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73190
>Category:       ports
>Synopsis:       [NEW PORT] www/plog: A PHP and MySQL based blogging 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:   Wed Oct 27 08:20:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Cheng-Lung Sung
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD FreeBSD.csie.NCTU.edu.tw 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat May 29 08:18:00 CST 2004
>Description:
pLog is a PHP and MySQL based blogging platform and its main goals 
are flexibility and extendibility. It uses a powerful template system
based on the Smarty template engine to render the templates, whick 
makes the platform highly customizable and safer to let other people 
customize the templates, since the presentation code is isolated from
the PHP code.

WWW:	http://www.plogworld.org/

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- plog-0.3.2.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:
#
#	plog
#	plog/Makefile
#	plog/distinfo
#	plog/pkg-descr
#	plog/pkg-plist
#	plog/pkg-message
#
echo c - plog
mkdir -p plog > /dev/null 2>&1
echo x - plog/Makefile
sed 's/^X//' >plog/Makefile << 'END-of-plog/Makefile'
X# New ports collection makefile for:	plog
X# Date created:				2004-10-27
X# Whom:					clsung
X#
X# $FreeBSD$
X#
X
XPORTNAME=	plog
XPORTVERSION=	0.3.2
XCATEGORIES=	www
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	plog
X
XMAINTAINER=	clsung@FreeBSD.org
XCOMMENT=	A PHP and MySQL based blogging platform
X
XUSE_BZIP2=	YES
X
XUSE_PHP=	mysql
XPHP4_PORT?=	www/mod_php4
XNO_BUILD=	YES
XWANT_PHP_WEB=	YES
XPLOGDIR?=	www/data-dist/plog
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(WITH_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(WITH_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	@${RM} ${WRKSRC}/.cvsignore
X	cd ${WRKSRC} && ${FIND} -s . -type f | \
X		${SED} -e 's|^./||;s|^|${PLOGDIR}/|' > ${PLIST} \
X		&& ${FIND} -d * -type d | \
X		${SED} -e 's|^|@dirrm ${PLOGDIR}/|' >> ${PLIST} \
X		&& ${ECHO_CMD} @dirrm ${PLOGDIR} >> ${PLIST}
X
Xdo-install:
X	-${MKDIR} ${PREFIX}/${PLOGDIR}
X	@${CHOWN} www:www ${PREFIX}/${PLOGDIR}
X	@${CHMOD} 755 ${PREFIX}/${PLOGDIR}
X	@${CP} -R ${WRKSRC}/ ${PREFIX}/${PLOGDIR}
X
Xpost-install:
X	@${SED} -e 's|%%PLOGDIR%%|${PREFIX}/${PLOGDIR}|' ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-plog/Makefile
echo x - plog/distinfo
sed 's/^X//' >plog/distinfo << 'END-of-plog/distinfo'
XMD5 (plog-0.3.2.tar.bz2) = 1c6bb120930306646af92ddc0f0b557f
XSIZE (plog-0.3.2.tar.bz2) = 1003647
END-of-plog/distinfo
echo x - plog/pkg-descr
sed 's/^X//' >plog/pkg-descr << 'END-of-plog/pkg-descr'
XpLog is a PHP and MySQL based blogging platform and its main goals 
Xare flexibility and extendibility. It uses a powerful template system
Xbased on the Smarty template engine to render the templates, whick 
Xmakes the platform highly customizable and safer to let other people 
Xcustomize the templates, since the presentation code is isolated from
Xthe PHP code.
X
XWWW:	http://www.plogworld.org/
END-of-plog/pkg-descr
echo x - plog/pkg-plist
sed 's/^X//' >plog/pkg-plist << 'END-of-plog/pkg-plist'
X@comment real PLIST will be generated in pre-install phase
END-of-plog/pkg-plist
echo x - plog/pkg-message
sed 's/^X//' >plog/pkg-message << 'END-of-plog/pkg-message'
X
X          **** NOTE ****
XFor first use of pLog, remember to point your browser to
X
Xhttp://your.plog.host/wizard.php
X
XMaybe you should prepare a empty database first.
END-of-plog/pkg-message
exit
--- plog-0.3.2.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?20041027081800.7DE82106CC8>