pkgsrc/graphics/lensfun/Makefile

34 lines
912 B
Makefile
Raw Normal View History

2021-12-08 17:01:42 +01:00
# $NetBSD: Makefile,v 1.38 2021/12/08 16:02:11 adam Exp $
DISTNAME= lensfun-0.3.2
2021-12-08 17:01:42 +01:00
PKGREVISION= 4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lensfun/}
2013-03-01 15:34:38 +01:00
MAINTAINER= gdt@NetBSD.org
2019-04-29 18:32:38 +02:00
HOMEPAGE= https://lensfun.github.io/
COMMENT= Library for rectifying defects introduced by photographic equipment
LICENSE= gnu-lgpl-v3
USE_CMAKE= yes
USE_LANGUAGES= c c++03
2013-08-04 21:12:00 +02:00
USE_TOOLS+= gmake pkg-config gsed
REPLACE_SH= apps/g-lensfun-update-data
REPLACE_PYTHON+= apps/lensfun-add-adapter
REPLACE_PYTHON+= apps/lensfun-update-data
2013-08-04 21:12:00 +02:00
.include "../../mk/bsd.prefs.mk"
2021-05-30 14:12:29 +02:00
.if ${MACHINE_ARCH} != "x86_64"
CMAKE_ARGS+= -DBUILD_FOR_SSE=OFF
CMAKE_ARGS+= -DBUILD_FOR_SSE2=OFF
.endif
.include "../../devel/glib2/buildlink3.mk"
2013-08-04 21:12:00 +02:00
.include "../../devel/zlib/buildlink3.mk"
# png: for test programs only
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"