Date: Fri, 25 Jan 2013 13:15:17 GMT From: Veniamin Gvozdikov <g.veniamin@googlemail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/175559: [new port]: textproc/libflate Template library used to deal with html code in CGI applications Message-ID: <201301251315.r0PDFHOW086861@red.freebsd.org> Resent-Message-ID: <201301251320.r0PDK0vO091443@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175559 >Category: ports >Synopsis: [new port]: textproc/libflate Template library used to deal with html code in CGI applications >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: Fri Jan 25 13:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Veniamin Gvozdikov >Release: FreeBSD 8.3-RELEASE-p5 >Organization: >Environment: FreeBSD ololo 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #0: Thu Dec 6 16:25:28 MSK 2012 root@ololo:/usr/obj/usr/src/sys/OLOLO amd64 >Description: Flate is a template library used to deal with html code in CGI applications. The library includes C and Perl support. All html code is put in an external file (the template) and printed using the library functions: variables, zones (parts to be displayed or not) and tables (parts to be displayed 0 to n times). Using this method you don't need to modify/recompile your application when modifying html code, printing order doesn't matter in your CGI code, and your CGI code is much cleaner. >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: # # libflate # libflate/distinfo # libflate/Makefile # libflate/pkg-descr # echo c - libflate mkdir -p libflate > /dev/null 2>&1 echo x - libflate/distinfo sed 's/^X//' >libflate/distinfo << 'fc48d80a917cdb6e9c0b5a0028e71b7c' XSHA256 (libflate-2.0.tar.gz) = fec6252876cea88acea08fa2ded632c681238ccd15138f0a4399b103e78c5bc8 XSIZE (libflate-2.0.tar.gz) = 22376 fc48d80a917cdb6e9c0b5a0028e71b7c echo x - libflate/Makefile sed 's/^X//' >libflate/Makefile << '66854704ea011c928bad650cb4779ecd' X# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com> X# $FreeBSD$ X XPORTNAME= libflate XPORTVERSION= 2.0 XCATEGORIES= textproc devel XMASTER_SITES= http://flate.dead-inside.org/ X XMAINTAINER= g.veniamin@googlemail.com XCOMMENT= Template library used to deal with html code in CGI applications X XPLIST_FILES= lib/${PORTNAME}.a \ X bin/checktpl X X.include <bsd.port.pre.mk> X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/checktpl ${PREFIX}/bin/ X @${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.a ${PREFIX}/lib/ X X.include <bsd.port.post.mk> 66854704ea011c928bad650cb4779ecd echo x - libflate/pkg-descr sed 's/^X//' >libflate/pkg-descr << 'a62d58240341208f236da7f590459aad' XFlate is a template library used to deal with html code in CGI applications. XThe library includes C and Perl support. All html code is put in an external Xfile (the template) and printed using the library functions: variables, zones X(parts to be displayed or not) and tables (parts to be displayed 0 to n times). XUsing this method you don't need to modify/recompile your application when Xmodifying html code, printing order doesn't matter in your CGI code, and your XCGI code is much cleaner. X XWWW: http://flate.dead-inside.org/ a62d58240341208f236da7f590459aad exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301251315.r0PDFHOW086861>