summaryrefslogtreecommitdiff
path: root/graphics/TiffIO/Makefile
blob: 9d804da37bca532a9a27b8cd3622955a6e9b562c (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.21 2013/01/26 21:37:40 adam Exp $
#

DISTNAME=		TiffIO-120e
PKGNAME=		TiffIO-1.2.0e
PKGREVISION=		8
CATEGORIES=		graphics
MASTER_SITES=		http://artis.imag.fr/Software/TiffIO/SOURCES/
EXTRACT_SUFX=		.tgz

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://artis.imag.fr/Software/TiffIO/
COMMENT=		Tiff support for QT image loader

USE_TOOLS+=	gmake
USE_LANGUAGES=	c c++

PKGSRC_MAKE_ENV+=	QTDIR=${QTDIR:Q} RPM_BUILD_ROOT=${DESTDIR}

.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.tiff+=	tiff>=3.8.1
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"

do-configure:
	cd ${WRKSRC} && ${SETENV} QTDIR=${QTDIR:Q} ${QTDIR}/bin/qmake \
		CONFIG+=libtiff \
		JPEG=${JPEGBASE}/include \
		TIFF_ROOT=${BUILDLINK_PREFIX.tiff} \
		ZLIB=${BUILDLINK_PREFIX.zlib} TiffIO.pro

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