From owner-svn-ports-head@FreeBSD.ORG Mon Jul 1 19:18:18 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B3C7A308; Mon, 1 Jul 2013 19:18:18 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id A5B761CF1; Mon, 1 Jul 2013 19:18:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r61JIIGK023360; Mon, 1 Jul 2013 19:18:18 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r61JIHjF023350; Mon, 1 Jul 2013 19:18:17 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201307011918.r61JIHjF023350@svn.freebsd.org> From: William Grzybowski Date: Mon, 1 Jul 2013 19:18:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322140 - in head/devel: . matreshka matreshka/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-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2013 19:18:18 -0000 Author: wg Date: Mon Jul 1 19:18:17 2013 New Revision: 322140 URL: http://svnweb.freebsd.org/changeset/ports/322140 Log: devel/matreshka: Ada framework for information systems development Matreshka is an Ada framework to develop information systems. It consists of five major components: League, XML processor, Web framework, SQL access, and the Modeling framework. League: High level abstraction of localization and internationalization. Also provides calendrical calculations, regular expressions, and JSON. XML processor: Sax reader and writer, supports XML 1.0 and 1.1 as well as namespaces. It also has an XML catalogs resolver. Web framework: Supports FastCGI, SOAP 1.2 and has a WSDL to Ada translator. SQL access: Database abstraction of MySQL, Oracle, PostgreSQL, SQLite and Firebird. Modeling framework: provides implementation of Meta Object Facility (MOF) written entirely in Ada. Extension modules assist in the analysis of UML modules and extensions (MOF, OCL, and UML testing profile) and diagram definition. WWW: http://forge.ada-ru.org/matreshka PR: ports/180097 Submitted by: John Marino Added: head/devel/matreshka/ head/devel/matreshka/Makefile (contents, props changed) head/devel/matreshka/distinfo (contents, props changed) head/devel/matreshka/files/ head/devel/matreshka/files/patch-Makefile.build (contents, props changed) head/devel/matreshka/files/patch-Makefile.install (contents, props changed) head/devel/matreshka/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Jul 1 19:13:50 2013 (r322139) +++ head/devel/Makefile Mon Jul 1 19:18:17 2013 (r322140) @@ -1210,6 +1210,7 @@ SUBDIR += magit SUBDIR += make++ SUBDIR += makedepend + SUBDIR += matreshka SUBDIR += maven-ant-tasks SUBDIR += maven-wrapper SUBDIR += maven2 Added: head/devel/matreshka/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/matreshka/Makefile Mon Jul 1 19:18:17 2013 (r322140) @@ -0,0 +1,65 @@ +# Created by: John Marino +# $FreeBSD$ + +PORTNAME= matreshka +PORTVERSION= 0.5.0 +CATEGORIES= devel +MASTER_SITES= http://forge.ada-ru.org/matreshka/downloads/ + +MAINTAINER= draco@marino.st +COMMENT= Ada framework for information systems development + +LICENSE= BSD + +BUILD_DEPENDS= gprbuild>=20120510:${PORTSDIR}/devel/gprbuild + +USES= ada +USE_GMAKE= yes +DESTINY= ${WRKDIR}/destino + +OPTIONS_DEFINE= SQLITE3 FIREBIRD PGSQL MYSQL ORACLE AMF +OPTIONS_DEFAULT=SQLITE3 FIREBIRD PGSQL MYSQL + +AMF_DESC= Build Ada Modeling Framework + +MAKE_JOBS_UNSAFE= yes + +MAKE_ENV+= SMP_MFLAGS=-j${MAKE_JOBS_NUMBER} \ + DESTDIR=${DESTINY} + +.include + +.if ${PORT_OPTIONS:MFIREBIRD} +MAKE_ENV+= HAS_FIREBIRD=yes +.endif + +.if ${PORT_OPTIONS:MMYSQL} +MAKE_ENV+= HAS_MYSQL=yes +.endif + +.if ${PORT_OPTIONS:MORACLE} +MAKE_ENV+= HAS_OCI=yes +.endif + +.if ${PORT_OPTIONS:MPGSQL} +MAKE_ENV+= HAS_POSTGRESQL=yes +.endif + +.if ${PORT_OPTIONS:MSQLITE3} +MAKE_ENV+= HAS_SQLITE3=yes +.endif + +.if ${PORT_OPTIONS:MAMF} +MAKE_ENV+= WANT_AMF=yes +.endif + +post-install: + ${CP} -pR ${DESTINY}${PREFIX}/ ${PREFIX}/ + @cd ${DESTINY}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \ + ${SORT} > ${WRKDIR}/PLIST.all + @cd ${DESTINY}${PREFIX}; ${FIND} * -type d | ${AWK} '/\//' | ${SORT} -r | \ + ${SED} -e '/lib\/gnat$$/d' -e 's/^/@dirrm /g' >> ${WRKDIR}/PLIST.all + @echo "@unexec rmdir %D/lib/gnat 2>/dev/null || true" >> ${WRKDIR}/PLIST.all + @${CAT} ${WRKDIR}/PLIST.all >> ${TMPPLIST} + +.include Added: head/devel/matreshka/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/matreshka/distinfo Mon Jul 1 19:18:17 2013 (r322140) @@ -0,0 +1,2 @@ +SHA256 (matreshka-0.5.0.tar.gz) = 09b7fd82f47d0e64ceaa1b538ed7f4e96351759ca10c0f307d0d20fec3bafe98 +SIZE (matreshka-0.5.0.tar.gz) = 32055197 Added: head/devel/matreshka/files/patch-Makefile.build ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/matreshka/files/patch-Makefile.build Mon Jul 1 19:18:17 2013 (r322140) @@ -0,0 +1,15 @@ +--- Makefile.build.orig 2013-03-26 10:11:24.640151000 +0000 ++++ Makefile.build +@@ -2,7 +2,11 @@ include Makefile.config + + GPRBUILD_FLAGS = -p $(SMP_MFLAGS) + +-ALL_TARGETS = league xml fastcgi soap wsse wsdl2ada sql amf dd uml mofext ocl utp ++ALL_TARGETS = league xml fastcgi soap wsse wsdl2ada sql ++ ++ifdef WANT_AMF ++ALL_TARGETS += amf dd uml mofext ocl utp ++endif + + ifdef HAS_FIREBIRD + ALL_TARGETS += firebird Added: head/devel/matreshka/files/patch-Makefile.install ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/matreshka/files/patch-Makefile.install Mon Jul 1 19:18:17 2013 (r322140) @@ -0,0 +1,15 @@ +--- Makefile.install.orig 2012-12-05 19:49:10.977713000 +0000 ++++ Makefile.install +@@ -22,7 +22,11 @@ LIBEXT = dll + EXEEXT = .exe + endif + +-INSTALL_TARGETS = league xml fastcgi soap wsse wsdl2ada sql amf dd uml mofext ocl utp ++INSTALL_TARGETS = league xml fastcgi soap wsse wsdl2ada sql ++ ++ifdef WANT_AMF ++INSTALL_TARGETS += amf dd uml mofext ocl utp ++endif + + ifdef HAS_FIREBIRD + INSTALL_TARGETS += firebird Added: head/devel/matreshka/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/matreshka/pkg-descr Mon Jul 1 19:18:17 2013 (r322140) @@ -0,0 +1,24 @@ +Matreshka is an Ada framework to develop information systems. It consists +of five major components: League, XML processor, Web framework, SQL access, +and the Modeling framework. + +League: + High level abstraction of localization and internationalization. Also + provides calendrical calculations, regular expressions, and JSON. + +XML processor: + Sax reader and writer, supports XML 1.0 and 1.1 as well as namespaces. + It also has an XML catalogs resolver. + +Web framework: + Supports FastCGI, SOAP 1.2 and has a WSDL to Ada translator. + +SQL access: + Database abstraction of MySQL, Oracle, PostgreSQL, SQLite and Firebird. + +Modeling framework: + provides implementation of Meta Object Facility (MOF) written entirely + in Ada. Extension modules assist in the analysis of UML modules and + extensions (MOF, OCL, and UML testing profile) and diagram definition. + +WWW: http://forge.ada-ru.org/matreshka