summaryrefslogtreecommitdiff
path: root/x11/kdelibdocs/Makefile
blob: 6d744fb1039761d8b7e51fa79c27a7491a53e647 (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
# $NetBSD: Makefile,v 1.3 2001/03/04 08:45:14 tron 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_DEPENDS+= ${LOCALBASE}/bin/msgfmt:../../devel/gettext
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"