mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
devel/matreshka: Upgrade from version 0.5.0 to 0.6.0
One caveat: Firebird driver has been disabled. It doesn't build using GNAT 4.7. It will be reenabled by either a patch from the developer or when GNAT is rebased on GCC 4.9
This commit is contained in:
parent
56513cced7
commit
8337eab8b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343957
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= matreshka
|
||||
PORTVERSION= 0.5.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.6.0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://forge.ada-ru.org/matreshka/downloads/
|
||||
|
||||
@ -14,14 +13,27 @@ LICENSE= BSD
|
||||
|
||||
BUILD_DEPENDS= gprbuild>=20120510:${PORTSDIR}/devel/gprbuild
|
||||
|
||||
USES= ada gmake
|
||||
USES= ada gmake pkgconfig
|
||||
HAS_CONFIGURE= yes
|
||||
NO_MTREE= yes
|
||||
|
||||
OPTIONS_DEFINE= SQLITE3 FIREBIRD PGSQL MYSQL ORACLE AMF
|
||||
OPTIONS_DEFAULT=SQLITE3 FIREBIRD PGSQL MYSQL
|
||||
|
||||
#FIREBIRD option requires Ada-2012; disable until new compiler arrives
|
||||
#Excluding option breaks X_CONFIGURE_ENABLE, so manually set that too
|
||||
OPTIONS_EXCLUDE=FIREBIRD
|
||||
CONFIGURE_ARGS+= --disable-firebird
|
||||
|
||||
AMF_DESC= Build Ada Modeling Framework
|
||||
|
||||
SQLITE3_CONFIGURE_ENABLE= sqlite3
|
||||
FIREBIRD_CONFIGURE_ENABLE= firebird
|
||||
PGSQL_CONFIGURE_ENABLE= postgresql
|
||||
MYSQL_CONFIGURE_ENABLE= mysql
|
||||
ORACLE_CONFIGURE_ENABLE= oracle
|
||||
AMF_CONFIGURE_ENABLE= amf
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
NO_LICENSES_INSTALL= yes
|
||||
|
||||
@ -30,28 +42,24 @@ MAKE_ENV+= SMP_MFLAGS=-j${MAKE_JOBS_NUMBER}
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MFIREBIRD}
|
||||
MAKE_ENV+= HAS_FIREBIRD=yes
|
||||
CONFIGURE_ARGS+= --with-firebird-libdir=${LOCALBASE}/lib
|
||||
USE_FIREBIRD= yes
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMYSQL}
|
||||
MAKE_ENV+= HAS_MYSQL=yes
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MORACLE}
|
||||
MAKE_ENV+= HAS_OCI=yes
|
||||
USE_MYSQL= yes
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MPGSQL}
|
||||
MAKE_ENV+= HAS_POSTGRESQL=yes
|
||||
USE_PGSQL= yes
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MSQLITE3}
|
||||
MAKE_ENV+= HAS_SQLITE3=yes
|
||||
USE_SQLITE= yes
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MAMF}
|
||||
MAKE_ENV+= WANT_AMF=yes
|
||||
.endif
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
|
||||
|
||||
post-install:
|
||||
@cd ${STAGEDIR}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (matreshka-0.5.0.tar.gz) = 09b7fd82f47d0e64ceaa1b538ed7f4e96351759ca10c0f307d0d20fec3bafe98
|
||||
SIZE (matreshka-0.5.0.tar.gz) = 32055197
|
||||
SHA256 (matreshka-0.6.0.tar.gz) = 0a84b7292c08f824c516fa4f7810dad5b0c585849c8993708a7cd3a44889e351
|
||||
SIZE (matreshka-0.6.0.tar.gz) = 32573172
|
||||
|
@ -1,15 +0,0 @@
|
||||
--- 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
|
@ -1,13 +1,13 @@
|
||||
--- Makefile.install.orig 2012-12-05 19:49:10.977713000 +0000
|
||||
--- Makefile.install.orig 2013-12-20 08:40:13.447414000 -0500
|
||||
+++ Makefile.install
|
||||
@@ -22,7 +22,11 @@ LIBEXT = dll
|
||||
@@ -24,7 +24,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
|
||||
+INSTALL_TARGETS = league xml fastcgi soap wsse wsdl2ada sql
|
||||
+
|
||||
+ifdef WANT_AMF
|
||||
+ifdef ENABLE_AMF
|
||||
+INSTALL_TARGETS += amf dd uml mofext ocl utp
|
||||
+endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user