summaryrefslogtreecommitdiff
path: root/devel/umbrello/Makefile
blob: 0575d8051deaeeb359d565b77e1c5a200f2ee7f4 (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
PORTNAME=	umbrello
DISTVERSION=	${KDE_APPLICATIONS_VERSION}
PORTREVISION=	2
CATEGORIES=	devel kde kde-applications

MAINTAINER=	kde@FreeBSD.org
COMMENT=	UML modeller for KDE

LIB_DEPENDS=	libboost_thread.so:devel/boost-libs

USES=		cmake compiler:c++11-lang desktop-file-utils gnome kde:5 qt:5 tar:xz
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

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>