freebsd-ports/graphics/perceptualdiff/Makefile
Piotr Kubaj 0a0f66e4af graphics/perceptualdiff: fix build without libomp
CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile):
  Failed to generate test project build system.
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS)
  CMakeLists.txt:25 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
2023-03-14 19:03:55 +00:00

27 lines
489 B
Makefile

PORTNAME= perceptualdiff
PORTVERSION= 2.1
PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= graphics
MAINTAINER= ports@FreeBSD.org
COMMENT= Program that compares two images
WWW= https://github.com/myint/perceptualdiff
LICENSE= GPLv2
LIB_DEPENDS= libfreeimage.so:graphics/freeimage
PLIST_FILES= bin/perceptualdiff
USE_GITHUB= yes
GH_ACCOUNT= myint
USES= cmake
.if !exists(/usr/include/omp.h)
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler:c++0x
.endif
.include <bsd.port.mk>