freebsd-ports/graphics/ilmbase/Makefile
Matthias Andree 8dc0682c36 graphics/ilmbase, graphics/openexr: security update to v2.5.3
ChangeLog:
https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.3

"Patch release with various bug/security fixes and build/install fixes, plus a performance optimization:

 * Various sanitizer/fuzz-identified issues related to handling of invalid input
 * Fixes to misc compiler warnings [...]
 * Read performance optimization (#782)
 * Fix for building on non-glibc (#798)
 * Fixes to tests"

The full name of shared libraries changed from *.25.0.1 to *.25.0.2
=> PORTREVISION bumps for all ports that use either ilmbase or openexr
coming up in separate commit to ease MFH.

All test builds of direct users succeeded on 12.1 amd64.

MFH:		2020Q3 (patchlevel update w/ security fixes)
Security:	b1d6b383-dd51-11ea-a688-7b12871ef3ad
2020-08-13 22:04:08 +00:00

55 lines
1.2 KiB
Makefile

# Created by: nork@FreeBSD.org
# $FreeBSD$
PORTNAME= ilmbase
PORTVERSION= 2.5.3
CATEGORIES= graphics devel
MAINTAINER= mandree@FreeBSD.org
COMMENT= ILM Base libraries a.k.a. Half, IlmThread, Imath, and Iex
LICENSE= BSD3CLAUSE
USES= cmake compiler:c++14-lang libtool pkgconfig
USE_GITHUB= yes
GH_TUPLE= AcademySoftwareFoundation:openexr:v${PORTVERSION}
USE_LDCONFIG= yes
CMAKE_ARGS+= --target \
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
install
WRKSRC_SUBDIR= IlmBase
PLIST_SUB= MAJORVER=${_MAJORVER} \
VER=${_VER} \
MINVER=${_MINVER} \
PLVER=${_PLVER}
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS LARGE_STACK
OPTIONS_SUB= yes
LARGE_STACK_DESC= Enable sys-dependent large stack optimizations
LARGE_STACK_CMAKE_BOOL= ILMBASE_ENABLE_LARGE_STACK
LARGE_STACK_CONFIGURE_ENABLE= large-stack
_MAJORVER= 2_5
_VER= 25
_MINVER= 0
_PLVER= 2
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libHalf-${_MAJORVER}.so
.for l in libHalf libIex libIexMath libImath libIlmThread
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${l}-${_MAJORVER}.so
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
do-test:
cd ${BUILD_WRKSRC} && ctest
.include <bsd.port.mk>