freebsd-ports/graphics/dcp2icc/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00

41 lines
1.2 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= dcp2icc
PORTVERSION= 0.1
PORTREVISION= 4
CATEGORIES= graphics converters
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Version%20${PORTVERSION}
MAINTAINER= danfe@FreeBSD.org
COMMENT= DCP to ICC camera profile converter
LICENSE= GPLv2
LIB_DEPENDS= libexpat.so:textproc/expat2 \
liblcms.so:graphics/lcms
USES= localbase:ldflags scons tar:bzip2
USE_GCC= any # segfaults on exit when built with Clang
PLIST_FILES= bin/${PORTNAME}
post-extract:
@${UNZIP_NATIVE_CMD} -qo ${WRKSRC}/XMP-Toolkit-SDK-4.4.2.zip \
-d ${WRKSRC}
@${UNZIP_NATIVE_CMD} -qo ${WRKSRC}/dng_sdk_1_2.zip -d ${WRKSRC}
post-patch:
@${MV} -f ${WRKSRC}/fixes/XMP-Toolkit/XMPFiles.hpp \
${WRKSRC}/XMP-Toolkit-SDK-4.4.2/source/XMPFiles
@${MV} -f ${WRKSRC}/fixes/XMP-Toolkit/LargeFileAccess.hpp \
${WRKSRC}/XMP-Toolkit-SDK-4.4.2/source/common
@${MV} -f ${WRKSRC}/fixes/dng_sdk/dng_hue_sat_map.h \
${WRKSRC}/dng_sdk_1_2/dng_sdk/source
@${REINPLACE_CMD} -e '/mimetype/s,delete,&[],' \
${WRKSRC}/XMP-Toolkit-SDK-4.4.2/source/XMPFiles/FileHandlers/UCF_Handler.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>