summaryrefslogtreecommitdiff
path: root/devel/kdevplatform/Makefile
blob: 9de1bbac833e9416fbc582cb2c1ddce15f42cf4d (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.59 2015/06/12 10:48:50 wiz Exp $
#

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

MAINTAINER=	frank@fthieme.net
HOMEPAGE=	http://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"