summaryrefslogtreecommitdiff
path: root/devel/kdevelop/Makefile
blob: ee1eae4c1ab71872c7f5907b560b359712bbf256 (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
# $NetBSD: Makefile,v 1.24 2001/02/25 16:25:41 wulf Exp $

DISTNAME=	kdevelop-1.3
CATEGORIES=	devel kde
MASTER_SITES=	ftp://ftp.e-technik.fh-muenchen.de/pub/unix/ide/KDevelop/
DISTFILES=	kdevelop-1.3.tar.bz2 \
		c_cpp_reference-1.0.tar.gz

MAINTAINER=	wulf@netbsd.org
HOMEPAGE=       http://www.kdevelop.org/
COMMENT=	Integrated Development Enviroment for Unix/X11/KDE

BUILD_DEPENDS+= msgfmt:../../devel/gettext
DEPENDS+=       autoconf-*:../../devel/autoconf
DEPENDS+=       automake-*:../../devel/automake
DEPENDS+=       a2ps-*:../../print/a2ps
DEPENDS+=       kdebase-1.*:../../x11/kdebase
DEPENDS+=       kdbg>=1.*:../../devel/kdbg
DEPENDS+=       kdoc-2*:../../textproc/kdoc
DEPENDS+=       htdig>=3.1.5:../../www/htdig
DEPENDS+=       a2ps>=4.12:../../print/a2ps
DEPENDS+=	kdelibdocs-1*:../../x11/kdelibdocs

USE_PERL5=	yes
USE_X11BASE=	yes
USE_GMAKE=	yes
USE_LIBTOOL=	yes
GNU_CONFIGURE=	yes

EVAL_PREFIX+=	QT1DIR=qt1 KDEBASEDIR=kdebase
CONFIGURE_ARGS=	--with-extra-includes=${LOCALBASE}/include \
		--with-extra-libs=${LOCALBASE}/lib \
		--with-qt-dir=${QT1DIR}/qt1 \
		--with-qtdoc-dir=${QT1DIR}/qt1/share/doc/qt/html \
		--with-kdelibsdoc-dir=${KDEBASEDIR}/share/doc/kde/HTML/default/kdelibs \
		--enable-kdoc2
CONFIGURE_ENV=	"KDEDIR=${KDEBASEDIR} QTDIR=${QT1DIR}/qt1"

CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-Wl,-R${QT1DIR}/qt1/lib

post-install:
		cd ${WRKDIR}/c_cpp_reference-1.0  && \
		./configure --with-qt-dir=${QT1DIR}/qt1 \
		&& ${GMAKE} && ${GMAKE} install

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