blob: 39466683f3438ee6f41c7955c399039fe7823301 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: nork@FreeBSD.org
# $FreeBSD$
PORTNAME= ilmbase
PORTVERSION= 1.0.3
CATEGORIES= graphics devel
MASTER_SITES= http://cloud.github.com/downloads/openexr/openexr/
MAINTAINER= nemysis@gmx.ch
COMMENT= ILM Base libraries a.k.a. Half, IlmThread, Imath, and Iex
LICENSE= BSD
CONFLICTS= OpenEXR-1.[0-4].*
USES= pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
PORTDOCS= AUTHORS ChangeLog README
OPTIONS_DEFINE= THREAD
OPTIONS_DEFAULT= THREAD
THREAD_DESC= Enable multithreaded file I/O support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTHREAD}
CONFIGURE_ARGS+=--enable-threading
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
.else
CONFIGURE_ARGS+=--disable-threading
.endif
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>
|