1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/devel/matreshka/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

58 lines
1.3 KiB
Makefile

# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$
PORTNAME= matreshka
PORTVERSION= 0.7.0
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://forge.ada-ru.org/matreshka/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= Ada framework for information systems development
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= gprbuild:devel/gprbuild
USES= ada gmake pkgconfig
HAS_CONFIGURE= yes
NO_MTREE= yes
OPTIONS_DEFINE= SQLITE3 FIREBIRD PGSQL MYSQL ORACLE AMF
OPTIONS_DEFAULT=SQLITE3 PGSQL
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
MYSQL_USE= MYSQL=yes
PGSQL_USES= pgsql
SQLITE3_USES= sqlite
FIREBIRD_USES= firebird
MAKE_JOBS_UNSAFE= yes
MAKE_ENV+= SMP_MFLAGS=-j${MAKE_JOBS_NUMBER}
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFIREBIRD}
CONFIGURE_ARGS+= --with-firebird-libdir=${LOCALBASE}/lib
.endif
pre-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${MAKE_CMD} config
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so \
${STAGEDIR}${PREFIX}/bin/wsdl2ada
@cd ${STAGEDIR}${PREFIX}; ${FIND} * \( -type f -or -type l \) | \
${SORT} >> ${TMPPLIST}
.include <bsd.port.mk>