mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
e1652f1472
- Bump PORTREVISION PR: ports/148990 Submitted by: Anonymous <swell.k@gmail.com> Approved by: maintainer timeout (nork ; 136 days)
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# New ports collection makefile for: OpenEXR
|
|
# Date created: 2003/01/26
|
|
# Whom: nork@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= OpenEXR
|
|
PORTVERSION= 1.6.1
|
|
PORTREVISION= 3
|
|
DISTNAME= ${PORTNAME:L}-${PORTVERSION}
|
|
CATEGORIES= graphics devel
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME:L}
|
|
|
|
MAINTAINER= nork@FreeBSD.org
|
|
COMMENT= A high dynamic-range (HDR) image file format
|
|
|
|
LIB_DEPENDS= Half.6:${PORTSDIR}/graphics/ilmbase
|
|
|
|
USE_GMAKE= yes
|
|
USE_GNOME= pkgconfig
|
|
USE_LDCONFIG= yes
|
|
USE_AUTOTOOLS= libtool
|
|
GNU_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS+=--enable-imfexamples
|
|
|
|
# must be explicitely linked with -l{thr|pthread}
|
|
CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}"
|
|
PTHREAD_LIBS+= `${CC} -dumpspecs | ${SED} -ne '/%{\!pg: %{pthread:/s/^.*%{\!pg: %{pthread:\([^}]*\)}.*$$/\1/p' || ${TRUE}`
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
test check: build
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# IlmImfTest hangs indefinitely
|
|
#
|
|
#.if defined(PACKAGE_BUILDING)
|
|
#.if ${ARCH} != sparc64 || ${OSVERSION} >= 700055
|
|
#.if ${ARCH} != amd64 || ${OSVERSION} < 800000
|
|
#pre-install: test
|
|
#.endif
|
|
#.endif
|
|
#.endif
|
|
|
|
|
|
.include <bsd.port.post.mk>
|