mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
1fb0ae7cf9
While here, fix libIlmImfUtil_la_LDFLAGp so that when linking libIlmImfUtil, the locally built libIlmImf gets precedence over the one in /usr/local, to permit upgrades in a running system with the older version installed. This changes the library's SONAME, so bump PORTREVISION of all dependees. Unfortunately, this looks a bit too intrusive for an MFH to 2017Q4. Security: CVE-2017-9110 Security: CVE-2017-9111 Security: CVE-2017-9112 Security: CVE-2017-9113 Security: CVE-2017-9114 Security: CVE-2017-9115 Security: CVE-2017-9116 Security: 803879e9-4195-11e7-9b08-080027ef73ec
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# Created by: nork@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ilmbase
|
|
PORTVERSION= 2.2.1
|
|
CATEGORIES= graphics devel
|
|
MASTER_SITES= SAVANNAH/openexr/
|
|
DISTNAME= ilmbase-${PORTVERSION}
|
|
|
|
MAINTAINER= mandree@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_2
|
|
VER= 23
|
|
|
|
PLIST_SUB= MAJORVER=${MAJORVER}
|
|
PLIST_SUB+= VER=${VER}
|
|
|
|
HALF_BIN= eLut toFloat
|
|
|
|
regression-test regression test check: build
|
|
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libHalf.so.${VER}
|
|
${RM} ${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>
|