pkgsrc/graphics/TiffIO/Makefile
jlam 7d1f4cca8e "BUILD_ENV" was misnamed. It's actually the environment that is passed
to all internal recursive make processes.  As such, rename it to
"PKGSRC_MAKE_ENV".

XXX Note, some of the usage of this variable in package Makefiles seems
XXX incorrect.  They probably want "MAKE_ENV", which is the environment
XXX passed to the make process when running "make" within ${WRKSRC}.
2006-07-21 14:27:56 +00:00

34 lines
952 B
Makefile

# $NetBSD: Makefile,v 1.11 2006/07/21 14:27:56 jlam Exp $
#
DISTNAME= TiffIO-120e
PKGNAME= TiffIO-1.2.0e
PKGREVISION= 1
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}
.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.tiff+= tiff>=3.8.1
.include "../../graphics/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=${BUILDLINK_PREFIX.jpeg}/include \
TIFF_ROOT=${BUILDLINK_PREFIX.tiff} \
ZLIB=${BUILDLINK_PREFIX.zlib} TiffIO.pro
.include "../../mk/bsd.pkg.mk"