From zaa@ulstu.ru Thu Sep 21 17:40:02 2006 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EC6B16A407 for ; Thu, 21 Sep 2006 17:40:02 +0000 (UTC) (envelope-from zaa@ulstu.ru) Received: from kernel.ulstu.ru (kernel.ulstu.ru [62.76.34.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3CEE43D45 for ; Thu, 21 Sep 2006 17:39:52 +0000 (GMT) (envelope-from zaa@ulstu.ru) Received: from localhost (localhost [127.0.0.1]) by kernel.ulstu.ru (ulstuMail) with ESMTP id 591AF4AD52; Thu, 21 Sep 2006 21:39:45 +0400 (MSD) Received: from kernel.ulstu.ru ([127.0.0.1]) by localhost (kernel.ulstu.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oK1hlSdSd+Nl; Thu, 21 Sep 2006 21:39:39 +0400 (MSD) Received: from wave.zaa.local (zaa.ulstu.ru [62.76.34.17]) by kernel.ulstu.ru (ulstuMail) with ESMTP id 405CB4AD01 for ; Thu, 21 Sep 2006 21:39:34 +0400 (MSD) Received: by wave.zaa.local (Postfix, from userid 3909) id 9E179B817; Thu, 21 Sep 2006 21:39:37 +0400 (MSD) Message-Id: <20060921173937.9E179B817@wave.zaa.local> Date: Thu, 21 Sep 2006 21:39:37 +0400 (MSD) From: Alexander Zhuravlev Reply-To: Alexander Zhuravlev To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: [New Port] www/templatelite A smaller, faster alternative to the Smarty template engine X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 103460 >Category: ports >Synopsis: [New Port] www/templatelite A smaller, faster alternative to the Smarty template engine >Confidential: no >Severity: non-critical >Priority: medium >Responsible: clsung >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 21 17:40:21 GMT 2006 >Closed-Date: Tue Sep 26 01:07:09 GMT 2006 >Last-Modified: Tue Sep 26 01:10:30 GMT 2006 >Originator: Alexander Zhuravlev >Release: FreeBSD 6.1-STABLE i386 >Organization: >Environment: System: FreeBSD wave.zaa.local 6.1-STABLE FreeBSD 6.1-STABLE #30: Thu Aug 24 02:58:44 MSD 2006 root@wave.zaa.local:/usr/obj/usr/src/sys/WAVE i386 >Description: Template Lite is a very fast, small HTML template engine written in PHP. The engine supports most of the Smarty template engine functions and filters. >How-To-Repeat: >Fix: --- templatelite.port 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: # # templatelite # templatelite/Makefile # templatelite/pkg-plist # templatelite/files # templatelite/files/pkg-message.in # templatelite/pkg-descr # templatelite/distinfo # echo c - templatelite mkdir -p templatelite > /dev/null 2>&1 echo x - templatelite/Makefile sed 's/^X//' >templatelite/Makefile << 'END-of-templatelite/Makefile' X# New ports collection makefile for: Template Lite X# Date created: 2006-09-21 X# Whom: Alexander Zhuravlev X# X# $FreeBSD$ X# X XPORTNAME= templatelite XPORTVERSION= 1.90 XCATEGORIES= www XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTNAME= template_lite_${PORTVERSION} X XMAINTAINER= zaa@zaa.pp.ru XCOMMENT= A smaller, faster alternative to the Smarty template engine X XNO_BUILD= yes XUSE_PHP= pcre XWANT_PHP_WEB= yes XNO_WRKSUBDIR= yes XSUB_FILES= pkg-message X Xdo-install: X @${MKDIR} ${DATADIR} X @cd ${WRKSRC}/src && ${FIND} * | ${TAR} cTf - - | ${TAR} xUCf ${DATADIR} - X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @cd ${WRKSRC}/docs && ${FIND} * -type f -exec ${INSTALL_DATA} {} ${DOCSDIR} \; X.endif X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-templatelite/Makefile echo x - templatelite/pkg-plist sed 's/^X//' >templatelite/pkg-plist << 'END-of-templatelite/pkg-plist' X%%PORTDOCS%%%%DOCSDIR%%/appendix.caching.html X%%PORTDOCS%%%%DOCSDIR%%/appendix.groups.html X%%PORTDOCS%%%%DOCSDIR%%/getting.started.html X%%PORTDOCS%%%%DOCSDIR%%/index.html X%%PORTDOCS%%%%DOCSDIR%%/language.compiler.functions.html X%%PORTDOCS%%%%DOCSDIR%%/language.config.html X%%PORTDOCS%%%%DOCSDIR%%/language.filters.output.html X%%PORTDOCS%%%%DOCSDIR%%/language.filters.post.html X%%PORTDOCS%%%%DOCSDIR%%/language.filters.pre.html X%%PORTDOCS%%%%DOCSDIR%%/language.functions.custom.html X%%PORTDOCS%%%%DOCSDIR%%/language.functions.html X%%PORTDOCS%%%%DOCSDIR%%/language.modifiers.combining.html X%%PORTDOCS%%%%DOCSDIR%%/language.modifiers.html X%%PORTDOCS%%%%DOCSDIR%%/language.variables.html X%%PORTDOCS%%%%DOCSDIR%%/programming.debug.console.html X%%PORTDOCS%%%%DOCSDIR%%/programming.methods.html X%%PORTDOCS%%%%DOCSDIR%%/programming.variables.html X%%PORTDOCS%%%%DOCSDIR%%/what.is.html X%%DATADIR%%/class.compiler.php X%%DATADIR%%/class.config.php X%%DATADIR%%/class.template.php X%%DATADIR%%/internal/compile.generate_compiler_debug_output.php X%%DATADIR%%/internal/compile.include.php X%%DATADIR%%/internal/compile.section_start.php X%%DATADIR%%/internal/debug.tpl X%%DATADIR%%/internal/template.config_loader.php X%%DATADIR%%/internal/template.fetch_compile_include.php X%%DATADIR%%/internal/template.generate_debug_output.php X%%DATADIR%%/plugins/block.capture.php X%%DATADIR%%/plugins/block.strip.php X%%DATADIR%%/plugins/block.textformat.php X%%DATADIR%%/plugins/compiler.debug.php X%%DATADIR%%/plugins/compiler.tplheader.php X%%DATADIR%%/plugins/function.counter.php X%%DATADIR%%/plugins/function.cycle.php X%%DATADIR%%/plugins/function.db_function_call.php X%%DATADIR%%/plugins/function.db_result_call.php X%%DATADIR%%/plugins/function.html_checkboxes.php X%%DATADIR%%/plugins/function.html_hidden.php X%%DATADIR%%/plugins/function.html_image.php X%%DATADIR%%/plugins/function.html_input.php X%%DATADIR%%/plugins/function.html_options.php X%%DATADIR%%/plugins/function.html_radios.php X%%DATADIR%%/plugins/function.html_select_date.php X%%DATADIR%%/plugins/function.html_select_time.php X%%DATADIR%%/plugins/function.html_table.php X%%DATADIR%%/plugins/function.html_textbox.php X%%DATADIR%%/plugins/function.in_array.php X%%DATADIR%%/plugins/function.mailto.php X%%DATADIR%%/plugins/function.math.php X%%DATADIR%%/plugins/function.popup.php X%%DATADIR%%/plugins/function.popup_init.php X%%DATADIR%%/plugins/modifier.array_reverse.php X%%DATADIR%%/plugins/modifier.bbcode2html.php X%%DATADIR%%/plugins/modifier.capitalize.php X%%DATADIR%%/plugins/modifier.cat.php X%%DATADIR%%/plugins/modifier.count.php X%%DATADIR%%/plugins/modifier.count_characters.php X%%DATADIR%%/plugins/modifier.count_paragraphs.php X%%DATADIR%%/plugins/modifier.count_sentences.php X%%DATADIR%%/plugins/modifier.count_words.php X%%DATADIR%%/plugins/modifier.date.php X%%DATADIR%%/plugins/modifier.date_format.php X%%DATADIR%%/plugins/modifier.debug_print_var.php X%%DATADIR%%/plugins/modifier.default.php X%%DATADIR%%/plugins/modifier.escape.php X%%DATADIR%%/plugins/modifier.indent.php X%%DATADIR%%/plugins/modifier.lower.php X%%DATADIR%%/plugins/modifier.nl2br.php X%%DATADIR%%/plugins/modifier.number_format.php X%%DATADIR%%/plugins/modifier.regex_replace.php X%%DATADIR%%/plugins/modifier.replace.php X%%DATADIR%%/plugins/modifier.spacify.php X%%DATADIR%%/plugins/modifier.string_format.php X%%DATADIR%%/plugins/modifier.strip.php X%%DATADIR%%/plugins/modifier.strip_tags.php X%%DATADIR%%/plugins/modifier.truncate.php X%%DATADIR%%/plugins/modifier.upper.php X%%DATADIR%%/plugins/modifier.urlencode.php X%%DATADIR%%/plugins/modifier.wordwrap.php X%%DATADIR%%/plugins/outputfilter.gzip.php X%%DATADIR%%/plugins/outputfilter.trimwhitespace.php X%%DATADIR%%/plugins/postfilter.showtemplatevars.php X%%DATADIR%%/plugins/prefilter.showinfoheader.php X%%DATADIR%%/plugins/shared.escape_chars.php X%%DATADIR%%/plugins/shared.make_timestamp.php X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@dirrm %%DATADIR%%/internal X@dirrm %%DATADIR%%/plugins X@dirrm %%DATADIR%% END-of-templatelite/pkg-plist echo c - templatelite/files mkdir -p templatelite/files > /dev/null 2>&1 echo x - templatelite/files/pkg-message.in sed 's/^X//' >templatelite/files/pkg-message.in << 'END-of-templatelite/files/pkg-message.in' X******************************************************************* X XYou need to adjust php's include_path to contain `%%DATADIR%%'! XFor example, insert X include_path = ".:%%DATADIR%%" Xinto `%%LOCALBASE%%/etc/php.ini'. X X******************************************************************* END-of-templatelite/files/pkg-message.in echo x - templatelite/pkg-descr sed 's/^X//' >templatelite/pkg-descr << 'END-of-templatelite/pkg-descr' XTemplate Lite is a very fast, small HTML template engine written in PHP. XThe engine supports most of the Smarty template engine functions and filters. X XWWW: http://templatelite.sourceforge.net END-of-templatelite/pkg-descr echo x - templatelite/distinfo sed 's/^X//' >templatelite/distinfo << 'END-of-templatelite/distinfo' XMD5 (template_lite_1.90.tar.gz) = 0e5d62e9a5958dd4e54d4369b8341d72 XSHA256 (template_lite_1.90.tar.gz) = d2468a578792c47c3906e53198fb57648883ebe8e8ac3adc96dd2684ca9c78bf XSIZE (template_lite_1.90.tar.gz) = 89816 END-of-templatelite/distinfo exit --- templatelite.port ends here --- >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-ports-bugs->clsung Responsible-Changed-By: clsung Responsible-Changed-When: Thu Sep 21 23:04:25 UTC 2006 Responsible-Changed-Why: I'll take it. http://www.freebsd.org/cgi/query-pr.cgi?pr=103460 State-Changed-From-To: open->closed State-Changed-By: clsung State-Changed-When: Tue Sep 26 01:07:08 UTC 2006 State-Changed-Why: New port added. Thank You. http://www.freebsd.org/cgi/query-pr.cgi?pr=103460 From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/103460: commit references a PR Date: Tue, 26 Sep 2006 01:06:47 +0000 (UTC) clsung 2006-09-26 01:06:38 UTC FreeBSD ports repository Modified files: www Makefile Added files: www/templatelite Makefile distinfo pkg-descr pkg-plist www/templatelite/files pkg-message.in Log: Add templatelite 1.90, a smaller, faster alternative to the Smarty template engine. PR: ports/103460 Submitted by: Alexander Zhuravlev Revision Changes Path 1.1572 +1 -0 ports/www/Makefile 1.1 +35 -0 ports/www/templatelite/Makefile (new) 1.1 +3 -0 ports/www/templatelite/distinfo (new) 1.1 +8 -0 ports/www/templatelite/files/pkg-message.in (new) 1.1 +4 -0 ports/www/templatelite/pkg-descr (new) 1.1 +90 -0 ports/www/templatelite/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" >Unformatted: