forked from Lainports/freebsd-ports
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>
21 lines
524 B
Makefile
21 lines
524 B
Makefile
# 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>
|