summaryrefslogtreecommitdiff
path: root/graphics/gimp-ufraw
diff options
context:
space:
mode:
authordrochner <drochner>2009-07-29 17:49:41 +0000
committerdrochner <drochner>2009-07-29 17:49:41 +0000
commit1a55a953bfe54d4a12450b53ae4661176de98852 (patch)
tree50c6d13b04634c9b6a9d481080b40fe1e5adefca /graphics/gimp-ufraw
parenta3cd8c05f4eb69d659a7d4c672b7aec2e1a53867 (diff)
downloadpkgsrc-1a55a953bfe54d4a12450b53ae4661176de98852.tar.gz
odd an option to pull in "lensfun" to correct lens distortions;
this is experimental, thus off per default approved by gdt The Maintainer
Diffstat (limited to 'graphics/gimp-ufraw')
-rw-r--r--graphics/gimp-ufraw/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/graphics/gimp-ufraw/Makefile b/graphics/gimp-ufraw/Makefile
index 77076a464c3..96a2d4a0e10 100644
--- a/graphics/gimp-ufraw/Makefile
+++ b/graphics/gimp-ufraw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2009/07/22 09:01:32 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2009/07/29 17:49:41 drochner Exp $
DISTNAME= ufraw-0.15
PKGNAME= gimp-${DISTNAME}
@@ -28,6 +28,14 @@ PTHREAD_AUTO_VARS= yes
GCC_REQD+= 3.0
BUILDLINK_TRANSFORM+= rm:-std=gnu99
+PKG_OPTIONS_VAR= PKG_OPTIONS.ufraw
+PKG_SUPPORTED_OPTIONS= lensfun
+.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mlensfun)
+CONFIGURE_ARGS+= --with-lensfun
+.include "../../graphics/lensfun/buildlink3.mk"
+.endif
+
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../graphics/exiv2/buildlink3.mk"