diff options
author | nork <nork@FreeBSD.org> | 2003-01-26 12:39:22 +0000 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-01-26 12:39:22 +0000 |
commit | 6a9cd3b00720b2c01ad84e00f55e26acf516e13f (patch) | |
tree | 3b04370d7873c0f728a6daef6179fdbb010c7b86 /graphics/OpenEXR | |
parent | 84202f8e7d8e0a2b6f655bdcade751843a81c83e (diff) | |
download | FreeBSD-ports-6a9cd3b00720b2c01ad84e00f55e26acf516e13f.zip FreeBSD-ports-6a9cd3b00720b2c01ad84e00f55e26acf516e13f.tar.gz |
Add OpenEXR(1.0.4), a high dynamic-range (HDR) image file format
(manipulator) developed by Industrial Light & Magic, a division
of Lucas Digital Ltd. LLC. It was used in the movies Harry Potter,
Men in Black II, and Signs.
Submitted by: NINOMIYA Hideyuki <nin@Jp.FreeBSD.org>
Diffstat (limited to 'graphics/OpenEXR')
-rw-r--r-- | graphics/OpenEXR/Makefile | 49 | ||||
-rw-r--r-- | graphics/OpenEXR/distinfo | 1 | ||||
-rw-r--r-- | graphics/OpenEXR/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | graphics/OpenEXR/files/patch-OpenEXR.pc.in | 10 | ||||
-rw-r--r-- | graphics/OpenEXR/files/patch-configure | 23 | ||||
-rw-r--r-- | graphics/OpenEXR/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/OpenEXR/pkg-descr | 18 | ||||
-rw-r--r-- | graphics/OpenEXR/pkg-plist | 86 |
8 files changed, 199 insertions, 0 deletions
diff --git a/graphics/OpenEXR/Makefile b/graphics/OpenEXR/Makefile new file mode 100644 index 0000000..cbb0369 --- /dev/null +++ b/graphics/OpenEXR/Makefile @@ -0,0 +1,49 @@ +# New ports collection makefile for: OpenEXR +# Date created: 2003/01/26 +# Whom: nork@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= OpenEXR +PORTVERSION= 1.0.4 +CATEGORIES= graphics devel +MASTER_SITES= http://savannah.nongnu.org/download/openexr/${PORTNAME}.pkg/${PORTVERSION}/ + +MAINTAINER= nork@FreeBSD.org + +USE_GCC= 3.1 +USE_LIBTOOL= YES +GNU_CONFIGURE= YES + +#CONFIGURE_ENV+= --program-transform-name='' + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_X11) +.if defined(WITH_FLTK) || defined(WITH_FLTK_XUNICODE) +.if defined(WITH_FLTK_XUNICODE) +BUILD_DEPENDS= fltk-config:${PORTSDIR}/x11-toolkits/fltk-xunicode +.else +BUILD_DEPENDS= fltk-config:${PORTSDIR}/x11-toolkits/fltk +.endif +USE_MESA= YES +RUN_DEPENDS= ${BUILD_DEPENDS} +CONFIGURE_ARGS+=--with-fltk-prefix=${X11BASE} +CFLAGS+= ${PTHREAD_CFLAGS} +LDFLAGS+= ${PTHREAD_LDFLAGS} +PLIST_SUB+= WITH_FLTK= +.if ${OSVERSION} < 500035 +pre-everything:: + @${ECHO_CMD} Please install x11-toolkits/fltk* with USE_GCC=3.1. +.endif +.else +CONFIGURE_ARGS+=--with-fltk-prefix=DUMMY +PLIST_SUB+= WITH_FLTK=@comment +.endif +.else +CONFIGURE_ARGS+=--without-x --with-fltk-prefix=DUMMY +PLIST_SUB+= WITH_FLTK=@comment +.endif + +.include <bsd.port.post.mk> diff --git a/graphics/OpenEXR/distinfo b/graphics/OpenEXR/distinfo new file mode 100644 index 0000000..759deb9 --- /dev/null +++ b/graphics/OpenEXR/distinfo @@ -0,0 +1 @@ +MD5 (OpenEXR-1.0.4.tar.gz) = b480452f132dea4747293cf2bd5eccda diff --git a/graphics/OpenEXR/files/patch-Makefile.in b/graphics/OpenEXR/files/patch-Makefile.in new file mode 100644 index 0000000..f7b004e --- /dev/null +++ b/graphics/OpenEXR/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Tue Jan 21 17:47:42 2003 ++++ Makefile.in Sun Jan 26 17:12:58 2003 +@@ -146,7 +146,7 @@ + + EXTRA_DIST = bootstrap README.OSX README.CVS LICENSE + +-pkgconfigdir = $(libdir)/pkgconfig ++pkgconfigdir = $(prefix)/libdata/pkgconfig + pkgconfig_DATA = OpenEXR.pc + subdir = . + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 diff --git a/graphics/OpenEXR/files/patch-OpenEXR.pc.in b/graphics/OpenEXR/files/patch-OpenEXR.pc.in new file mode 100644 index 0000000..ec51129 --- /dev/null +++ b/graphics/OpenEXR/files/patch-OpenEXR.pc.in @@ -0,0 +1,10 @@ +--- OpenEXR.pc.in.orig Tue Jan 21 15:32:59 2003 ++++ OpenEXR.pc.in Sun Jan 26 17:22:48 2003 +@@ -8,5 +8,5 @@ + Description: OpenEXR image library + Version: @OPENEXR_VERSION@ + Libs: -L${libdir} -lIlmImf -lImath -lHalf -lIex -lz +-Cflags: -I${OpenEXR_includedir +-Cxxflags: -I${OpenEXR_includedir} ++Cflags: -I${OpenEXR_includedir} ++#Cxxflags: -I${OpenEXR_includedir} diff --git a/graphics/OpenEXR/files/patch-configure b/graphics/OpenEXR/files/patch-configure new file mode 100644 index 0000000..7489471 --- /dev/null +++ b/graphics/OpenEXR/files/patch-configure @@ -0,0 +1,23 @@ +--- configure.orig Tue Jan 21 17:47:43 2003 ++++ configure Sun Jan 26 21:20:16 2003 +@@ -1559,10 +1559,12 @@ + + # The aliases save the names the user supplied, while $host etc. + # will get canonicalized. ++if false; then + test -n "$target_alias" && + test "$program_prefix$program_suffix$program_transform_name" = \ + NONENONEs,x,x, && + program_prefix=${target_alias}- ++fi + + OPENEXR_MAJOR_VERSION=1 + OPENEXR_MINOR_VERSION=0 +@@ -8302,6 +8304,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++#$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/graphics/OpenEXR/pkg-comment b/graphics/OpenEXR/pkg-comment new file mode 100644 index 0000000..39ea8c8 --- /dev/null +++ b/graphics/OpenEXR/pkg-comment @@ -0,0 +1 @@ +OpenEXR, a high dynamic-range (HDR) image file format developed by ILM diff --git a/graphics/OpenEXR/pkg-descr b/graphics/OpenEXR/pkg-descr new file mode 100644 index 0000000..4e5a36a --- /dev/null +++ b/graphics/OpenEXR/pkg-descr @@ -0,0 +1,18 @@ +Industrial Light & Magic(ILM), a division of Lucas Digital +Ltd. LLC, implemented its own extended dynamic range file +format in Summer 2000. The existing 8-bit file format used +at the time could not accurately reproduce images with +extreme contrast between the darkest and brightest regions, +or images with very subtle color gradations. + +ILM's extended dynamic range file format has been employed +successfully in the movies Harry Potter, Men in Black II, +and Signs. Several shows currently in production at ILM are +using the new format. + +Realizing that various other parties are interested in an +extended dynamic range file format, ILM decided to polish +its new file format a bit, and to publish it. OpenEXR is +the result. + +WWW: http://www.openexr.org/ diff --git a/graphics/OpenEXR/pkg-plist b/graphics/OpenEXR/pkg-plist new file mode 100644 index 0000000..a699677 --- /dev/null +++ b/graphics/OpenEXR/pkg-plist @@ -0,0 +1,86 @@ +%%WITH_FLTK%%bin/exrdisplay +lib/libHalf.a +lib/libHalf.la +lib/libHalf.so +lib/libHalf.so.0 +lib/libIex.a +lib/libIex.la +lib/libIex.so +lib/libIex.so.0 +lib/libIlmImf.a +lib/libIlmImf.la +lib/libIlmImf.so +lib/libIlmImf.so.0 +lib/libImath.a +lib/libImath.la +lib/libImath.so +lib/libImath.so.0 +include/OpenEXR/Iex.h +include/OpenEXR/IexBaseExc.h +include/OpenEXR/IexErrnoExc.h +include/OpenEXR/IexMacros.h +include/OpenEXR/IexMathExc.h +include/OpenEXR/IexThrowErrnoExc.h +include/OpenEXR/ImathBox.h +include/OpenEXR/ImathBoxAlgo.h +include/OpenEXR/ImathColor.h +include/OpenEXR/ImathColorAlgo.h +include/OpenEXR/ImathEuler.h +include/OpenEXR/ImathExc.h +include/OpenEXR/ImathFrame.h +include/OpenEXR/ImathFrustum.h +include/OpenEXR/ImathFun.h +include/OpenEXR/ImathGL.h +include/OpenEXR/ImathGLU.h +include/OpenEXR/ImathHalfLimits.h +include/OpenEXR/ImathInterval.h +include/OpenEXR/ImathLimits.h +include/OpenEXR/ImathLine.h +include/OpenEXR/ImathLineAlgo.h +include/OpenEXR/ImathMath.h +include/OpenEXR/ImathMatrix.h +include/OpenEXR/ImathMatrixAlgo.h +include/OpenEXR/ImathPlane.h +include/OpenEXR/ImathQuat.h +include/OpenEXR/ImathRandom.h +include/OpenEXR/ImathRoots.h +include/OpenEXR/ImathShear.h +include/OpenEXR/ImathSphere.h +include/OpenEXR/ImathVec.h +include/OpenEXR/ImathVecAlgo.h +include/OpenEXR/ImfArray.h +include/OpenEXR/ImfAttribute.h +include/OpenEXR/ImfBoxAttribute.h +include/OpenEXR/ImfCRgbaFile.h +include/OpenEXR/ImfChannelList.h +include/OpenEXR/ImfChannelListAttribute.h +include/OpenEXR/ImfCompression.h +include/OpenEXR/ImfCompressionAttribute.h +include/OpenEXR/ImfDoubleAttribute.h +include/OpenEXR/ImfFloatAttribute.h +include/OpenEXR/ImfFrameBuffer.h +include/OpenEXR/ImfHeader.h +include/OpenEXR/ImfHuf.h +include/OpenEXR/ImfIO.h +include/OpenEXR/ImfInputFile.h +include/OpenEXR/ImfIntAttribute.h +include/OpenEXR/ImfLineOrder.h +include/OpenEXR/ImfLineOrderAttribute.h +include/OpenEXR/ImfLut.h +include/OpenEXR/ImfMatrixAttribute.h +include/OpenEXR/ImfName.h +include/OpenEXR/ImfOpaqueAttribute.h +include/OpenEXR/ImfOutputFile.h +include/OpenEXR/ImfPixelType.h +include/OpenEXR/ImfRgbaFile.h +include/OpenEXR/ImfStringAttribute.h +include/OpenEXR/ImfVecAttribute.h +include/OpenEXR/ImfVersion.h +include/OpenEXR/ImfWav.h +include/OpenEXR/ImfXdr.h +include/OpenEXR/half.h +include/OpenEXR/halfFunction.h +include/OpenEXR/halfLimits.h +libdata/pkgconfig/OpenEXR.pc +@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true +@dirrm include/OpenEXR |