summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordrochner <drochner>2009-07-29 17:49:41 +0000
committerdrochner <drochner>2009-07-29 17:49:41 +0000
commit1deef273ae43e8c604dd6beb76797bb0eaf9b84a (patch)
tree50c6d13b04634c9b6a9d481080b40fe1e5adefca /graphics
parent7824524c049a8ff21cd59365bfb2ab908df12ee7 (diff)
downloadpkgsrc-1deef273ae43e8c604dd6beb76797bb0eaf9b84a.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')
-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"