Lines 6-40
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= ilmbase |
8 |
PORTNAME= ilmbase |
9 |
PORTVERSION= 1.0.2 |
9 |
PORTVERSION= 1.0.3 |
10 |
CATEGORIES= graphics devel |
10 |
CATEGORIES= graphics devel |
11 |
MASTER_SITES= ${MASTER_SITE_SAVANNAH} |
11 |
MASTER_SITES= https://github.com/downloads/openexr/openexr/ |
12 |
MASTER_SITE_SUBDIR= openexr |
|
|
13 |
|
12 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= nemysis@gmx.ch |
15 |
COMMENT= ILM Base libraries a.k.a. Half, IlmThread, Imath, and Iex |
14 |
COMMENT= ILM Base libraries a.k.a. Half, IlmThread, Imath, and Iex |
16 |
|
15 |
|
17 |
CONFLICTS= OpenEXR-1.[0-4].* |
16 |
LICENSE= BSD |
18 |
|
17 |
|
19 |
OPTIONS_DEFINE= THREAD |
18 |
CONFLICTS= OpenEXR-1.[0-4].* |
20 |
OPTIONS_DEFAULT= THREAD |
|
|
21 |
THREAD_DESC= Enable multithreaded file I/O support |
22 |
|
19 |
|
|
|
20 |
FETCH_ARGS?= -Fpr |
23 |
USE_GNOME= pkgconfig |
21 |
USE_GNOME= pkgconfig |
24 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
25 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
26 |
USE_AUTOTOOLS= libtool |
24 |
USE_AUTOTOOLS= libtool |
27 |
|
25 |
|
28 |
regression-test regression test check: build |
26 |
PORTDOCS= AUTHORS ChangeLog README |
29 |
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) |
27 |
|
|
|
28 |
OPTIONS_DEFINE= THREAD |
29 |
OPTIONS_DEFAULT= THREAD |
30 |
THREAD_DESC= Enable multithreaded file I/O support |
30 |
|
31 |
|
31 |
.include <bsd.port.pre.mk> |
32 |
.include <bsd.port.options.mk> |
32 |
|
33 |
|
33 |
.if ${PORT_OPTIONS:MTHREAD} |
34 |
.if ${PORT_OPTIONS:MTHREAD} |
|
|
35 |
CONFIGURE_ARGS+=--enable-threading |
34 |
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ |
36 |
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ |
35 |
PTHREAD_LIBS="${PTHREAD_LIBS}" |
37 |
PTHREAD_LIBS="${PTHREAD_LIBS}" |
36 |
.else |
38 |
.else |
37 |
CONFIGURE_ARGS+=--disable-threading |
39 |
CONFIGURE_ARGS+=--disable-threading |
38 |
.endif |
40 |
.endif |
39 |
|
41 |
|
40 |
.include <bsd.port.post.mk> |
42 |
regression-test regression test check: build |
|
|
43 |
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) |
44 |
|
45 |
post-install: |
46 |
.if ${PORT_OPTIONS:MDOCS} |
47 |
${MKDIR} ${DOCSDIR} |
48 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} |
49 |
.endif |
50 |
|
51 |
.include <bsd.port.mk> |