Changeset View
Changeset View
Standalone View
Standalone View
head/graphics/luminance-qt5/Makefile
# Created by: Yinghong Liu <relaxbsd@gmail.com> | # Created by: Yinghong Liu <relaxbsd@gmail.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= luminance-hdr | PORTNAME= luminance-hdr | ||||
DISTVERSION= 2.4.0 | DISTVERSION= 2.4.0 | ||||
PORTREVISION= 14 | PORTREVISION= 15 | ||||
CATEGORIES= graphics | CATEGORIES= graphics | ||||
MASTER_SITES= SF/qtpfsgui/luminance/${DISTVERSION} | MASTER_SITES= SF/qtpfsgui/luminance/${DISTVERSION} | ||||
PKGNAMESUFFIX= -qt5 | PKGNAMESUFFIX= -qt5 | ||||
MAINTAINER= h2+fbsdports@fsfe.org | MAINTAINER= h2+fbsdports@fsfe.org | ||||
COMMENT= Complete open source solution for HDR photography | COMMENT= Complete open source solution for HDR photography | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 | BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 | ||||
LIB_DEPENDS= libfftw3f.so:math/fftw3-float \ | LIB_DEPENDS= libfftw3f.so:math/fftw3-float \ | ||||
libexiv2.so:graphics/exiv2 \ | libexiv2.so:graphics/exiv2 \ | ||||
libIlmImf.so:graphics/OpenEXR \ | libIlmImf.so:graphics/OpenEXR \ | ||||
libtiff.so:graphics/tiff \ | libtiff.so:graphics/tiff \ | ||||
libgsl.so:math/gsl \ | libgsl.so:math/gsl \ | ||||
libraw_r.so:graphics/libraw \ | libraw_r.so:graphics/libraw \ | ||||
libboost_system.so:devel/boost-libs | libboost_system.so:devel/boost-libs | ||||
USES= cmake:outsource jpeg pkgconfig tar:bzip2 | USES= cmake:outsource jpeg pkgconfig tar:bzip2 | ||||
USE_QT5= concurrent declarative gui printsupport sql webkit xml \ | USE_QT5= concurrent gui printsupport sql webkit xml \ | ||||
buildtools_build linguist_build qmake_build \ | buildtools_build linguist_build qmake_build \ | ||||
imageformats_run | imageformats_run | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
MAKE_JOBS_UNSAFE=yes | MAKE_JOBS_UNSAFE=yes | ||||
CONFLICTS_INSTALL= luminance-hdr-[0-9]* | CONFLICTS_INSTALL= luminance-hdr-[0-9]* | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
post-patch: | post-patch: | ||||
# Remove the non-required dependency on Qt5 Declarative. This can be dropped | |||||
# once www/qt5-webengine lands in the portstree and this port can be updated to | |||||
# a version >= 2.5.0. | |||||
@${REINPLACE_CMD} -e '/Qt5Declarative/d' \ | |||||
${WRKSRC}/CMakeLists.txt | |||||
# Do not install yet another copy of GPL (we use license framework instead) | # Do not install yet another copy of GPL (we use license framework instead) | ||||
# and fix installation path for docs (but not for internal help files) | # and fix installation path for docs (but not for internal help files) | ||||
@${REINPLACE_CMD} -e '/LICENSE/d ; \ | @${REINPLACE_CMD} -e '/LICENSE/d ; \ | ||||
/#info files/s,share/luminance-hdr,${DOCSDIR_REL},' \ | /#info files/s,share/luminance-hdr,${DOCSDIR_REL},' \ | ||||
${WRKSRC}/CMakeLists.txt | ${WRKSRC}/CMakeLists.txt | ||||
# Point to the right location for program where to look for GPL text | # Point to the right location for program where to look for GPL text | ||||
@${REINPLACE_CMD} -e 's,LICENSE,${LICENSE}, ; \ | @${REINPLACE_CMD} -e 's,LICENSE,${LICENSE}, ; \ | ||||
s,share/doc/luminance-hdr,share/licenses/${PKGNAME},' \ | s,share/doc/luminance-hdr,share/licenses/${PKGNAME},' \ | ||||
Show All 12 Lines |