summaryrefslogtreecommitdiff
path: root/x11/kdelibdocs/Makefile
blob: d1ab3611c185c6507564f7956e54da6159eb3312 (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
# $NetBSD: Makefile,v 1.4 2001/03/27 03:20:27 hubertf Exp $
#

DISTNAME=	kdelibdocs_kdoc2-1.1
PKGNAME=	kdelibdocs-1.1
CATEGORIES=	x11
MASTER_SITES=	ftp://ftp.kdevelop.org/pub/kdevelop/

MAINTAINER=	wulf@netbsd.org
HOMEPAGE=	http://www.kdevelop.org/
COMMENT=	KDE library documentation

BUILD_USES_MSGFMT=	yes

DEPENDS+=       kdelibs-1.*:../../x11/kdelibs

USE_X11BASE=	yes
USE_GMAKE=	yes
USE_LIBTOOL=    yes
LTCONFIG_OVERRIDE=      ${WRKSRC}/admin/ltconfig
GNU_CONFIGURE=  yes

EVAL_PREFIX+=   QT1DIR=qt1

CONFIGURE_ARGS=	--datadir=${PREFIX}/share/kde \
		--with-qt-dir=${QT1DIR}/qt1 \
		--with-qtdoc-dir=${QT1DIR}/qt1/share/doc

CFLAGS+=        -I${LOCALBASE}/include

CONFIGURE_ENV=  KDEDIR=${PREFIX} \
		CXXFLAGS="${CFLAGS}" \
		all_libraries="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -L${X11BASE}/lib"

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