summaryrefslogtreecommitdiff
path: root/math/rocs/Makefile
blob: 69693028ab7359800eb59abff1efc304180747ca (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
# $FreeBSD$

PORTNAME=	rocs
DISTVERSION=	${KDE_APPLICATIONS_VERSION}
CATEGORIES=	math kde kde-applications

MAINTAINER=	kde@FreeBSD.org
COMMENT=	KDE Graph theory IDE

LIB_DEPENDS=	libboost_thread.so:devel/boost-libs

USES=		cmake compiler:c++11-lang gettext grantlee:5 kde:5 \
		qt:5 tar:xz
USE_KDE=	archive auth codecs completion config configwidgets coreaddons \
		crash doctools ecm i18n itemviews jobwidgets kdeclarative \
		kio package parts service sonnet texteditor textwidgets \
		widgetsaddons xmlgui
USE_QT=		core dbus declarative gui network script scripttools svg webkit \
		widgets xml xmlpatterns \
		buildtools_build qmake_build

USE_LDCONFIG=	yes

# clang 6.0 defaults to -std=gnu++14, which breaks the build:
# /wrkdirs/usr/ports/math/rocs/work/rocs-4.14.3/VisualEditor/Actions/SelectMoveHandAction.cpp:86:52: error: no viable conversion from 'int' to 'QPainter::RenderHints' (aka 'QFlags<QPainter::RenderHint>')
#         _graphScene->views().at(0)->setRenderHints(QPainter::Antialiasing
USE_CXXSTD=	gnu++98

OPTIONS_DEFINE=	DOCS

.include <bsd.port.mk>