aboutsummaryrefslogtreecommitdiff
path: root/graphics/OpenEXR/Makefile
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-01-26 12:39:22 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-01-26 12:39:22 +0000
commitd9f76ba721bdc90178d5797aa3877ea9f0585dfe (patch)
treec407fb6ff31551520d054cb8a525f30391cf9bc3 /graphics/OpenEXR/Makefile
parentc9ae3d4cd469536ca98f52b91c9d43baf4550e4b (diff)
downloadports-d9f76ba721bdc90178d5797aa3877ea9f0585dfe.tar.gz
ports-d9f76ba721bdc90178d5797aa3877ea9f0585dfe.zip
Notes
Diffstat (limited to 'graphics/OpenEXR/Makefile')
-rw-r--r--graphics/OpenEXR/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/graphics/OpenEXR/Makefile b/graphics/OpenEXR/Makefile
new file mode 100644
index 000000000000..cbb036976aa4
--- /dev/null
+++ b/graphics/OpenEXR/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: OpenEXR
+# Date created: 2003/01/26
+# Whom: nork@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= OpenEXR
+PORTVERSION= 1.0.4
+CATEGORIES= graphics devel
+MASTER_SITES= http://savannah.nongnu.org/download/openexr/${PORTNAME}.pkg/${PORTVERSION}/
+
+MAINTAINER= nork@FreeBSD.org
+
+USE_GCC= 3.1
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+
+#CONFIGURE_ENV+= --program-transform-name=''
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_X11)
+.if defined(WITH_FLTK) || defined(WITH_FLTK_XUNICODE)
+.if defined(WITH_FLTK_XUNICODE)
+BUILD_DEPENDS= fltk-config:${PORTSDIR}/x11-toolkits/fltk-xunicode
+.else
+BUILD_DEPENDS= fltk-config:${PORTSDIR}/x11-toolkits/fltk
+.endif
+USE_MESA= YES
+RUN_DEPENDS= ${BUILD_DEPENDS}
+CONFIGURE_ARGS+=--with-fltk-prefix=${X11BASE}
+CFLAGS+= ${PTHREAD_CFLAGS}
+LDFLAGS+= ${PTHREAD_LDFLAGS}
+PLIST_SUB+= WITH_FLTK=
+.if ${OSVERSION} < 500035
+pre-everything::
+ @${ECHO_CMD} Please install x11-toolkits/fltk* with USE_GCC=3.1.
+.endif
+.else
+CONFIGURE_ARGS+=--with-fltk-prefix=DUMMY
+PLIST_SUB+= WITH_FLTK=@comment
+.endif
+.else
+CONFIGURE_ARGS+=--without-x --with-fltk-prefix=DUMMY
+PLIST_SUB+= WITH_FLTK=@comment
+.endif
+
+.include <bsd.port.post.mk>