04d6f52202
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 216707
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dcp2icc
|
|
PORTVERSION= 0.1
|
|
PORTREVISION= 3
|
|
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>
|