freebsd-ports/math/labplot/Makefile
Gerald Pfeifer 89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00

34 lines
872 B
Makefile

# Created by: Kay Lehmann <kay_lehmann@web.de>
# $FreeBSD$
PORTNAME= labplot
PORTVERSION= 2.0.1
PORTREVISION= 4
CATEGORIES= math kde
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}.0
MAINTAINER= ports@FreeBSD.org
COMMENT= Data plotting and function analysis tool for KDE
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgsl.so:math/gsl
USES= cmake kde:4 shared-mime-info tar:bzip2
USE_XORG= xft xpm
USE_GCC= yes
USE_KDE= automoc4 kdelibs
USE_QT4= moc_build qmake_build rcc_build uic_build
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/local/|${LOCALBASE}/|g' ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e \
's|i->\(children<T>\)|\1|' \
${WRKSRC}/src/backend/core/AbstractAspect.h
@${REINPLACE_CMD} -e \
's|!isnan|!std::isnan|' \
${WRKSRC}/src/backend/worksheet/plots/cartesian/CartesianCoordinateSystem.cpp
.include <bsd.port.mk>