aboutsummaryrefslogtreecommitdiff
path: root/devel/umbrello/Makefile
blob: 676c1b2fb9c8d8a307ca3d588d3170245a28ca0c (plain) (blame)
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
PORTNAME=	umbrello
DISTVERSION=	${KDE_APPLICATIONS_VERSION}
CATEGORIES=	devel kde kde-applications

MAINTAINER=	kde@FreeBSD.org
COMMENT=	UML modeller for KDE
WWW=		https://umbrello.kde.org/

LIB_DEPENDS=	libboost_thread.so:devel/boost-libs

USES=		cmake compiler:c++11-lang desktop-file-utils gnome kde:5 qt:5 tar:xz xorg
USE_GNOME=	libxml2 libxslt
USE_KDE=	archive auth bookmarks codecs completion config configwidgets \
		coreaddons crash guiaddons i18n iconthemes init itemviews \
		jobwidgets kdelibs4support kio notifications parts service \
		solid sonnet syntaxhighlighting texteditor textwidgets unitconversion \
		widgetsaddons windowsystem xmlgui \
		ecm_build
USE_QT=		concurrent core dbus gui network printsupport svg webkit widgets xml \
		buildtools_build qmake_build testlib_build
USE_XORG=	x11

OPTIONS_DEFINE=	DOCS

post-patch:
# The CMakeFile  sets BUILD_UNITTESTS to 1, not respecting the
# value passed via CMAKE_ARGS.
	${REINPLACE_CMD} -e '/BUILD_UNITTESTS/s|1|0|' \
		${PATCH_WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>