ports/84224: New port: www/skytemplate

User & munggo at pmy.lv
Thu Jul 28 13:30:05 UTC 2005


>Number:         84224
>Category:       ports
>Synopsis:       New port: www/skytemplate
>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:   Thu Jul 28 13:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     User &
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
MungGo
>Environment:
System: FreeBSD pmy.pmy.lv 5.4-STABLE FreeBSD 5.4-STABLE #1: Wed Jul 27 03:57:49 KST 2005 root at pmy.pmy.lv:/usr/obj/usr/src/sys/SMP i386


	
>Description:
	Yet another PHP compiling template engine
>How-To-Repeat:
	
>Fix:


# 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:
#
#	skytemplate
#	skytemplate/pkg-message
#	skytemplate/pkg-descr
#	skytemplate/Makefile
#	skytemplate/distinfo
#	skytemplate/pkg-plist
#
echo c - skytemplate
mkdir -p skytemplate > /dev/null 2>&1
echo x - skytemplate/pkg-message
sed 's/^X//' >skytemplate/pkg-message << 'END-of-skytemplate/pkg-message'
X****************************************************************
X
XTo use SkyTemplate you have to add the correct include path into
Xyour ${LOCALBASE}/etc/php.ini configuration file, like:
X
Xinclude_path = ".:${PREFIX}/share/skytemplate"
X
X****************************************************************
END-of-skytemplate/pkg-message
echo x - skytemplate/pkg-descr
sed 's/^X//' >skytemplate/pkg-descr << 'END-of-skytemplate/pkg-descr'
XSkyTemplate is a LGPL-ed fast template engine for PHP.
X
XWWW: http://daddy.withsky.net/SkyTemplate/
END-of-skytemplate/pkg-descr
echo x - skytemplate/Makefile
sed 's/^X//' >skytemplate/Makefile << 'END-of-skytemplate/Makefile'
X# New ports collection makefile for:	skytemplate
X# Date created:		28 Jul 2005
X# Whom:			Mun-Kyo Seo <munggo at gmail.com>
X#
X# $FreeBSD$
X
XPORTNAME=	skytemplate
XPORTVERSION=	1.3.1
XCATEGORIES=	www
XMASTER_SITES=	http://daddy.withsky.net/SkyTemplate/download/ \
X		http://mirror.pmy.lv/SkyTemplate/download/
XDISTNAME=	SkyTemplate.v131
X
XMAINTAINER=	munggo at gmail.com
XCOMMENT=	Yet another PHP compiling template engine
X
XWRKSRC=		${WRKDIR}/${DISTNAME}
X
XUSE_PHP=	yes
XWANT_PHP_WEB=	yes
XNO_WRKSUBDIR=	yes
XNO_BUILD=	yes
X
Xdo-install:
X	${MKDIR} ${DATADIR}
X.for f in class.SkyTemplate.php class.SkyTemplate_withDaddy.php
X	${INSTALL_DATA} ${WRKSRC}/$f ${DATADIR}
X	${MKDIR} ${DATADIR}/SkyTpl
X	${INSTALL_DATA} ${WRKSRC}/SkyTpl/* ${DATADIR}/SkyTpl
X.endfor
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-skytemplate/Makefile
echo x - skytemplate/distinfo
sed 's/^X//' >skytemplate/distinfo << 'END-of-skytemplate/distinfo'
XMD5 (SkyTemplate.v131.tar.gz) = 0c9b9fc92ac5ef6f1c9fcc2046864579
XSIZE (SkyTemplate.v130p2.tgz) = 21470
END-of-skytemplate/distinfo
echo x - skytemplate/pkg-plist
sed 's/^X//' >skytemplate/pkg-plist << 'END-of-skytemplate/pkg-plist'
X%%DATADIR%%/SkyTpl/batch.TplCompiler.php
X%%DATADIR%%/SkyTpl/class.DefaultCacheHandler.php
X%%DATADIR%%/SkyTpl/plugin.post.PathRewrite.php
X%%DATADIR%%/SkyTpl/plugin.pre.BearTemplateSyntax.php
X%%DATADIR%%/SkyTpl/plugin.pre.TagComment.php
X%%DATADIR%%/SkyTpl/setup.ini.Master.php
X%%DATADIR%%/class.SkyTemplate.php
X%%DATADIR%%/class.SkyTemplate_withDaddy.php
X at dirrm %%DATADIR%%/SkyTpl
X at dirrm %%DATADIR%%
END-of-skytemplate/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list