freebsd-ports/textproc/xml_ez_out/Makefile
John Marino d0c4d21a83 Change Ada Framework foundation from gcc5-aux to gcc6-aux
GCC 6.1 was released this week.  The Ada Framework in FreeBSD ports has
been based on GCC 5.3 GNAT although GCC 6.x has been supported for awhile
via the ADA_DEFAULT option in make.conf.

Now that GCC 6 has been officially released, switch to it by default.
People can maintain the old foundation by putting "ADA_DEFAULT=5" in
/etc/make.conf.

Libraries built by one GNAT are unusable by another, so almost every Ada
port has been bumped as a result.  Noticable exceptions are dns/ironsides
which fails to build on gcc6 (thus USES=ada:5 is set) and cad/ghdl which
needs additional testing as it may require gcc5 on FreeBSD (DragonFly
uses the LLVM backend only).
2016-04-30 06:44:27 +00:00

56 lines
1.5 KiB
Makefile

# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$
PORTNAME= xml_ez_out
PORTVERSION= 1.06
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://www.mckae.com/xml_ezout/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= marino@FreeBSD.org
COMMENT= Library for emitting XML from Ada programs
LICENSE= GPLv2 GMGPL
LICENSE_COMB= multi
USES= ada dos2unix tar:tgz
WRKSRC= ${WRKDIR}/xml_ez_out
BUILD_WRKSRC= ${WRKSRC}/mckae
PORTDOCS= README
PORTEXAMPLES= example.gpr tmeztf.adb runme.sh
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-extract:
${CP} ${FILESDIR}/xezo_bld.gpr ${WRKSRC}
${SED} -e "s,@PREFIX@,${LOCALBASE},g" ${FILESDIR}/runme.sh.in \
> ${WRKSRC}/runme.sh
do-build:
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -p -Pxezo_bld)
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
${STAGEDIR}${PREFIX}/lib/xml_ez_out \
${STAGEDIR}${PREFIX}/include/xml_ez_out
${INSTALL_DATA} ${FILESDIR}/xml_ez_out.gpr \
${STAGEDIR}${PREFIX}/lib/gnat
${INSTALL_DATA} ${BUILD_WRKSRC}/mckae* \
${STAGEDIR}${PREFIX}/include/xml_ez_out
${INSTALL_DATA} ${WRKSRC}/lib/* \
${STAGEDIR}${PREFIX}/lib/xml_ez_out
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${BUILD_WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/runme.sh ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${BUILD_WRKSRC}/tmeztf.adb \
${FILESDIR}/example.gpr ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>