summaryrefslogtreecommitdiff
path: root/devel/kdevplatform/Makefile
blob: d7e84b09a2e47ad9fe70ada315b9d143bc828848 (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
35
36
37
38
39
# $NetBSD: Makefile,v 1.104 2021/12/08 16:04:00 adam Exp $
#

DISTNAME=	kdevplatform-1.7.0
PKGREVISION=	47
CATEGORIES=	devel kde
MASTER_SITES=	${MASTER_SITE_KDE:=kdevelop/4.7.0/src/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	frank@fthieme.net
HOMEPAGE=	https://www.kdevelop.org/
COMMENT=	KDE development platform, used by KDevelop 4
#LICENSE=	# TODO: (see mk/license.mk)

BUILD_DEPENDS+=	automoc4>=0.9.87:../../devel/automoc4

USE_TOOLS+=	pkg-config perl msgfmt bash:run
USE_LANGUAGES=	c c++

# sublime uses "auto",  -std=c++11 is set
GCC_REQD+=	4.7

CXXFLAGS.Linux+=	-fpermissive
LDFLAGS.SunOS+=		-lsocket -lnsl

REPLACE_BASH+= \
	util/kdevplatform_shell_environment.sh \
	util/kdev_format_source

BUILDLINK_DEPMETHOD.qt4-tools=	full
.include "../../meta-pkgs/kde4/kde4.mk"

.include "../../x11/kdelibs4/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/grantlee/buildlink3.mk"
.include "../../devel/qjson/buildlink3.mk"
.include "../../devel/subversion-base/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"