1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/math/labplot/Makefile
Martin Wilke 152e1d242d - Update to 2.0.1
PR:		185936
Submitted by:	Ports Fury
2014-05-18 07:31:40 +00:00

34 lines
846 B
Makefile

# Created by: Kay Lehmann <kay_lehmann@web.de>
# $FreeBSD$
PORTNAME= labplot
PORTVERSION= 2.0.1
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
LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
USE_BZIP2= yes
USES= cmake shared-mime-info
USE_XORG= xft xpm
USE_GCC= yes
USE_KDE4= automoc4 kdelibs kdeprefix
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>