1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/graphics/OpenEXR/Makefile
Norikatsu Shigemura 7d85d14fdb Utilize USE_GNOME=pkgconfig.
Bump PORTREVISION,

Submitted by:	pav
2004-12-23 13:06:27 +00:00

41 lines
930 B
Makefile

# New ports collection makefile for: OpenEXR
# Date created: 2003/01/26
# Whom: nork@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= OpenEXR
PORTVERSION= 1.2.1
PORTREVISION= 1
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_INC_LIBTOOL_VER=13
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_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>