2003-01-26 13:39:22 +01:00
|
|
|
# New ports collection makefile for: OpenEXR
|
|
|
|
# Date created: 2003/01/26
|
|
|
|
# Whom: nork@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= OpenEXR
|
2008-04-19 17:45:43 +02:00
|
|
|
PORTVERSION= 1.6.1
|
2010-12-11 00:03:35 +01:00
|
|
|
PORTREVISION= 3
|
2007-10-07 19:45:39 +02:00
|
|
|
DISTNAME= ${PORTNAME:L}-${PORTVERSION}
|
2003-01-26 13:39:22 +01:00
|
|
|
CATEGORIES= graphics devel
|
2007-10-07 19:45:39 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
2007-03-17 02:05:40 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:L}
|
2003-01-26 13:39:22 +01:00
|
|
|
|
|
|
|
MAINTAINER= nork@FreeBSD.org
|
2004-06-09 17:43:51 +02:00
|
|
|
COMMENT= A high dynamic-range (HDR) image file format
|
2003-01-26 13:39:22 +01:00
|
|
|
|
2007-10-07 19:48:22 +02:00
|
|
|
LIB_DEPENDS= Half.6:${PORTSDIR}/graphics/ilmbase
|
|
|
|
|
2004-06-09 17:43:51 +02:00
|
|
|
USE_GMAKE= yes
|
2004-12-23 14:06:27 +01:00
|
|
|
USE_GNOME= pkgconfig
|
2007-10-07 19:45:39 +02:00
|
|
|
USE_LDCONFIG= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2007-10-07 19:45:39 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2003-03-24 17:25:36 +01:00
|
|
|
|
2007-10-07 19:45:39 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-imfexamples
|
o Update to 1.4.0
o Chase libraries version bump to depending on this port.
[NOTE]
I disabled FLTK support, so you can't use OpenEXR's applications.
Because I'm validating FLTK support.
Spotted by: Nikolaj Thygesen <nikolaj.thygesen <@> diamondbox.dk>
Obtained from: Florian Kainz <kainz <@> ilm.com>
Committed at: AsiaBSDCon 2007 in Tokyo, Japan
Memorial Committing with:
bushman, kuriyama, hrs, gnn, nobutaka, nyan, motoyuki, metal,
simokawa, akiyama, ume, rwatson, pjd, mckusick, takawata,
murray, cjh, brooks, daichi, delphij, ups, rrs
2007-03-11 09:50:26 +01:00
|
|
|
|
2009-09-08 04:24:26 +02:00
|
|
|
# must be explicitely linked with -l{thr|pthread}
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
2010-04-25 05:21:39 +02:00
|
|
|
PTHREAD_LIBS+= `${CC} -dumpspecs | ${SED} -ne '/%{\!pg: %{pthread:/s/^.*%{\!pg: %{pthread:\([^}]*\)}.*$$/\1/p' || ${TRUE}`
|
2009-09-08 04:24:26 +02:00
|
|
|
|
2007-10-08 01:28:24 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
|
|
|
|
test check: build
|
|
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
|
|
|
|
|
2008-01-19 00:31:45 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-06-20 14:38:41 +02:00
|
|
|
# IlmImfTest hangs indefinitely
|
|
|
|
#
|
|
|
|
#.if defined(PACKAGE_BUILDING)
|
|
|
|
#.if ${ARCH} != sparc64 || ${OSVERSION} >= 700055
|
|
|
|
#.if ${ARCH} != amd64 || ${OSVERSION} < 800000
|
|
|
|
#pre-install: test
|
|
|
|
#.endif
|
|
|
|
#.endif
|
|
|
|
#.endif
|
o Update to 1.4.0
o Chase libraries version bump to depending on this port.
[NOTE]
I disabled FLTK support, so you can't use OpenEXR's applications.
Because I'm validating FLTK support.
Spotted by: Nikolaj Thygesen <nikolaj.thygesen <@> diamondbox.dk>
Obtained from: Florian Kainz <kainz <@> ilm.com>
Committed at: AsiaBSDCon 2007 in Tokyo, Japan
Memorial Committing with:
bushman, kuriyama, hrs, gnn, nobutaka, nyan, motoyuki, metal,
simokawa, akiyama, ume, rwatson, pjd, mckusick, takawata,
murray, cjh, brooks, daichi, delphij, ups, rrs
2007-03-11 09:50:26 +01:00
|
|
|
|
2010-03-22 06:09:23 +01:00
|
|
|
|
2008-01-19 00:31:45 +01:00
|
|
|
.include <bsd.port.post.mk>
|