blob: 0e8833ab333cec66f1fe1f2dac06e0976671dee2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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>
|