summaryrefslogtreecommitdiff
path: root/devel/kdevelop-base/Makefile
blob: 24599f363a51b48eee9bcaa79bc82ccf9566070c (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# $NetBSD: Makefile,v 1.23 2003/07/30 15:56:13 markd Exp $

DISTNAME=	kdevelop-2.1.5_for_KDE_3.1
PKGNAME=	kdevelop-base-2.1.5
PKGREVISION=	3
CATEGORIES=	devel kde

MASTER_SITES=	ftp://ftp.kde.org/pub/kde/stable/kdevelop-2.1.5/src/ \
		ftp://ftp.us.kde.org/pub/kde/stable/kdevelop-2.1.5/src/ \
		ftp://ftp.de.kde.org/pub/kde/stable/kdevelop-2.1.5/src/
HOMEPAGE=       http://www.kdevelop.org/
COMMENT=	Base modules for IDE for Unix/X11/KDE

KDEVELOP_SRCS=	${DISTNAME}${EXTRACT_SUFX}
DISTFILES=	${KDEVELOP_SRCS}
EXTRACT_ONLY=	${KDEVELOP_SRCS}

KDEVELOP_TEMPLATES= \
		gnome \
		qextmdi \
		qt2 \
		qtmdi

.for template in ${KDEVELOP_TEMPLATES}
DISTFILES+=	template-${template}-20030702.tar.gz

SITES_template-${template}-20030702.tar.gz=	${MASTER_SITE_LOCAL:=kdevelop/}
.endfor

.include "../../meta-pkgs/kde3/Makefile.kde3"

BUILD_USES_MSGFMT=	yes
USE_BUILDLINK2=		yes

DEPENDS+=		automake>=1.7:../../devel/automake
DEPENDS+=		kdoc>=3.0:../../textproc/kdoc
DEPENDS+=		htdig>=3.1.6:../../www/htdig
DEPENDS+=		a2ps>=4.12:../../print/a2ps
DEPENDS+=		kdelibdocs>=3.1:../../x11/kdelibdocs3
DEPENDS+=		qt3-tools>=3.1.1:../../x11/qt3-tools
DEPENDS+=		kdesdk>=3.1:../../devel/kdesdk3

CONFLICTS+=	kdevelop<=1.3

USE_PERL5=	yes

post-extract:
.for template in ${KDEVELOP_TEMPLATES}
	${RM} -f ${WRKSRC}/kdevelop/templates/${template}.tar.gz
	${CP} ${DISTDIR}/template-${template}-20030702.tar.gz \
		${WRKSRC}/kdevelop/templates/${template}.tar.gz
.endfor

REPLACE_PERL= \
	kdevelop/tools/processesend.pl \
	kdevelop/tools/processes.pl.in \
	kdevelop/tools/one2two \
	kdevelop/tools/kdevdlg2ui \
	kdevelop/tools/kimport

EVAL_PREFIX+=	\
	QT3DIR=qt3 \
	KDELIBDIR=kdelibs

CONFIGURE_ARGS+= \
	--with-qtdoc-dir=${QT3DIR}/qt3/doc/html \
	--with-kdelibsdoc-dir=${KDELIBDIR}/share/doc/kde/HTML/en/kdelibs \
	--enable-kdoc3

.include "../../meta-pkgs/kde3/buildlink2.mk"
.include "../../x11/kdebase3/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"