summaryrefslogtreecommitdiff
path: root/x11/qt2-designer-kde/Makefile
blob: c6b85d46a0acad58614a82d63e919b7de97a1bee (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.19 2004/05/01 23:57:00 snj Exp $
#

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

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

USE_BUILDLINK3=		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:
	${LIBTOOL} ${INSTALL_DATA} \
		${WRKSRC}/tools/designer/util/libqutil.la ${QTPREFIX}/lib
	${LIBTOOL} ${INSTALL_PROGRAM} \
		${WRKSRC}/tools/designer/uic/uic ${QTPREFIX}/bin
	${LIBTOOL} ${INSTALL_PROGRAM} \
		${WRKSRC}/tools/designer/designer/designer ${QTPREFIX}/bin

.include "../../x11/kdelibs2/buildlink3.mk"

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