summaryrefslogtreecommitdiff
path: root/x11/qt2-designer-kde/Makefile
blob: ed4c962048e2afd23e25a4759fffd6f0681ec8ab (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
# $NetBSD: Makefile,v 1.1 2001/05/14 17:09:26 drochner Exp $
#

.include "../qt2-libs/Makefile.common"

PKGNAME=		qt2-designer-kde-${QTVERSION}

COMMENT=		Visual (WYSIWYG) QT GUI builder

DEPENDS+=		qt2-libs-${QTVERSION}:../../x11/qt2-libs
DEPENDS+=		kdelibs-2.1nb1:../../x11/kdelibs2
DEPENDS+=		qt2-designer-${QTVERSION}:../qt2-designer

ALL_TARGET=		sub-tools

EVAL_PREFIX+=           KDEBASEDIR=kdelibs

CONFIGURE_ARGS+=	-kde
CONFIGURE_ENV+=		QTDIR="${QTPREFIX}" \
			KDEDIR="${KDEBASEDIR}"
MAKE_ENV+=		QTDIR=${QTPREFIX} \
			KDEDIR="${KDEBASEDIR}"

do-install:
	${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/tools/designer/designer/designer ${QTPREFIX}/bin/designer-kde

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