summaryrefslogtreecommitdiff
path: root/x11/qwspritefield/Makefile
blob: 1cd31c410231fde3a69ced3459d50ea572d307c5 (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
# $NetBSD: Makefile,v 1.22 2004/10/28 12:27:08 wiz Exp $

DISTNAME=	QwSpriteField1.6
PKGNAME=	qwspritefield-1.6
PKGREVISION=	2
CATEGORIES=	x11 graphics
MASTER_SITES=	ftp://ftp.troll.no/contrib/

MAINTAINER=	tech-pkg@NetBSD.org
COMMENT=	Efficiently redrawn sprites in the Qt GUI Toolkit

CONFLICTS=	kdesupport-1.0

WRKSRC=		${WRKDIR}/QwSpriteField
USE_BUILDLINK3=	YES
USE_X11=	yes
USE_GNU_TOOLS+=	make
USE_LIBTOOL=	yes

QW_INCLUDES=	Pix.h QwCluster.h QwPublicList.h QwSpriteField.h

MAKE_ENV+=	CXX=${CXX:Q} QTDIR=${QT1DIR:Q}

do-install:
	@${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/libQwSpriteField.la \
	  ${PREFIX}/lib
	@QT1DIR=${QT1DIR};		\
	for FILE in ${QW_INCLUDES}; do					\
		${INSTALL_DATA} ${WRKSRC}/$$FILE $$QT1DIR/include;	\
	done

.include "../../x11/qt1/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"