summaryrefslogtreecommitdiff
path: root/x11/qt2-designer-kde/Makefile
blob: 1016cbf511d70f6586da3d96ce6bb493e6938ed0 (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
# $NetBSD: Makefile,v 1.14 2003/07/13 13:54:29 wiz Exp $
#

PKGNAME=		qt2-designer-kde-${QTVERSION}
PKGREVISION=		4
COMMENT=		Visual (WYSIWYG) QT GUI builder with KDE widget support

CONFLICTS+=		qt2-designer-[0-9]*

USE_BUILDLINK2=		yes
BUILDLINK_DEPENDS.qt2-libs=	qt2-libs>=${QTVERSION}nb2

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

CONFIGURE_ARGS+=	-kde
CONFIGURE_ENV+=		KDEDIR="${KDEDIR}"
MAKE_ENV+=		KDEDIR="${KDEDIR}"

ALL_TARGET=		sub-tools
UNLIMIT_RESOURCES=	datasize

do-install:
	${PKGLIBTOOL} ${INSTALL_DATA} \
		${WRKSRC}/tools/designer/util/libqutil.la ${QTPREFIX}/lib
	${PKGLIBTOOL} ${INSTALL_PROGRAM} \
		${WRKSRC}/tools/designer/uic/uic ${QTPREFIX}/bin
	${PKGLIBTOOL} ${INSTALL_PROGRAM} \
		${WRKSRC}/tools/designer/designer/designer ${QTPREFIX}/bin

.include "../../x11/kdelibs2/buildlink2.mk"

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