forked from Lainports/freebsd-ports
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".
For ports-in-waiting:
USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13
USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213
USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14
Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
37 lines
898 B
Makefile
37 lines
898 B
Makefile
# New ports collection makefile for: OpenEXR
|
|
# Date created: 2003/01/26
|
|
# Whom: nork@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= OpenEXR
|
|
PORTVERSION= 1.0.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics devel
|
|
MASTER_SITES= http://www.openexr.com/downloads/
|
|
|
|
MAINTAINER= nork@FreeBSD.org
|
|
COMMENT= OpenEXR, a high dynamic-range (HDR) image file format developed by ILM
|
|
|
|
USE_LIBTOOL_VER=13
|
|
GNU_CONFIGURE= YES
|
|
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_LDFLAGS}
|
|
PLIST_SUB+= WITH_FLTK=
|
|
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
|
|
.else
|
|
CONFIGURE_ARGS+=--with-fltk-config=${FALSE} --without-x
|
|
PLIST_SUB+= WITH_FLTK="@comment "
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|