Bug 175559 - [new port]: textproc/libflate Template library used to deal with html code in CGI applications
Summary: [new port]: textproc/libflate Template library used to deal with html code in...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-25 13:20 UTC by Veniamin
Modified: 2013-02-08 09:50 UTC (History)
0 users

See Also:


Attachments
file.shar (1.96 KB, text/plain)
2013-01-25 13:20 UTC, Veniamin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Veniamin 2013-01-25 13:20:00 UTC
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.
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2013-02-08 09:40:29 UTC
State Changed
From-To: open->closed

committed.  committed.  committed.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-02-08 09:40:57 UTC
Author: miwi
Date: Fri Feb  8 09:40:48 2013
New Revision: 311933
URL: http://svnweb.freebsd.org/changeset/ports/311933

Log:
  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.
  
  WWW: http://flate.dead-inside.org/
  
  PR:		ports/175559
  Submitted by:	Gvozdikov Veniamin <g.veniamin@googlemail.com>

Added:
  head/textproc/libflate/
  head/textproc/libflate/Makefile   (contents, props changed)
  head/textproc/libflate/distinfo   (contents, props changed)
  head/textproc/libflate/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Fri Feb  8 09:38:17 2013	(r311932)
+++ head/textproc/Makefile	Fri Feb  8 09:40:48 2013	(r311933)
@@ -364,6 +364,7 @@
     SUBDIR += libebml
     SUBDIR += libextractor
     SUBDIR += libexttextcat
+    SUBDIR += libflate
     SUBDIR += libguess
     SUBDIR += libkmfl
     SUBDIR += libkolabxml

Added: head/textproc/libflate/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libflate/Makefile	Fri Feb  8 09:40:48 2013	(r311933)
@@ -0,0 +1,21 @@
+# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+# $FreeBSD$
+
+PORTNAME=	libflate
+PORTVERSION=	2.0
+CATEGORIES=	textproc devel
+MASTER_SITES=	http://flate.dead-inside.org/
+
+MAINTAINER=	g.veniamin@googlemail.com
+COMMENT=	Template library used to deal with html code in CGI applications
+
+PLIST_FILES=	lib/${PORTNAME}.a \
+		bin/checktpl
+
+.include <bsd.port.pre.mk>
+
+do-install:
+	@${INSTALL_PROGRAM} ${WRKSRC}/checktpl ${PREFIX}/bin/
+	@${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.a ${PREFIX}/lib/
+
+.include <bsd.port.post.mk>

Added: head/textproc/libflate/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libflate/distinfo	Fri Feb  8 09:40:48 2013	(r311933)
@@ -0,0 +1,2 @@
+SHA256 (libflate-2.0.tar.gz) = fec6252876cea88acea08fa2ded632c681238ccd15138f0a4399b103e78c5bc8
+SIZE (libflate-2.0.tar.gz) = 22376

Added: head/textproc/libflate/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/libflate/pkg-descr	Fri Feb  8 09:40:48 2013	(r311933)
@@ -0,0 +1,9 @@
+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.
+
+WWW: http://flate.dead-inside.org/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"