summaryrefslogtreecommitdiff
path: root/graphics/TiffIO/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-03-23 03:25:12 +0000
committerminskim <minskim@pkgsrc.org>2006-03-23 03:25:12 +0000
commit4baa0ffb84e5f07043bb667405cdaa91694fc66d (patch)
tree0126d406dc22c758e5a124fc2e22c99d1d1c8dbe /graphics/TiffIO/Makefile
parenta86804141e6c8d9826f9deee90b9a2ae081e1dd8 (diff)
downloadpkgsrc-4baa0ffb84e5f07043bb667405cdaa91694fc66d.tar.gz
Update TiffIO to 1.2.0e.
Changes: - Use libtiff>3.8. - bit order is different from byte order. So don't messup endianness with LSBfirst in bitmaps. - Added support for Lab up to 3x16bits and RGB/RGBA up to 4x32bits.
Diffstat (limited to 'graphics/TiffIO/Makefile')
-rw-r--r--graphics/TiffIO/Makefile36
1 files changed, 17 insertions, 19 deletions
diff --git a/graphics/TiffIO/Makefile b/graphics/TiffIO/Makefile
index 4e6ce558d03..a6da2b232ec 100644
--- a/graphics/TiffIO/Makefile
+++ b/graphics/TiffIO/Makefile
@@ -1,35 +1,33 @@
-# $NetBSD: Makefile,v 1.7 2006/03/17 21:27:38 gdt Exp $
+# $NetBSD: Makefile,v 1.8 2006/03/23 03:25:12 minskim Exp $
#
-DISTNAME= TiffIO-110c
-PKGNAME= TiffIO-1.1.0.3
-PKGREVISION= 3
+DISTNAME= TiffIO-120e
+PKGNAME= TiffIO-1.2.0e
CATEGORIES= graphics
-MASTER_SITES= http://artis.imag.fr/Software/TiffIO/
+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++
+USE_TOOLS+= gmake
+USE_LANGUAGES= c c++
-do-configure:
- (cd ${WRKSRC} && ${QTDIR}/bin/qmake -o Makefile TiffIO.pro; \
- ${SED} -e 's,-rpath.*$$,-rpath "${QTDIR}/lib",' < Makefile > Makefile.new; \
- ${MV} Makefile.new Makefile; \
- )
-
-do-install:
- (cd ${WRKSRC} && \
- libtool --mode=install ${INSTALL_PROGRAM} libTiffIO.la ${PREFIX}/qt3/plugins/imageformats && \
- libtool --finish ${PREFIX}/qt3/plugins/imageformats)
-
-BUILD_ENV+= QTDIR="${QTDIR}"
+BUILD_ENV+= QTDIR=${QTDIR:Q}
+.include "../../devel/zlib/buildlink3.mk"
+BUILDLINK_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"