blob: 5ac3b769e60d12554c35107dd14b3a5cc83e16ec (
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
47
48
49
50
51
|
# Created by: nork@FreeBSD.org
# $FreeBSD$
PORTNAME= ilmbase
PORTVERSION= 2.1.0
CATEGORIES= graphics devel
MASTER_SITES= SAVANNAH/openexr/
DISTNAME= ilmbase-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= ILM Base libraries a.k.a. Half, IlmThread, Imath, and Iex
LICENSE= BSD3CLAUSE
USES= cmake pkgconfig
USE_LDCONFIG= yes
PORTDOCS= AUTHORS ChangeLog README
OPTIONS_DEFINE= DOCS
OPTIONS_SUB= yes
THREAD_CONFIGURE_ENABLE= threading
MAJORVER= 2_1
VER= 11
PLIST_SUB= MAJORVER=${MAJORVER}
PLIST_SUB+= VER=${VER}
HALF_BIN= eLut toFloat
regression-test regression test check: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libHalf.so.${VER}
${RM} -f ${STAGEDIR}${PREFIX}/lib/*.la
.for l in libIex libIexMath libImath libIlmThread
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${l}-${MAJORVER}.so.${VER}
${LN} -s ${l}-${MAJORVER}.so.${VER} ${STAGEDIR}${PREFIX}/lib/${l}.so
.endfor
.for e in ${HALF_BIN}
${INSTALL_PROGRAM} ${WRKSRC}/Half/${e} ${STAGEDIR}${PREFIX}/bin/${e}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|