From owner-svn-ports-all@FreeBSD.ORG Fri May 16 18:44:34 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2200A440; Fri, 16 May 2014 18:44:34 +0000 (UTC) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C10892C7C; Fri, 16 May 2014 18:44:33 +0000 (UTC) Received: from mouf.net (swills@mouf [199.48.129.64]) by mouf.net (8.14.5/8.14.5) with ESMTP id s4GIiN9u064074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 16 May 2014 18:44:28 GMT (envelope-from swills@mouf.net) Received: (from swills@localhost) by mouf.net (8.14.5/8.14.5/Submit) id s4GIiM8X064073; Fri, 16 May 2014 18:44:22 GMT (envelope-from swills) Date: Fri, 16 May 2014 18:44:22 +0000 From: Steve Wills To: John Marino Subject: Re: svn commit: r354249 - in head/textproc: . templates_parser templates_parser/files Message-ID: <20140516184419.GA63781@mouf.net> References: <201405161751.s4GHpvll092739@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201405161751.s4GHpvll092739@svn.freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Fri, 16 May 2014 18:44:28 +0000 (UTC) X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mouf.net X-Virus-Scanned: clamav-milter 0.98.1 at mouf.net X-Virus-Status: Clean Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org 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 18:44:34 -0000 I wonder if it would make sense to prefix the ada using ports, much like the p5- for perl ports, rubyem- for rubygem ports, etc.? I find this makes it easier for me to find things, tho perhaps we just need a new (meta) category? What do you think? Also, just wondering, does the Ada stuff have a utility like cpan or gem? Steve On Fri, May 16, 2014 at 05:51:57PM +0000, John Marino wrote: > 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