2013-02-12 12:33:04 +01:00
|
|
|
# Created by: nork@FreeBSD.org
|
2007-10-06 20:36:51 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ilmbase
|
2013-01-17 04:19:42 +01:00
|
|
|
PORTVERSION= 1.0.3
|
2007-10-08 08:36:11 +02:00
|
|
|
CATEGORIES= graphics devel
|
2013-01-17 04:19:42 +01:00
|
|
|
MASTER_SITES= http://cloud.github.com/downloads/openexr/openexr/
|
2007-10-06 20:36:51 +02:00
|
|
|
|
2013-01-17 04:19:42 +01:00
|
|
|
MAINTAINER= nemysis@gmx.ch
|
2012-07-28 17:57:55 +02:00
|
|
|
COMMENT= ILM Base libraries a.k.a. Half, IlmThread, Imath, and Iex
|
2007-10-06 20:36:51 +02:00
|
|
|
|
2013-01-17 04:19:42 +01:00
|
|
|
LICENSE= BSD
|
2007-10-08 08:36:11 +02:00
|
|
|
|
2013-01-17 04:19:42 +01:00
|
|
|
CONFLICTS= OpenEXR-1.[0-4].*
|
2007-10-07 16:47:38 +02:00
|
|
|
|
2013-04-23 12:47:02 +02:00
|
|
|
USES= pkgconfig
|
2007-10-06 20:36:51 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2007-10-06 20:36:51 +02:00
|
|
|
|
2013-01-17 04:19:42 +01:00
|
|
|
PORTDOCS= AUTHORS ChangeLog README
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= THREAD
|
|
|
|
OPTIONS_DEFAULT= THREAD
|
|
|
|
THREAD_DESC= Enable multithreaded file I/O support
|
2007-10-07 16:47:38 +02:00
|
|
|
|
2013-09-20 20:35:44 +02:00
|
|
|
NO_STAGE= yes
|
2013-01-17 04:19:42 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2007-10-07 16:47:38 +02:00
|
|
|
|
2012-09-20 16:37:41 +02:00
|
|
|
.if ${PORT_OPTIONS:MTHREAD}
|
2013-01-17 04:19:42 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-threading
|
2007-10-06 20:36:51 +02:00
|
|
|
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
|
|
|
PTHREAD_LIBS="${PTHREAD_LIBS}"
|
2007-10-07 16:47:38 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-threading
|
|
|
|
.endif
|
2007-10-06 20:36:51 +02:00
|
|
|
|
2013-01-17 04:19:42 +01:00
|
|
|
regression-test regression test check: build
|
|
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|