ports/103485: A new version of CTPP templte engine

Andrei V. Shetuhin reki at reki.ru
Fri Sep 22 13:50:20 UTC 2006


	Note: There was a bad value `no=20' for the field `>Confidential:'.
	It was set to the default value of `yes'.


>Number:         103485
>Category:       ports
>Synopsis:       A new version of CTPP templte engine
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 22 13:50:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrei V. Shetuhin
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Mail.ru
>Environment:
System: FreeBSD adolf.corp.mail.ru 6.1-STABLE FreeBSD 6.1-STABLE #4: Wed Au=
g 16 16:21:39 MSD 2006 shetuhin at adolf.corp.mail.ru:/usr/obj/usr/src/sys/ADO=
LF i386


       =20
>Description:
        A new version of CTPP templte engine
>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:
#
#       ctpp
#       ctpp/Makefile
#       ctpp/distinfo
#       ctpp/pkg-descr
#       ctpp/pkg-plist
#       ctpp/files
#       ctpp/files/patch-Makefile.in
#
echo c - ctpp
mkdir -p ctpp > /dev/null 2>&1
echo x - ctpp/Makefile
sed 's/^X//' >ctpp/Makefile << 'END-of-ctpp/Makefile'
X# New ports collection makefile for:   ctpp
X# Date created:         19 July 2004
X# Whom:                 reki at reki.ru (Andrei V. Shetuhin)
X#
X# $FreeBSD: ports/textproc/ctpp/Makefile,v 1.7 2006/09/05 09:31:08 linimon=
 Exp $
X#
X
XPORTNAME=3D      ctpp
XPORTVERSION=3D   1.8.0
XCATEGORIES=3D    textproc devel
XMASTER_SITES=3D  http://www.reki.ru/products/ctpp/download/
X
XMAINTAINER=3D    ports at FreeBSD.org
XCOMMENT=3D       C++ library to use templates in C/C++ projects
X
XGNU_CONFIGURE=3D=09yes
XUSE_GMAKE=3D     yes
X
XINSTALLS_SHLIB=3D        yes
X
X.if defined(WITH_CTPP_PERF_TUNING)
XCONFIGURE_ARGS+=3D       --enable-optimization
X.endif
X
X.if defined(WITH_CTPP_DEBUG)
XCONFIGURE_ARGS+=3D       --enable-debug
X.endif
X
X.if !defined(NOPORTDOCS)
XINSTALL_TARGET=3D        install install-doc
X.endif
X
Xpost-patch:
X       @${RM} -f ${WRKSRC}/obj/*.o
X
X.include <bsd.port.mk>
END-of-ctpp/Makefile
echo x - ctpp/distinfo
sed 's/^X//' >ctpp/distinfo << 'END-of-ctpp/distinfo'
XMD5 (ctpp-1.8.0.tar.gz) =3D 50952d767f77a64b5e2ae8b672d6b4cf
XSHA256 (ctpp-1.8.0.tar.gz) =3D c3310c4fd08fdfc878fe4e225ca96be89d0c21e846f=
7f48895c4b04cb3e38eb5
XSIZE (ctpp-1.8.0.tar.gz) =3D 175308
END-of-ctpp/distinfo
echo x - ctpp/pkg-descr
sed 's/^X//' >ctpp/pkg-descr << 'END-of-ctpp/pkg-descr'
XThis is a simple set of C++ classes which allow to use
Xtemplates like perl module HTML::Template
X
XWWW: http://reki.ru/products/ctpp/
X
X- shetuhin at corp.mail.ru
END-of-ctpp/pkg-descr
echo x - ctpp/pkg-plist
sed 's/^X//' >ctpp/pkg-plist << 'END-of-ctpp/pkg-plist'
Xinclude/ctpp/ctpp/ctpp.hpp
Xinclude/ctpp/ctpp/ctpp_c.h
Xinclude/ctpp/ctpp/param_data.hpp
Xinclude/ctpp/ctpp/udf_fn.hpp
Xinclude/ctpp/ctpp/Hash.hpp
Xinclude/ctpp/ctpp/Types.h
Xinclude/ctpp/functions/form_param.hpp
Xinclude/ctpp/functions/href_param.hpp
Xinclude/ctpp/functions/htmlescape.hpp
Xinclude/ctpp/functions/num_format.hpp
Xinclude/ctpp/functions/std_fn_list.hpp
Xinclude/ctpp/functions/udf_is_a.hpp
Xinclude/ctpp/functions/udf_re.hpp
Xinclude/ctpp/functions/udf_sprintf.hpp
Xinclude/ctpp/functions/urlescape.hpp
Xinclude/ctpp/functions/value_in_set.hpp
Xinclude/ctpp/util/d2str.hpp
Xlib/libctpp.so
Xlib/libctpp.a
X%%PORTDOCS%%%%DOCSDIR%%/en/ctpp.chm
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_compile.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_context_vars.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_cover.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.css
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_def.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_dev_algorithm.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_dev_api.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_dev_intro.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_dev_sample.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_dev_udf.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_errors.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_form_param.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_href_param.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_htmlescape.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_in_set.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_is_a.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_num_format.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_re.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_sprintf.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_function_urlescape.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhc
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhk
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp.hhp
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_intro.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_license.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_operators.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_thanks.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_tmpl_if.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_tmpl_include.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_tmpl_loop.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_tmpl_udf.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/ctpp_tmpl_var.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/index.html
X%%PORTDOCS%%%%DOCSDIR%%/en/html/index_left.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/ctpp.chm
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_compile.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_context_vars.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_cover.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.css
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_def.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_dev_algorithm.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_dev_api.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_dev_intro.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_dev_sample.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_dev_udf.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_errors.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_form_param.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_href_param.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_htmlescape.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_in_set.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_is_a.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_num_format.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_re.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_sprintf.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_function_urlescape.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhc
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhk
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp.hhp
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_intro.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_license.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_operators.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_thanks.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_tmpl_if.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_tmpl_include.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_tmpl_loop.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_tmpl_udf.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/ctpp_tmpl_var.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/index.html
X%%PORTDOCS%%%%DOCSDIR%%/ru/html/index_left.html
X at dirrm include/ctpp/util
X at dirrm include/ctpp/functions
X at dirrm include/ctpp/ctpp
X at dirrm include/ctpp
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/en/html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/en
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/ru/html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/ru
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-ctpp/pkg-plist
echo c - ctpp/files
mkdir -p ctpp/files > /dev/null 2>&1
echo x - ctpp/files/patch-Makefile.in
sed 's/^X//' >ctpp/files/patch-Makefile.in << 'END-of-ctpp/files/patch-Make=
file.in'
X--- Makefile.in.orig   Wed Feb  9 10:50:31 2005
X+++ Makefile.in        Sat Mar 25 17:56:33 2006
X@@ -74,9 +74,11 @@
X                       fi; \
X               fi; \
X       done;
X+
X+install-doc::
X       @echo -------------------------------------- Installing documentati=
on ----------
X-      if test ! -d "$(PREFIX)/doc"; then \
X-              $(INSTALL) -d -m 0755 $(PREFIX)/doc; \
X+      if test ! -d "$(PREFIX)/share/doc"; then \
X+              $(INSTALL) -d -m 0755 $(PREFIX)/share/doc; \
X       fi; \
X       ELEM_LIST=3D`ls -R -1 $(BUILDROOT)/doc | sed 's!:$$!!';` ; \
X       CURR_DIR=3D''; \
X@@ -85,10 +87,10 @@
X                       EXCL_PATH=3D`echo $(BUILDROOT)/doc | sed 's!\.!\\\\=
.!g'`; \
X                       INST_PATH=3D`eval "echo $$ELEMENT | sed 's!^$$EXCL_=
PATH!!g'"`; \
X                       CURR_DIR=3D$$ELEMENT; \
X-                      $(INSTALL) -d -m 0755 $(PREFIX)/doc/$$INST_PATH; \
X+                      $(INSTALL) -d -m 0755 $(PREFIX)/share/doc/ctpp/$$IN=
ST_PATH; \
X               else \
X                       if test -f "$$CURR_DIR/$$ELEMENT"; then \
X-                              $(INSTALL) -m 0644 $$CURR_DIR/$$ELEMENT $(P=
REFIX)/doc/$$INST_PATH/$$ELEMENT; \
X+                              $(INSTALL) -m 0644 $$CURR_DIR/$$ELEMENT $(P=
REFIX)/share/doc/ctpp/$$INST_PATH/$$ELEMENT; \
X                       fi; \
X               fi; \
X       done;
END-of-ctpp/files/patch-Makefile.in
exit



>Release-Note:
>Audit-Trail:
>Unformatted:
 =0D=0A>Submitter-Id:  current-users



More information about the freebsd-ports-bugs mailing list