pkgsrc/graphics/pfstools/Makefile
rillig b686dd9180 all: migrate several HOMEPAGEs to https
pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
2020-01-18 23:30:43 +00:00

47 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.57 2020/01/18 23:32:17 rillig Exp $
DISTNAME= pfstools-2.1.0
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pfstools/}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pfstools.sourceforge.net/
COMMENT= Tools for manipulating HDR images and video frames
LICENSE= gnu-lgpl-v2.1
DEPENDS+= dcraw-[0-9]*:../../graphics/dcraw
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= bash perl pkg-config
PKGCONFIG_OVERRIDE+= src/pfs/pfs.pc.in
CMAKE_ARGS+= -DBASH_EXECUTABLE=${TOOLS_BASH}
CMAKE_ARGS+= -DPKGMANDIR=${PKGMANDIR}
CMAKE_ARGS+= -DWITH_MATLAB=OFF
CMAKE_ARGS+= -DWITH_OpenCV=OFF
CXXFLAGS+= -std=c++14 # OpenEXR
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_MESSAGE.paths= Fixing paths in CMake modules.
SUBST_FILES.paths= cmake/Find*.cmake
SUBST_SED.paths= -e 's,/usr/local,${PREFIX},g'
SUBST_CLASSES+= perl
SUBST_STAGE.perl= pre-configure
SUBST_MESSAGE.perl= Imprinting Perl path.
SUBST_FILES.perl= src/camera/pfsinhdrgen.in
SUBST_SED.perl= -e 's,@PERL_PATH@,${PERL5},g'
.include "options.mk"
.include "../../graphics/libexif/buildlink3.mk"
.include "../../graphics/netpbm/buildlink3.mk"
.include "../../graphics/openexr/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../math/fftwf/buildlink3.mk"
.include "../../math/gsl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"