From owner-svn-ports-all@FreeBSD.ORG Fri May 16 17:51:58 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A01BC385; Fri, 16 May 2014 17:51:58 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B8392805; Fri, 16 May 2014 17:51:58 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4GHpwOE092748; Fri, 16 May 2014 17:51:58 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4GHpvll092739; Fri, 16 May 2014 17:51:57 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201405161751.s4GHpvll092739@svn.freebsd.org> From: John Marino Date: Fri, 16 May 2014 17:51:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354249 - in head/textproc: . templates_parser templates_parser/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2014 17:51:58 -0000 Author: marino Date: Fri May 16 17:51:57 2014 New Revision: 354249 URL: http://svnweb.freebsd.org/changeset/ports/354249 QAT: https://qat.redports.org/buildarchive/r354249/ Log: Add new Ada port: textproc/templates_parser This was part of the Ada Web Server, but it is maintained separated and even needs to be recursively cloned into AWS git repository. Now the AWS template engine is a separate library that AWS will use in the upcoming update. The package description is below. ================================================================ This is the template engine for the Ada Web Server. It is modular and therefore can be split out of AWS and used on its own. As it was designed for generating web pages, it's function is to parse a page template and replace tokens with specified values. This template engine is amazingly fast due to its concurrent cached compiled templates support. WWW: http://docs.adacore.com/aws-docs/templates_parser Added: head/textproc/templates_parser/ head/textproc/templates_parser/Makefile (contents, props changed) head/textproc/templates_parser/distinfo (contents, props changed) head/textproc/templates_parser/files/ head/textproc/templates_parser/files/templates_parser.gpr (contents, props changed) head/textproc/templates_parser/pkg-descr (contents, props changed) head/textproc/templates_parser/pkg-plist (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Fri May 16 17:29:04 2014 (r354248) +++ head/textproc/Makefile Fri May 16 17:51:57 2014 (r354249) @@ -1435,6 +1435,7 @@ SUBDIR += teckit SUBDIR += tei-guidelines-p3 SUBDIR += tei-p3 + SUBDIR += templates_parser SUBDIR += tet-aspell SUBDIR += tex2im SUBDIR += texi2db Added: head/textproc/templates_parser/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/templates_parser/Makefile Fri May 16 17:51:57 2014 (r354249) @@ -0,0 +1,52 @@ +# Created by: John Marino +# $FreeBSD$ + +PORTNAME= templates_parser +PORTVERSION= 11.9.0.0 +CATEGORIES= textproc +MASTER_SITES= http://downloads.dragonlace.net/src/ + +MAINTAINER= marino@FreeBSD.org +COMMENT= Web page template engine module for the Ada Web Server + +LICENSE= GPLv3 + +BUILD_DEPENDS= gprbuild:${PORTSDIR}/devel/gprbuild \ + xmlada>=4.4:${PORTSDIR}/textproc/xmlada +RUN_DEPENDS= xmlada>=4.4:${PORTSDIR}/textproc/xmlada + +USES= ada gmake tar:bzip2 +MAKEFILE= makefile +DESTINC= ${STAGEDIR}${PREFIX}/include/templates_parser +MAKE_ARGS+= PROCESSORS=${MAKE_JOBS_NUMBER} \ + HOST=${CONFIGURE_TARGET} \ + TARGET=${CONFIGURE_TARGET} \ + prefix=${PREFIX} + +PORTDOCS= html + +OPTIONS_DEFINE= DOCS +DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx + +.include + +do-build: + # Override build target to avoid -jX getting passed to makefile + # Parallel builds are handled with PROCESSORS setting + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} +.if ${PORT_OPTIONS:MDOCS} + cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} \ + ${MAKE_CMD} ${MAKE_ARGS} html +.endif + +post-install: + ${RM} -rf ${STAGEDIR}${PREFIX}/share/gpr/manifests + ${MV} ${DESTINC}.relocatable/templates_parser-conf*.ads \ + ${DESTINC}.relocatable/templates_parser-configuration.ads + ${MV} ${DESTINC}/templates_parser-conf*.ads \ + ${DESTINC}/templates_parser-configuration.ads + ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat + ${INSTALL_DATA} ${FILESDIR}/templates_parser.gpr \ + ${STAGEDIR}${PREFIX}/lib/gnat + +.include Added: head/textproc/templates_parser/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/templates_parser/distinfo Fri May 16 17:51:57 2014 (r354249) @@ -0,0 +1,2 @@ +SHA256 (templates_parser-11.9.0.0.tar.bz2) = 0133de55a834f79a85f620d59c3fd9ddece8f43753813f38427e2362166eff91 +SIZE (templates_parser-11.9.0.0.tar.bz2) = 168785 Added: head/textproc/templates_parser/files/templates_parser.gpr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/templates_parser/files/templates_parser.gpr Fri May 16 17:51:57 2014 (r354249) @@ -0,0 +1,19 @@ +project Templates_Parser is + + type TP_Kind_Type is ("static", "relocatable"); + TP_Kind : TP_Kind_Type := external ("LIBRARY_TYPE", "static"); + + for Library_Name use "templates_parser"; + for Library_Kind use TP_Kind; + case TP_Kind is + when "relocatable" => + for Source_Dirs use ("../../include/templates_parser.relocatable"); + for Library_Dir use "../../lib/templates_parser.relocatable"; + for Library_Version use "libtemplates_parser.so"; + when others => + for Source_Dirs use ("../../include/templates_parser"); + for Library_Dir use "../../lib/templates_parser"; + end case; + for Externally_Built use "true"; + +end Templates_Parser; Added: head/textproc/templates_parser/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/templates_parser/pkg-descr Fri May 16 17:51:57 2014 (r354249) @@ -0,0 +1,9 @@ +This is the template engine for the Ada Web Server. It is modular and +therefore can be split out of AWS and used on its own. + +As it was designed for generating web pages, it's function is to parse +a page template and replace tokens with specified values. This template +engine is amazingly fast due to its concurrent cached compiled templates +support. + +WWW: http://docs.adacore.com/aws-docs/templates_parser Added: head/textproc/templates_parser/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/templates_parser/pkg-plist Fri May 16 17:51:57 2014 (r354249) @@ -0,0 +1,69 @@ +bin/templates2ada +bin/templatespp +include/templates_parser.relocatable/templates_parser-cached_files.adb +include/templates_parser.relocatable/templates_parser-configuration.ads +include/templates_parser.relocatable/templates_parser-data.adb +include/templates_parser.relocatable/templates_parser-debug.ads +include/templates_parser.relocatable/templates_parser-definitions.adb +include/templates_parser.relocatable/templates_parser-expr.adb +include/templates_parser.relocatable/templates_parser-filter.adb +include/templates_parser.relocatable/templates_parser-input.ads +include/templates_parser.relocatable/templates_parser-input__standalone.adb +include/templates_parser.relocatable/templates_parser-macro.adb +include/templates_parser.relocatable/templates_parser-print_tree.adb +include/templates_parser.relocatable/templates_parser-query.ads +include/templates_parser.relocatable/templates_parser-simplifier.adb +include/templates_parser.relocatable/templates_parser-utils.adb +include/templates_parser.relocatable/templates_parser-utils.ads +include/templates_parser.relocatable/templates_parser-xml.ads +include/templates_parser.relocatable/templates_parser.adb +include/templates_parser.relocatable/templates_parser.ads +include/templates_parser.relocatable/templates_parser_tasking.ads +include/templates_parser.relocatable/templates_parser_tasking__standard_tasking.adb +include/templates_parser/templates_parser-cached_files.adb +include/templates_parser/templates_parser-configuration.ads +include/templates_parser/templates_parser-data.adb +include/templates_parser/templates_parser-debug.ads +include/templates_parser/templates_parser-definitions.adb +include/templates_parser/templates_parser-expr.adb +include/templates_parser/templates_parser-filter.adb +include/templates_parser/templates_parser-input.ads +include/templates_parser/templates_parser-input__standalone.adb +include/templates_parser/templates_parser-macro.adb +include/templates_parser/templates_parser-print_tree.adb +include/templates_parser/templates_parser-query.ads +include/templates_parser/templates_parser-simplifier.adb +include/templates_parser/templates_parser-utils.adb +include/templates_parser/templates_parser-utils.ads +include/templates_parser/templates_parser-xml.ads +include/templates_parser/templates_parser.adb +include/templates_parser/templates_parser.ads +include/templates_parser/templates_parser_tasking.ads +include/templates_parser/templates_parser_tasking__standard_tasking.adb +lib/gnat/templates_parser.gpr +lib/libtemplates_parser.so +lib/templates_parser.relocatable/libtemplates_parser-11.9.0w.so +lib/templates_parser.relocatable/libtemplates_parser.so +lib/templates_parser.relocatable/templates_parser-configuration__standalone.ali +lib/templates_parser.relocatable/templates_parser-debug.ali +lib/templates_parser.relocatable/templates_parser-input__standalone.ali +lib/templates_parser.relocatable/templates_parser-query.ali +lib/templates_parser.relocatable/templates_parser-utils.ali +lib/templates_parser.relocatable/templates_parser-xml.ali +lib/templates_parser.relocatable/templates_parser.ali +lib/templates_parser.relocatable/templates_parser_tasking__standard_tasking.ali +lib/templates_parser/libtemplates_parser.a +lib/templates_parser/templates_parser-configuration__standalone.ali +lib/templates_parser/templates_parser-debug.ali +lib/templates_parser/templates_parser-input__standalone.ali +lib/templates_parser/templates_parser-query.ali +lib/templates_parser/templates_parser-utils.ali +lib/templates_parser/templates_parser-xml.ali +lib/templates_parser/templates_parser.ali +lib/templates_parser/templates_parser_tasking__standard_tasking.ali +share/gpr/templates_parser.gpr +@dirrm include/templates_parser +@dirrm include/templates_parser.relocatable +@dirrm lib/templates_parser +@dirrm lib/templates_parser.relocatable +@dirrmtry share/gpr