Date: Sat, 29 Jun 2013 18:14:10 GMT From: John Marino <draco@marino.st> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/180097: [NEW PORT] Add devel/matreshka Ada development framework Message-ID: <201306291814.r5TIEAX4059094@oldred.freebsd.org> Resent-Message-ID: <201306291820.r5TIK0co004730@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 180097 >Category: ports >Synopsis: [NEW PORT] Add devel/matreshka Ada development framework >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jun 29 18:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: John Marino >Release: >Organization: >Environment: >Description: =========================================================================== 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. =========================================================================== This port passes redports 8.4-amd64, 8.4-i386, 9.1-amd64 and 9.1-i386 It also passes pkg DEVELOPER_MODE=1. >How-To-Repeat: >Fix: Patch attached with submission follows: # 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: # # matreshka # matreshka/Makefile # matreshka/distinfo # matreshka/files # matreshka/files/patch-Makefile.build # matreshka/files/patch-Makefile.install # matreshka/pkg-descr # echo c - matreshka mkdir -p matreshka > /dev/null 2>&1 echo x - matreshka/Makefile sed 's/^X//' >matreshka/Makefile << 'END-of-matreshka/Makefile' X# Created by: John Marino <draco@marino.st> X# $FreeBSD$ X XPORTNAME= matreshka XPORTVERSION= 0.5.0 XCATEGORIES= devel XMASTER_SITES= http://forge.ada-ru.org/matreshka/downloads/ X XMAINTAINER= draco@marino.st XCOMMENT= Ada framework for information systems development X XLICENSE= BSD X XBUILD_DEPENDS= gprbuild>=20120510:${PORTSDIR}/devel/gprbuild X XUSES= ada XUSE_GMAKE= yes XDESTINY= ${WRKDIR}/destino X XOPTIONS_DEFINE= SQLITE3 FIREBIRD PGSQL MYSQL ORACLE AMF XOPTIONS_DEFAULT=SQLITE3 FIREBIRD PGSQL MYSQL X XAMF_DESC= Build Ada Modeling Framework X XMAKE_ENV+= SMP_MFLAGS=-j${MAKE_JOBS_NUMBER} \ X DESTDIR=${DESTINY} X X.include <bsd.port.options.mk> X X.if ${PORT_OPTIONS:MFIREBIRD} XMAKE_ENV+= HAS_FIREBIRD=yes X.endif X X.if ${PORT_OPTIONS:MMYSQL} XMAKE_ENV+= HAS_MYSQL=yes X.endif X X.if ${PORT_OPTIONS:MORACLE} XMAKE_ENV+= HAS_OCI=yes X.endif X X.if ${PORT_OPTIONS:MPGSQL} XMAKE_ENV+= HAS_POSTGRESQL=yes X.endif X X.if ${PORT_OPTIONS:MSQLITE3} XMAKE_ENV+= HAS_SQLITE3=yes X.endif X X.if ${PORT_OPTIONS:MAMF} XMAKE_ENV+= WANT_AMF=yes X.endif X Xpost-install: X ${CP} -pR ${DESTINY}${PREFIX}/ ${PREFIX}/ X @cd ${DESTINY}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \ X ${SORT} > ${WRKDIR}/PLIST.all X @cd ${DESTINY}${PREFIX}; ${FIND} * -type d | ${AWK} '/\//' | ${SORT} -r | \ X ${SED} -e '/lib\/gnat$$/d' -e 's/^/@dirrm /g' >> ${WRKDIR}/PLIST.all X @echo "@unexec rmdir %D/lib/gnat 2>/dev/null || true" >> ${WRKDIR}/PLIST.all X @${CAT} ${WRKDIR}/PLIST.all >> ${TMPPLIST} X X.include <bsd.port.mk> END-of-matreshka/Makefile echo x - matreshka/distinfo sed 's/^X//' >matreshka/distinfo << 'END-of-matreshka/distinfo' XSHA256 (matreshka-0.5.0.tar.gz) = 09b7fd82f47d0e64ceaa1b538ed7f4e96351759ca10c0f307d0d20fec3bafe98 XSIZE (matreshka-0.5.0.tar.gz) = 32055197 END-of-matreshka/distinfo echo c - matreshka/files mkdir -p matreshka/files > /dev/null 2>&1 echo x - matreshka/files/patch-Makefile.build sed 's/^X//' >matreshka/files/patch-Makefile.build << 'END-of-matreshka/files/patch-Makefile.build' X--- Makefile.build.orig 2013-03-26 10:11:24.640151000 +0000 X+++ Makefile.build X@@ -2,7 +2,11 @@ include Makefile.config X X GPRBUILD_FLAGS = -p $(SMP_MFLAGS) X X-ALL_TARGETS = league xml fastcgi soap wsse wsdl2ada sql amf dd uml mofext ocl utp X+ALL_TARGETS = league xml fastcgi soap wsse wsdl2ada sql X+ X+ifdef WANT_AMF X+ALL_TARGETS += amf dd uml mofext ocl utp X+endif X X ifdef HAS_FIREBIRD X ALL_TARGETS += firebird END-of-matreshka/files/patch-Makefile.build echo x - matreshka/files/patch-Makefile.install sed 's/^X//' >matreshka/files/patch-Makefile.install << 'END-of-matreshka/files/patch-Makefile.install' X--- Makefile.install.orig 2012-12-05 19:49:10.977713000 +0000 X+++ Makefile.install X@@ -22,7 +22,11 @@ LIBEXT = dll X EXEEXT = .exe X endif X X-INSTALL_TARGETS = league xml fastcgi soap wsse wsdl2ada sql amf dd uml mofext ocl utp X+INSTALL_TARGETS = league xml fastcgi soap wsse wsdl2ada sql X+ X+ifdef WANT_AMF X+INSTALL_TARGETS += amf dd uml mofext ocl utp X+endif X X ifdef HAS_FIREBIRD X INSTALL_TARGETS += firebird END-of-matreshka/files/patch-Makefile.install echo x - matreshka/pkg-descr sed 's/^X//' >matreshka/pkg-descr << 'END-of-matreshka/pkg-descr' XMatreshka is an Ada framework to develop information systems. It consists Xof five major components: League, XML processor, Web framework, SQL access, Xand the Modeling framework. X XLeague: X High level abstraction of localization and internationalization. Also X provides calendrical calculations, regular expressions, and JSON. X XXML processor: X Sax reader and writer, supports XML 1.0 and 1.1 as well as namespaces. X It also has an XML catalogs resolver. X XWeb framework: X Supports FastCGI, SOAP 1.2 and has a WSDL to Ada translator. X XSQL access: X Database abstraction of MySQL, Oracle, PostgreSQL, SQLite and Firebird. X XModeling framework: X provides implementation of Meta Object Facility (MOF) written entirely X in Ada. Extension modules assist in the analysis of UML modules and X extensions (MOF, OCL, and UML testing profile) and diagram definition. X XWWW: http://forge.ada-ru.org/matreshka END-of-matreshka/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306291814.r5TIEAX4059094>