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
|
2005-10-08 23:00:48 +02:00
|
|
|
PORTVERSION= 1.2.2
|
2006-01-12 13:54:32 +01:00
|
|
|
PORTREVISION= 1
|
2003-01-26 13:39:22 +01:00
|
|
|
CATEGORIES= graphics devel
|
2004-06-09 17:43:51 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
|
|
MASTER_SITE_SUBDIR= openexr
|
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
|
|
|
|
2005-11-15 07:52:12 +01:00
|
|
|
USE_AUTOTOOLS= libtool:13:inc
|
2003-01-26 13:39:22 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2004-06-09 17:43:51 +02:00
|
|
|
USE_GMAKE= yes
|
2004-12-23 14:06:27 +01:00
|
|
|
USE_GNOME= pkgconfig
|
2003-01-27 17:48:17 +01:00
|
|
|
INSTALLS_SHLIB= YES
|
2003-01-26 13:39:22 +01:00
|
|
|
|
2003-03-24 17:25:36 +01:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2003-01-26 13:39:22 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-05-11 21:45:59 +02:00
|
|
|
.if !defined(WITHOUT_X11) && defined(WITH_FLTK)
|
2003-03-24 12:57:41 +01:00
|
|
|
CONFIGURE_ARGS+=--with-fltk-config=${X11BASE}/bin/fltk-config
|
2003-01-26 13:39:22 +01:00
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS}
|
2005-03-10 13:05:24 +01:00
|
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
2003-01-26 13:39:22 +01:00
|
|
|
PLIST_SUB+= WITH_FLTK=
|
2006-01-12 13:54:32 +01:00
|
|
|
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk-threads \
|
|
|
|
glut.4:${PORTSDIR}/graphics/libglut
|
2003-01-26 13:39:22 +01:00
|
|
|
.else
|
2003-03-24 17:25:36 +01:00
|
|
|
CONFIGURE_ARGS+=--with-fltk-config=${FALSE} --without-x
|
2003-01-27 17:48:17 +01:00
|
|
|
PLIST_SUB+= WITH_FLTK="@comment "
|
2003-01-26 13:39:22 +01:00
|
|
|
.endif
|
2003-01-27 17:48:17 +01:00
|
|
|
|
2003-01-26 13:39:22 +01:00
|
|
|
.include <bsd.port.post.mk>
|