summaryrefslogtreecommitdiff
path: root/graphics/TiffIO/Makefile
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2005-12-09 15:47:34 +0000
committergdt <gdt@pkgsrc.org>2005-12-09 15:47:34 +0000
commitd7120dd7e74039dfda10c3a3ad3ff140acdd50ce (patch)
tree430bfc35a4e479bd4bacbe6c567ea87691f7578e /graphics/TiffIO/Makefile
parent84c69ee1547e24d999a03443c0551748ce9a487c (diff)
downloadpkgsrc-d7120dd7e74039dfda10c3a3ad3ff140acdd50ce.tar.gz
TiffIO is a plugin that add TIFF images read/write capabilities to the
Qt3 and Qt4 QImage class. Adding the generated plugin in the Qt's tree enable any Qt application to manipulate TIFF images. TiffIO come with a self-test suite, and have been compiled and used successfully on a variety of windows and unixes platforms.
Diffstat (limited to 'graphics/TiffIO/Makefile')
-rw-r--r--graphics/TiffIO/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/graphics/TiffIO/Makefile b/graphics/TiffIO/Makefile
new file mode 100644
index 00000000000..013622aefc1
--- /dev/null
+++ b/graphics/TiffIO/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/12/09 15:47:34 gdt Exp $
+#
+
+DISTNAME= TiffIO-110c
+PKGNAME= TiffIO-1.1.0.3
+CATEGORIES= graphics
+MASTER_SITES= http://artis.imag.fr/Software/TiffIO/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= gdt@ir.bbn.com
+HOMEPAGE= http://artis.imag.fr/Software/TiffIO/
+COMMENT= Tiff support for QT image loader
+
+# We need qmake to build package's Makefile
+BUILDLINK_DEPMETHOD.qt3-tools= build
+
+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}"
+
+# XXX The package uses an included version of tiff.
+#.include "../../graphics/tiff/buildlink3.mk"
+
+.include "../../x11/qt3-libs/buildlink3.mk"
+.include "../../x11/qt3-tools/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"