2021-12-08 17:01:42 +01:00
|
|
|
# $NetBSD: Makefile,v 1.38 2021/12/08 16:02:11 adam Exp $
|
2009-07-09 21:44:50 +02:00
|
|
|
|
2015-12-27 13:31:53 +01:00
|
|
|
DISTNAME= lensfun-0.3.2
|
2021-12-08 17:01:42 +01:00
|
|
|
PKGREVISION= 4
|
2009-07-09 21:44:50 +02:00
|
|
|
CATEGORIES= graphics
|
2014-12-19 09:38:03 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lensfun/}
|
2009-07-09 21:44:50 +02:00
|
|
|
|
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/
|
2009-07-09 21:44:50 +02:00
|
|
|
COMMENT= Library for rectifying defects introduced by photographic equipment
|
|
|
|
LICENSE= gnu-lgpl-v3
|
|
|
|
|
2015-06-29 15:11:12 +02:00
|
|
|
USE_CMAKE= yes
|
2018-02-06 13:18:13 +01:00
|
|
|
USE_LANGUAGES= c c++03
|
2013-08-04 21:12:00 +02:00
|
|
|
USE_TOOLS+= gmake pkg-config gsed
|
2013-03-01 15:33:51 +01:00
|
|
|
|
2015-06-29 15:11:12 +02:00
|
|
|
REPLACE_SH= apps/g-lensfun-update-data
|
|
|
|
REPLACE_PYTHON+= apps/lensfun-add-adapter
|
|
|
|
REPLACE_PYTHON+= apps/lensfun-update-data
|
2009-07-09 21:44:50 +02:00
|
|
|
|
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
|
|
|
|
|
2009-07-09 21:44:50 +02:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2013-08-04 21:12:00 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2009-07-09 21:44:50 +02:00
|
|
|
# png: for test programs only
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|