ports/90948: New port: www/template_

munggo & munggo at pmy.lv
Tue Dec 27 03:10:14 UTC 2005


>Number:         90948
>Category:       ports
>Synopsis:       New port: www/template_
>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 Dec 27 03:10:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Mun-Kyo Seo & <munggo at pmy.lv>
>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:
	Template_ is a LGPL-ed high performance and 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:    template_
X# Date created:         27 Dec 2005
X# Whom:                 Mun-Kyo Seo <munggo at pmy.lv>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	template_
XPORTVERSION=	2.2.3
XCATEGORIES=	www
XMASTER_SITES=	http://pmy.lv/mirror/Template_/ \
X		http://www.xtac.net/download/?file=
XDISTNAME=	Template_.2.2.3
X
XMAINTANIER=	munggo at pmy.lv
XCOMMENT=	High performance PHP compiling template engine
X
XWRKSRC=		${WRKDIR}
X
XUSE_PHP=	yes
XWANT_PHP_WEB=	yes
XNO_WRKSUBDIR=	yes
XNO_BUILD=	yes
X
Xdo-install:
X	${MKDIR} ${DATADIR}
X.for f in Template_.class.php Template_.compiler.php
X	${INSTALL_DATA} ${WRKSRC}/$f ${DATADIR}
X	${MKDIR} ${DATADIR}/tpl_plugin
X	${INSTALL_DATA} ${WRKSRC}/tpl_plugin/* ${DATADIR}/tpl_plugin
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 (Template_.2.2.3.tar.gz) = 50e16aeef263f35ca434ef363c9fa6cf
XSIZE (Template_.2.2.3.tar.gz) = 16732
END-of-distinfo
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
XTemplate_ is a LGPL-ed high performance and fast template engine for PHP.
X
XWWW: http://www.xtac.net/
END-of-pkg-descr
echo x - pkg-message
sed 's/^X//' >pkg-message << 'END-of-pkg-message'
X****************************************************************
X
XTo use Template_ you have to add the correct include path into
Xyour ${LOCALBASE}/etc/php.ini configuration file, like:
X
Xinclude_path = ".:${PREFIX}/share/template_"
X
X****************************************************************
X
END-of-pkg-message
echo x - pkg-plist
sed 's/^X//' >pkg-plist << 'END-of-pkg-plist'
X%%DATADIR%%/tpl_plugin/function.returnHello.php
X%%DATADIR%%/tpl_plugin/functions.safe_mode.ini
X%%DATADIR%%/tpl_plugin/object.say.php
X%%DATADIR%%/tpl_plugin/postfilter.arrangeSpace.php
X%%DATADIR%%/tpl_plugin/postfilter.removeTmpCode.php
X%%DATADIR%%/tpl_plugin/prefilter.adjustPath.php
X%%DATADIR%%/tpl_plugin/prefilter.parseMySyntax.php
X%%DATADIR%%/Template_.class.php
X%%DATADIR%%/Template_.compiler.php
X at dirrm %%DATADIR%%/tpl_plugin
X at dirrm %%DATADIR%%
X
END-of-pkg-plist
exit


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



More information about the freebsd-ports-bugs mailing list