# 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