blob: 7e9f59048d75af3a8c174f90d7e231d4ec8b3f27 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# New ports collection makefile for: OpenEXR
# Date created: 2003/01/26
# Whom: nork@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= OpenEXR
PORTVERSION= 1.2.2
PORTREVISION= 0
CATEGORIES= graphics devel
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= openexr
MAINTAINER= nork@FreeBSD.org
COMMENT= A high dynamic-range (HDR) image file format
USE_AUTOTOOLS= libtool:13:inc
GNU_CONFIGURE= YES
USE_GMAKE= yes
USE_GNOME= pkgconfig
INSTALLS_SHLIB= YES
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${PORTVERSION}
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_X11) && defined(WITH_FLTK)
CONFIGURE_ARGS+=--with-fltk-config=${X11BASE}/bin/fltk-config
USE_MESA= YES
CFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
PLIST_SUB+= WITH_FLTK=
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk-threads
.else
CONFIGURE_ARGS+=--with-fltk-config=${FALSE} --without-x
PLIST_SUB+= WITH_FLTK="@comment "
.endif
.include <bsd.port.post.mk>
|