1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/graphics/hdr_tools/Makefile
Koop Mast 289883b11b Update ImageMagick to 6.9.10.14 [1]
* Add PKGNAMESUFFIX and rename the directory. This was done to show
  that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.

Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.

Chase these changes in all the ports that using IM6.

PR:		225102 (based on, only the version update) [1]
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
2018-11-10 19:57:07 +00:00

48 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= 5
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/ImageMagick6
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>