summaryrefslogtreecommitdiff
path: root/graphics/openexr/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/openexr/Makefile.common')
-rw-r--r--graphics/openexr/Makefile.common36
1 files changed, 36 insertions, 0 deletions
diff --git a/graphics/openexr/Makefile.common b/graphics/openexr/Makefile.common
new file mode 100644
index 00000000000..3a91bcdf74b
--- /dev/null
+++ b/graphics/openexr/Makefile.common
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile.common,v 1.1 2019/09/21 21:34:44 nia Exp $
+# used by graphics/ilmbase/Makefile
+# used by graphics/opencv/Makefile
+
+DISTNAME= openexr-2.4.0
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=openexr/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= adam@NetBSD.org
+HOMEPAGE= https://www.openexr.com/
+COMMENT= High dynamic-range (HDR) image file format library and tools
+LICENSE= modified-bsd
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+USE_TOOLS+= autoconf automake aclocal
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c c++14
+USE_LIBTOOL= yes
+TEST_TARGET= check
+
+# C++14
+GCC_REQD+= 6
+
+LIBS.SunOS+= -lm
+
+PTHREAD_OPTS= require
+
+# Compatibility
+CONFIGURE_ARGS+= --disable-namespaceversioning
+
+BUILDLINK_TRANSFORM+= rm:-Wno-long-double
+
+CHECK_PORTABILITY_SKIP+= Contrib/DtexToExr/bootstrap
+
+.include "../../mk/pthread.buildlink3.mk"