summaryrefslogtreecommitdiff
path: root/devel/kdesdk4/Makefile
blob: c1b3762e02d113b4a985ef58a53a068160ed4002 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# New ports collection makefile for:	KDE SDK
# Date created:				2 March 2001
# Whom:					Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	kdesdk
PORTVERSION=	${KDE_VERSION}
CATEGORIES=	devel kde
MASTER_SITES=	${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR=	stable/${PORTVERSION:S/.0//}/src
DIST_SUBDIR=	KDE

MAINTAINER=	kde@FreeBSD.org
COMMENT=	KDE Software Development Kit

LIB_DEPENDS=	db4:${PORTSDIR}/databases/db4

CONFLICTS=	umbrello-[0-9]* kcachegrind-[0-9]*

USE_KDEBASE_VER=3
PREFIX=		${KDE_PREFIX}

USE_PERL5=	yes
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes

INSTALLS_SHLIB=	yes
LDCONFIG_DIRS=	%%PREFIX%%/lib %%PREFIX%%/lib/kde3

CONFIGURE_ARGS+=--with-db-include-dir=/usr/local/include/db4 \
		--with-db-lib-dir=/usr/local/lib --with-db-name=db4

MAN1=		cervisia.1 cvsversion.1 noncvslist.1 kde-build.1 cvsblame.1 cvscheck.1

.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>

pre-everything::
.if !defined(WITH_OPTIONAL_DEPENDS)
	@${ECHO_MSG}
	@${ECHO_MSG} "You may define WITH_OPTIONAL_DEPENDS (make WITH_OPTIONAL_DEPENDS=YES)"
	@${ECHO_MSG} "to automatically build the suggested programs to complement kdesdk3."
	@${ECHO_MSG}
.endif

# callgrind is optional. It depends on valgrind, which is i386 only.
.if defined(WITH_OPTIONAL_DEPENDS) && ${ARCH} == "i386"
RUN_DEPENDS+=	callgrind:${PORTSDIR}/devel/callgrind
.endif

.include <bsd.port.post.mk>