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
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hdr_tools
|
|
PORTVERSION= 0.0.2010.11.23 # unspecified by the author, so use the date
|
|
PORTREVISION= 3
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://ttic.uchicago.edu/~cotter/projects/hdr_tools/archives/ \
|
|
http://freebsd.nsu.ru/distfiles/
|
|
DISTNAME= hdr_src
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= Command-line tools for creating and manipulating HDR images
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libpopt.so:devel/popt \
|
|
libtiff.so:graphics/tiff \
|
|
libIlmImf.so:graphics/OpenEXR \
|
|
libMagick++-6.so:graphics/ImageMagick
|
|
|
|
USES= compiler:features gmake pkgconfig tar:tgz
|
|
NO_WRKSUBDIR= yes
|
|
|
|
PROGRAMS= hdr_adjust hdr_convert hdr_create hdr_denoise hdr_fix_ca \
|
|
hdr_squish
|
|
|
|
PLIST_FILES= ${PROGRAMS:S,^,bin/,}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${MACHINE_CPU:Msse2}
|
|
CXXFLAGS+= -msse2 -mfpmath=sse
|
|
.endif
|
|
|
|
.if ${COMPILER_FEATURES:Mopenmp}
|
|
CXXFLAGS+= -fopenmp
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,RGBColorspace,s&,' ${WRKSRC}/image.cc
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/,} \
|
|
${STAGEDIR}/${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|