ports/86357: Modify port: www/skytemplate
Mun-Kyo Seo &
munggo at pmy.lv
Tue Sep 20 04:50:11 UTC 2005
>Number: 86357
>Category: ports
>Synopsis: Modify 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: Tue Sep 20 04:50:10 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Mun-Kyo Seo &
>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:
SkyTemplate is a LGPL-ed fast template engine for PHP.
>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:
#
# Makefile
# distinfo
# pkg-descr
# pkg-message
# pkg-plist
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for: skytemplate
X# Date created: 20 Sep 2005
X# Whom: Mun-Kyo Seo <munggo at gmail.com>
X#
X# $FreeBSD$
X
XPORTNAME= skytemplate
XPORTVERSION= 1.4.0
XCATEGORIES= www
XMASTER_SITES= http://daddy.withsky.net/SkyTemplate/download/ \
X http://mirror.pmy.lv/SkyTemplate/download/
XDISTNAME= SkyTemplate.v140
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-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (SkyTemplate.v140.tar.gz) = e5ba29db4bd2f1940c280a244ca8d351
XSIZE (SkyTemplate.v140.tar.gz) = 22775
END-of-distinfo
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
XSkyTemplate is a LGPL-ed fast template engine for PHP.
X
XWWW: http://daddy.withsky.net/SkyTemplate/
END-of-pkg-descr
echo x - pkg-message
sed 's/^X//' >pkg-message << 'END-of-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-pkg-message
echo x - pkg-plist
sed 's/^X//' >pkg-plist << 'END-of-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%%/SkyTpl/setup.ini.SafeMode.php
X%%DATADIR%%/class.SkyTemplate.php
X%%DATADIR%%/class.SkyTemplate_withDaddy.php
X at dirrm %%DATADIR%%/SkyTpl
X at dirrm %%DATADIR%%
END-of-pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list