freebsd-ports/math/plplot-ada/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

31 lines
785 B
Makefile

# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$
PORTNAME= plplot
PORTVERSION= ${RELEASE}
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20Source
PKGNAMESUFFIX= -ada
MAINTAINER= marino@FreeBSD.org
COMMENT= Ada bindings for PLplot
LICENSE= LGPL3
LIB_DEPENDS= libplplot.so:math/plplot
USES= ada
DISTINFO_FILE= ${.CURDIR}/../plplot/distinfo
RELEASE!= awk '/SHA/ {split($$2,a,"."); print substr(a[1], 9) "." a[2] "." a[3];}' ${DISTINFO_FILE}
BUILD_WRKSRC= ${WRKSRC}/bindings
INSTALL_WRKSRC= ${WRKSRC}/bindings
post-extract:
${CP} ${FILESDIR}/build_plplot.gpr ${FILESDIR}/Makefile \
${BUILD_WRKSRC}
${CAT} ${FILESDIR}/plplot.gpr.in | \
${SED} -e "s|@PREFIX@|${PREFIX}|g" > ${BUILD_WRKSRC}/plplot.gpr
.include <bsd.port.mk>